Simulate buffer usage in notification thread
[lttng-tools.git] / include / lttng / condition / condition-internal.h
index 1c8f100e91a700b1768d598fc8e62a2edd3428e2..652b4369cceeb8847fc66ccb19fc88b2c409a7f5 100644 (file)
@@ -21,6 +21,7 @@
 #include <lttng/condition/condition.h>
 #include <common/macros.h>
 #include <stdbool.h>
+#include <urcu/list.h>
 
 typedef void (*condition_destroy_cb)(struct lttng_condition *condition);
 typedef bool (*condition_validate_cb)(struct lttng_condition *condition);
@@ -32,6 +33,7 @@ struct lttng_condition {
        condition_validate_cb validate;
        condition_serialize_cb serialize;
        condition_destroy_cb destroy;
+       struct cds_list_head list_node;
 };
 
 struct lttng_condition_comm {
@@ -39,6 +41,10 @@ struct lttng_condition_comm {
        int8_t condition_type;
 };
 
+LTTNG_HIDDEN
+void lttng_condition_init(struct lttng_condition *condition,
+               enum lttng_condition_type type);
+
 LTTNG_HIDDEN
 bool lttng_condition_validate(struct lttng_condition *condition);
 
This page took 0.023995 seconds and 5 git commands to generate.