lib: use object pool for event and packet notifications
[babeltrace.git] / include / babeltrace / graph / private-port.h
index 2f0e49db6705864bac9976a218f4cbc24672c8e0..264de482f487887005a63dee9ed259ac7a9aba6a 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef BABELTRACE_COMPONENT_PRIVATE_PORT_H
-#define BABELTRACE_COMPONENT_PRIVATE_PORT_H
+#ifndef BABELTRACE_GRAPH_PRIVATE_PORT_H
+#define BABELTRACE_GRAPH_PRIVATE_PORT_H
 
 /*
  * Copyright 2017 Philippe Proulx <pproulx@efficios.com>
@@ -32,16 +32,19 @@ struct bt_private_port;
 struct bt_private_component;
 struct bt_private_connection;
 
-struct bt_port *bt_port_from_private_port(struct bt_private_port *private_port);
+struct bt_port *bt_port_borrow_from_private(
+               struct bt_private_port *private_port);
 extern struct bt_private_connection *bt_private_port_get_private_connection(
                struct bt_private_port *private_port);
 extern struct bt_private_component *bt_private_port_get_private_component(
                struct bt_private_port *private_port);
-extern int bt_private_port_remove_from_component(
+extern enum bt_port_status bt_private_port_remove_from_component(
+               struct bt_private_port *private_port);
+extern void *bt_private_port_get_user_data(
                struct bt_private_port *private_port);
 
 #ifdef __cplusplus
 }
 #endif
 
-#endif /* BABELTRACE_COMPONENT_PRIVATE_PORT_H */
+#endif /* BABELTRACE_GRAPH_PRIVATE_PORT_H */
This page took 0.026189 seconds and 4 git commands to generate.