MI: implement all objects related to trigger machine interface
[lttng-tools.git] / include / lttng / log-level-rule-internal.h
index f0ca63222cc7295b0d21d37aa207d3aad244d5a2..f3b2a1c2a16b8ff3851fa15f2de8b321efef5544 100644 (file)
@@ -18,6 +18,8 @@
 #include <lttng/event.h>
 #include <lttng/log-level-rule.h>
 
+struct mi_writer;
+
 /*
  * For now only a single backing struct is used for both type of log level
  * rule (exactly, as_severe) since both only have require "level" as property.
@@ -60,4 +62,9 @@ LTTNG_HIDDEN
 unsigned long lttng_log_level_rule_hash(
                const struct lttng_log_level_rule *log_level_rule);
 
+LTTNG_HIDDEN
+enum lttng_error_code lttng_log_level_rule_mi_serialize(
+               const struct lttng_log_level_rule *rule,
+               struct mi_writer *writer);
+
 #endif /* LTTNG_LOG_LEVEL_RULE_INTERNAL_H */
This page took 0.02321 seconds and 4 git commands to generate.