lib: use object pool for event and packet notifications
[babeltrace.git] / include / babeltrace / graph / private-connection.h
index ea44d932481f1fec2243a7b41a04d8a4250e4a87..c3692361264b6d33098f905a5a232acc3247ed8c 100644 (file)
  * SOFTWARE.
  */
 
-#include <babeltrace/graph/connection.h>
+/* For enum bt_notification_type */
 #include <babeltrace/graph/notification.h>
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
+struct bt_notification;
 struct bt_connection;
 struct bt_private_port;
 struct bt_private_connection;
+struct bt_notification_iterator;
 
-struct bt_connection *bt_connection_from_private_connection(
+extern struct bt_connection *bt_connection_borrow_from_private(
                struct bt_private_connection *private_connection);
 
 extern enum bt_connection_status
 bt_private_connection_create_notification_iterator(
                struct bt_private_connection *private_connection,
-               const enum bt_notification_type *notification_types,
                struct bt_notification_iterator **iterator);
 
 #ifdef __cplusplus
This page took 0.026331 seconds and 4 git commands to generate.