X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Futils%2Fmuxer%2Fmuxer.h;h=1e706c0a0dc2c65683bd25a8ba1a792492a22d43;hb=4725a2013cb518374822ccb490610b45f74dbdbf;hp=9949cbcbd31814b8b96ee63c224fd5cf9a334a87;hpb=d94d92ac6656fd252a5d7bb4f6c76935ba18e62e;p=babeltrace.git diff --git a/plugins/utils/muxer/muxer.h b/plugins/utils/muxer/muxer.h index 9949cbcb..1e706c0a 100644 --- a/plugins/utils/muxer/muxer.h +++ b/plugins/utils/muxer/muxer.h @@ -29,38 +29,33 @@ #include BT_HIDDEN -enum bt_self_component_status muxer_init( - struct bt_self_component_filter *self_comp, - struct bt_value *params, void *init_data); +bt_self_component_status muxer_init( + bt_self_component_filter *self_comp, + const bt_value *params, void *init_data); BT_HIDDEN -void muxer_finalize(struct bt_self_component_filter *self_comp); +void muxer_finalize(bt_self_component_filter *self_comp); BT_HIDDEN -enum bt_self_notification_iterator_status muxer_notif_iter_init( - struct bt_self_notification_iterator *self_notif_iter, - struct bt_self_component_filter *self_comp, - struct bt_self_component_port_output *self_port); +bt_self_message_iterator_status muxer_msg_iter_init( + bt_self_message_iterator *self_msg_iter, + bt_self_component_filter *self_comp, + bt_self_component_port_output *self_port); BT_HIDDEN -void muxer_notif_iter_finalize( - struct bt_self_notification_iterator *self_notif_iter); +void muxer_msg_iter_finalize( + bt_self_message_iterator *self_msg_iter); BT_HIDDEN -enum bt_self_notification_iterator_status muxer_notif_iter_next( - struct bt_self_notification_iterator *self_notif_iter, - bt_notification_array notifs, uint64_t capacity, +bt_self_message_iterator_status muxer_msg_iter_next( + bt_self_message_iterator *self_msg_iter, + bt_message_array_const msgs, uint64_t capacity, uint64_t *count); BT_HIDDEN -enum bt_self_component_status muxer_input_port_connected( - struct bt_self_component_filter *comp, - struct bt_self_component_port_input *self_port, - struct bt_port_output *other_port); - -BT_HIDDEN -void muxer_input_port_disconnected( - struct bt_self_component_filter *self_component, - struct bt_self_component_port_input *self_port); +bt_self_component_status muxer_input_port_connected( + bt_self_component_filter *comp, + bt_self_component_port_input *self_port, + const bt_port_output *other_port); #endif /* BABELTRACE_PLUGINS_UTILS_MUXER_H */