lib: add internal object pool API and use it; adapt plugins/tests
[babeltrace.git] / include / babeltrace / graph / port.h
index ebe33e556499696fead64aa5b964daedb7d52e87..63b057a496d4808e61dab4e6fc9d80e573718fc5 100644 (file)
@@ -28,6 +28,8 @@
  */
 
 #include <stdint.h>
+
+/* For bt_bool */
 #include <babeltrace/types.h>
 
 #ifdef __cplusplus
@@ -53,7 +55,7 @@ extern const char *bt_port_get_name(struct bt_port *port);
 extern enum bt_port_type bt_port_get_type(struct bt_port *port);
 extern struct bt_connection *bt_port_get_connection(struct bt_port *port);
 extern struct bt_component *bt_port_get_component(struct bt_port *port);
-extern int bt_port_disconnect(struct bt_port *port);
+extern enum bt_port_status bt_port_disconnect(struct bt_port *port);
 extern bt_bool bt_port_is_connected(struct bt_port *port);
 
 static inline
This page took 0.025275 seconds and 4 git commands to generate.