lib: strictly type function return status enumerations
[babeltrace.git] / src / plugins / utils / counter / counter.h
index 81329090c8cf6f0c116d808c5c19032f3c7564bd..3d8b8b6e1d2da0c0fb7a3f11bf50cfbf45fdd488 100644 (file)
@@ -49,10 +49,11 @@ struct counter {
        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);
 
@@ -60,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.026099 seconds and 4 git commands to generate.