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 20:50:52 +0000 (16:50 -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.032632 seconds and 4 git commands to generate.