Docs: document the lttng_condition API
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 1 Aug 2017 16:25:57 +0000 (12:25 -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/condition/condition.h

index 38a071e63472b111c896aec51fc88365e34ac011..71762ab017e0e9396530ff9e515d7447193e6e81 100644 (file)
@@ -40,9 +40,18 @@ enum lttng_condition_status {
        LTTNG_CONDITION_STATUS_UNSET = -4,
 };
 
+/*
+ * Get the type of a condition.
+ *
+ * Returns the type of a condition on success, LTTNG_CONDITION_TYPE_UNKNOWN on
+ * error.
+ */
 extern enum lttng_condition_type lttng_condition_get_type(
                const struct lttng_condition *condition);
 
+/*
+ * Destroy (frees) a condition object.
+ */
 extern void lttng_condition_destroy(struct lttng_condition *condition);
 
 #ifdef __cplusplus
This page took 0.025961 seconds and 4 git commands to generate.