X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Futils%2Fcounter%2Fcounter.h;h=beed7ddc9bd47cac7e09254b4abfa1dc3c923142;hb=b19ff26f04df428047676dd736bd7cc9473906fe;hp=2c11fa335dbd0ff84e259f4b07f599d4bdc445ea;hpb=d94d92ac6656fd252a5d7bb4f6c76935ba18e62e;p=babeltrace.git diff --git a/plugins/utils/counter/counter.h b/plugins/utils/counter/counter.h index 2c11fa33..beed7ddc 100644 --- a/plugins/utils/counter/counter.h +++ b/plugins/utils/counter/counter.h @@ -29,7 +29,7 @@ #include struct counter { - struct bt_self_component_port_input_notification_iterator *notif_iter; + bt_self_component_port_input_notification_iterator *notif_iter; struct { uint64_t event; uint64_t stream_begin; @@ -47,19 +47,19 @@ struct counter { BT_HIDDEN enum bt_self_component_status counter_init( - struct bt_self_component_sink *component, - struct bt_value *params, void *init_method_data); + bt_self_component_sink *component, + const bt_value *params, void *init_method_data); BT_HIDDEN -void counter_finalize(struct bt_self_component_sink *component); +void counter_finalize(bt_self_component_sink *component); BT_HIDDEN enum bt_self_component_status counter_port_connected( - struct bt_self_component_sink *component, - struct bt_self_component_port_input *self_port, - struct bt_port_output *other_port); + bt_self_component_sink *component, + bt_self_component_port_input *self_port, + const bt_port_output *other_port); BT_HIDDEN -enum bt_self_component_status counter_consume(struct bt_self_component_sink *component); +enum bt_self_component_status counter_consume(bt_self_component_sink *component); #endif /* BABELTRACE_PLUGINS_UTILS_COUNTER_H */