liblttng-ctl: use export list to define exported symbols
[lttng-tools.git] / include / lttng / log-level-rule-internal.h
index f0ca63222cc7295b0d21d37aa207d3aad244d5a2..c17e590b7264fa26db4c8fc584d3a393e59975eb 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.
@@ -33,31 +35,29 @@ struct lttng_log_level_rule_comm {
        int32_t level;
 };
 
-LTTNG_HIDDEN
 ssize_t lttng_log_level_rule_create_from_payload(
                struct lttng_payload_view *view,
                struct lttng_log_level_rule **rule);
 
-LTTNG_HIDDEN
 int lttng_log_level_rule_serialize(const struct lttng_log_level_rule *rule,
                struct lttng_payload *payload);
 
-LTTNG_HIDDEN
 bool lttng_log_level_rule_is_equal(const struct lttng_log_level_rule *a,
                const struct lttng_log_level_rule *b);
 
-LTTNG_HIDDEN
 struct lttng_log_level_rule *lttng_log_level_rule_copy(
                const struct lttng_log_level_rule *source);
 
-LTTNG_HIDDEN
 void lttng_log_level_rule_to_loglevel(
                const struct lttng_log_level_rule *log_level_rule,
                enum lttng_loglevel_type *loglevel_type,
                int *loglevel_value);
 
-LTTNG_HIDDEN
 unsigned long lttng_log_level_rule_hash(
                const struct lttng_log_level_rule *log_level_rule);
 
+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.039434 seconds and 4 git commands to generate.