+typedef enum bt_graph_run_status {
+ BT_GRAPH_RUN_STATUS_OK = __BT_FUNC_STATUS_OK,
+ BT_GRAPH_RUN_STATUS_ERROR = __BT_FUNC_STATUS_ERROR,
+ BT_GRAPH_RUN_STATUS_MEMORY_ERROR = __BT_FUNC_STATUS_MEMORY_ERROR,
+ BT_GRAPH_RUN_STATUS_AGAIN = __BT_FUNC_STATUS_AGAIN,
+ BT_GRAPH_RUN_STATUS_END = __BT_FUNC_STATUS_END,
+} bt_graph_run_status;
+
+extern bt_graph_run_status bt_graph_run(bt_graph *graph);
+
+typedef enum bt_graph_run_once_status {
+ BT_GRAPH_RUN_ONCE_STATUS_OK = __BT_FUNC_STATUS_OK,
+ BT_GRAPH_RUN_ONCE_STATUS_ERROR = __BT_FUNC_STATUS_ERROR,
+ BT_GRAPH_RUN_ONCE_STATUS_MEMORY_ERROR = __BT_FUNC_STATUS_MEMORY_ERROR,
+ BT_GRAPH_RUN_ONCE_STATUS_AGAIN = __BT_FUNC_STATUS_AGAIN,
+ BT_GRAPH_RUN_ONCE_STATUS_END = __BT_FUNC_STATUS_END,
+} bt_graph_run_once_status;
+
+extern bt_graph_run_once_status bt_graph_run_once(bt_graph *graph);
+
+typedef enum bt_graph_add_listener_status {
+ BT_GRAPH_ADD_LISTENER_STATUS_OK = __BT_FUNC_STATUS_OK,
+ BT_GRAPH_ADD_LISTENER_STATUS_MEMORY_ERROR = __BT_FUNC_STATUS_MEMORY_ERROR,
+} bt_graph_add_listener_status;
+
+extern bt_graph_add_listener_status
+bt_graph_add_filter_component_input_port_added_listener(