lib: strictly type function return status enumerations
[babeltrace.git] / src / plugins / utils / counter / counter.h
index 4052736ecdddb03aa00491eb4ecb9c7afe5c2c57..3d8b8b6e1d2da0c0fb7a3f11bf50cfbf45fdd488 100644 (file)
@@ -48,10 +48,12 @@ struct counter {
        uint64_t at;
        uint64_t step;
        bool hide_zero;
+       bt_logging_level log_level;
+       bt_self_component *self_comp;
 };
 
 BT_HIDDEN
-bt_self_component_status counter_init(
+bt_component_class_init_method_status counter_init(
                bt_self_component_sink *component,
                const bt_value *params, void *init_method_data);
 
@@ -59,10 +61,10 @@ BT_HIDDEN
 void counter_finalize(bt_self_component_sink *component);
 
 BT_HIDDEN
-bt_self_component_status counter_graph_is_configured(
+bt_component_class_sink_graph_is_configured_method_status counter_graph_is_configured(
                bt_self_component_sink *component);
 
 BT_HIDDEN
-bt_self_component_status counter_consume(bt_self_component_sink *component);
+bt_component_class_sink_consume_method_status counter_consume(bt_self_component_sink *component);
 
 #endif /* BABELTRACE_PLUGINS_UTILS_COUNTER_H */
This page took 0.024028 seconds and 4 git commands to generate.