Docs: document the lttng_action API
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 31 Jul 2017 18:07:59 +0000 (14:07 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 1 Aug 2017 21:08:32 +0000 (17:08 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/lttng/action/action.h

index 311f5a0fb2924872dde21c4e59df4998f3d075a4..4d07686687ef01d41121181f8025b9fb01a368ba 100644 (file)
@@ -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
This page took 0.025627 seconds and 4 git commands to generate.