Move event-expr-to-bytecode to event-expr
[lttng-tools.git] / include / lttng / event-expr-internal.h
index 88fa695de9d154882e9a8d44ed5d9865594126df..048aaff18665b3a73de50ca38829a4f504442e7a 100644 (file)
@@ -9,8 +9,11 @@
 #define LTTNG_EVENT_EXPR_INTERNAL_H
 
 #include <assert.h>
+#include <common/macros.h>
 #include <lttng/event-expr.h>
 
+struct lttng_bytecode;
+
 struct lttng_event_expr {
        enum lttng_event_expr_type type;
 };
@@ -54,4 +57,8 @@ bool lttng_event_expr_is_lvalue(const struct lttng_event_expr *expr)
                        expr->type == LTTNG_EVENT_EXPR_TYPE_ARRAY_FIELD_ELEMENT;
 }
 
+LTTNG_HIDDEN
+int lttng_event_expr_to_bytecode(const struct lttng_event_expr *expr,
+               struct lttng_bytecode **bytecode_out);
+
 #endif /* LTTNG_EVENT_EXPR_INTERNAL_H */
This page took 0.024509 seconds and 4 git commands to generate.