Move 'struct lttng_enabler' to private headers
[lttng-ust.git] / liblttng-ust / ust-events-internal.h
index e46a8b7cd25932264dc3b43ac09c908499a4ab2a..1305a61f6c5925c1b654995771a4f09901b74e90 100644 (file)
 #include <ust-helper.h>
 #include <lttng/ust-events.h>
 
+enum lttng_enabler_format_type {
+       LTTNG_ENABLER_FORMAT_STAR_GLOB,
+       LTTNG_ENABLER_FORMAT_EVENT,
+};
+
+/*
+ * Enabler field, within whatever object is enabling an event. Target of
+ * backward reference.
+ */
+struct lttng_enabler {
+       enum lttng_enabler_format_type format_type;
+
+       /* head list of struct lttng_ust_filter_bytecode_node */
+       struct cds_list_head filter_bytecode_head;
+       /* head list of struct lttng_ust_excluder_node */
+       struct cds_list_head excluder_head;
+
+       struct lttng_ust_event event_param;
+       unsigned int enabled:1;
+};
+
 struct lttng_event_enabler {
        struct lttng_enabler base;
        struct cds_list_head node;      /* per-session list of enablers */
This page took 0.02279 seconds and 4 git commands to generate.