*/
#include <stdint.h>
-#include <stdbool.h>
+#include <babeltrace/types.h>
#ifdef __cplusplus
extern "C" {
extern int bt_port_is_connected(struct bt_port *port);
static inline
-bool bt_port_is_input(struct bt_port *port)
+bt_bool bt_port_is_input(struct bt_port *port)
{
return bt_port_get_type(port) == BT_PORT_TYPE_INPUT;
}
static inline
-bool bt_port_is_output(struct bt_port *port)
+bt_bool bt_port_is_output(struct bt_port *port)
{
return bt_port_get_type(port) == BT_PORT_TYPE_OUTPUT;
}