Split notification iterator API into base and specialized functions
[babeltrace.git] / include / babeltrace / graph / graph-internal.h
index 1e8b1b79ab3407671b39848e4b1d4baa89f119be..7fdca46ae8cdfb105ad7b30cd3188c95f9c36045 100644 (file)
@@ -59,6 +59,8 @@ struct bt_graph {
 
        bt_bool canceled;
        bt_bool in_remove_listener;
+       bt_bool has_sink;
+       bt_bool can_consume;
 
        struct {
                GArray *port_added;
@@ -112,6 +114,8 @@ const char *bt_graph_status_string(enum bt_graph_status status)
                return "BT_GRAPH_STATUS_COMPONENT_REFUSES_PORT_CONNECTION";
        case BT_GRAPH_STATUS_NOMEM:
                return "BT_GRAPH_STATUS_NOMEM";
+       case BT_GRAPH_STATUS_CANNOT_CONSUME:
+               return "BT_GRAPH_STATUS_CANNOT_CONSUME";
        default:
                return "(unknown)";
        }
This page took 0.023947 seconds and 4 git commands to generate.