From: Jérémie Galarneau Date: Mon, 31 Jul 2017 18:07:59 +0000 (-0400) Subject: Docs: document the lttng_action API X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=e6de708a1e089f7f87be625bd703ff7309939739 Docs: document the lttng_action API Signed-off-by: Jérémie Galarneau --- diff --git a/include/lttng/action/action.h b/include/lttng/action/action.h index 311f5a0fb..4d0768668 100644 --- a/include/lttng/action/action.h +++ b/include/lttng/action/action.h @@ -29,9 +29,17 @@ enum lttng_action_type { LTTNG_ACTION_TYPE_NOTIFY = 0, }; +/* + * Get the type of an action. + * + * Returns the type of an action on success, LTTNG_ACTION_TYPE_UNKNOWN on error. + */ extern enum lttng_action_type lttng_action_get_type( struct lttng_action *action); +/* + * Destroy (frees) an action object. + */ extern void lttng_action_destroy(struct lttng_action *action); #ifdef __cplusplus