From a6d9b795a52f71e0a031c0b58798f88a971c6737 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Tue, 1 Aug 2017 12:25:57 -0400 Subject: [PATCH] Docs: document the lttng_condition API MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- include/lttng/condition/condition.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/lttng/condition/condition.h b/include/lttng/condition/condition.h index 38a071e63..71762ab01 100644 --- a/include/lttng/condition/condition.h +++ b/include/lttng/condition/condition.h @@ -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 -- 2.34.1