lib: add sink component class's "graph is configured" method
[babeltrace.git] / plugins / utils / counter / counter.h
index beed7ddc9bd47cac7e09254b4abfa1dc3c923142..e4cbdde7885864d891215c4f433bed9f5c5c8666 100644 (file)
@@ -29,7 +29,7 @@
 #include <stdint.h>
 
 struct counter {
-       bt_self_component_port_input_notification_iterator *notif_iter;
+       bt_self_component_port_input_message_iterator *msg_iter;
        struct {
                uint64_t event;
                uint64_t stream_begin;
@@ -46,7 +46,7 @@ struct counter {
 };
 
 BT_HIDDEN
-enum bt_self_component_status counter_init(
+bt_self_component_status counter_init(
                bt_self_component_sink *component,
                const bt_value *params, void *init_method_data);
 
@@ -54,12 +54,10 @@ BT_HIDDEN
 void counter_finalize(bt_self_component_sink *component);
 
 BT_HIDDEN
-enum bt_self_component_status counter_port_connected(
-               bt_self_component_sink *component,
-               bt_self_component_port_input *self_port,
-               const bt_port_output *other_port);
+bt_self_component_status counter_graph_is_configured(
+               bt_self_component_sink *component);
 
 BT_HIDDEN
-enum bt_self_component_status counter_consume(bt_self_component_sink *component);
+bt_self_component_status counter_consume(bt_self_component_sink *component);
 
 #endif /* BABELTRACE_PLUGINS_UTILS_COUNTER_H */
This page took 0.024717 seconds and 4 git commands to generate.