lib: make the "port connected" method return a status
[babeltrace.git] / plugins / utils / muxer / muxer.h
index b7e05ba3a0af84081c887e434e55b3f06719988b..a55642dc9cce81c57617793c4d55e24e4436c3cc 100644 (file)
@@ -24,6 +24,7 @@
  * SOFTWARE.
  */
 
+#include <stdint.h>
 #include <babeltrace/babeltrace-internal.h>
 
 BT_HIDDEN
@@ -45,11 +46,13 @@ void muxer_notif_iter_finalize(
                struct bt_private_connection_private_notification_iterator *priv_notif_iter);
 
 BT_HIDDEN
-struct bt_notification_iterator_next_method_return muxer_notif_iter_next(
-               struct bt_private_connection_private_notification_iterator *priv_notif_iter);
+enum bt_notification_iterator_status muxer_notif_iter_next(
+               struct bt_private_connection_private_notification_iterator *priv_notif_iter,
+               bt_notification_array notifs, uint64_t capacity,
+               uint64_t *count);
 
 BT_HIDDEN
-void muxer_port_connected(
+enum bt_component_status muxer_port_connected(
                struct bt_private_component *priv_comp,
                struct bt_private_port *self_private_port,
                struct bt_port *other_port);
This page took 0.024851 seconds and 4 git commands to generate.