X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Futils%2Fmuxer%2Fmuxer.h;h=1e706c0a0dc2c65683bd25a8ba1a792492a22d43;hb=4725a2013cb518374822ccb490610b45f74dbdbf;hp=be11ba4572511c012833672ef504396c4b545b8c;hpb=958f7d11c42386032407496d346a0fedf77d6950;p=babeltrace.git diff --git a/plugins/utils/muxer/muxer.h b/plugins/utils/muxer/muxer.h index be11ba45..1e706c0a 100644 --- a/plugins/utils/muxer/muxer.h +++ b/plugins/utils/muxer/muxer.h @@ -24,39 +24,38 @@ * SOFTWARE. */ +#include +#include #include BT_HIDDEN -enum bt_component_status muxer_init( - struct bt_private_component *priv_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_private_component *priv_comp); +void muxer_finalize(bt_self_component_filter *self_comp); BT_HIDDEN -enum bt_notification_iterator_status muxer_notif_iter_init( - struct bt_private_notification_iterator *priv_notif_iter, - struct bt_private_port *priv_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_private_notification_iterator *priv_notif_iter); +void muxer_msg_iter_finalize( + bt_self_message_iterator *self_msg_iter); BT_HIDDEN -struct bt_notification_iterator_next_return muxer_notif_iter_next( - struct bt_private_notification_iterator *priv_notif_iter); +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 -void muxer_port_connected( - struct bt_private_component *priv_comp, - struct bt_private_port *self_private_port, - struct bt_port *other_port); - -BT_HIDDEN -void muxer_port_disconnected( - struct bt_private_component *priv_comp, - struct bt_private_port *priv_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 */