*/
#include <stdint.h>
+
+/* For bt_bool */
#include <babeltrace/types.h>
#ifdef __cplusplus
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