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

index bc3a4d498786af7a2caad352724c82a0adc5f16e..6cd0e1899d4dcb032395557487ffc0b83bdad7a3 100644 (file)
@@ -34,9 +34,18 @@ enum lttng_evaluation_status {
        LTTNG_EVALUATION_STATUS_UNSET = -4,
 };
 
+/*
+ * Get the condition type associated with an evaluation.
+ *
+ * Returns the type of a condition on success, LTTNG_CONDITION_TYPE_UNKNOWN on
+ * error.
+ */
 extern enum lttng_condition_type lttng_evaluation_get_type(
                const struct lttng_evaluation *evaluation);
 
+/*
+ * Destroy (frees) an evaluation object.
+ */
 extern void lttng_evaluation_destroy(struct lttng_evaluation *evaluation);
 
 #ifdef __cplusplus
This page took 0.027901 seconds and 5 git commands to generate.