BT_GRAPH_STATUS_CANCELED is not an error, thus use a positive value
[babeltrace.git] / include / babeltrace / graph / graph.h
index b89aaa82b57d03b28c13318707cc4f78aacfd452..594db3e8494a3c3720d854e17a041ef6cc333ba4 100644 (file)
@@ -38,6 +38,8 @@ struct bt_port;
 struct bt_connection;
 
 enum bt_graph_status {
+       /** Canceled. */
+       BT_GRAPH_STATUS_CANCELED = 125,
        /** No sink can consume at the moment. */
        BT_GRAPH_STATUS_AGAIN = 11,
        /** Downstream component does not support multiple inputs. */
@@ -51,8 +53,6 @@ enum bt_graph_status {
        BT_GRAPH_STATUS_NO_SINK = -6,
        /** General error. */
        BT_GRAPH_STATUS_ERROR = -1,
-       /** Canceled. */
-       BT_GRAPH_STATUS_CANCELED = -125,
 };
 
 typedef void (*bt_graph_port_added_listener)(struct bt_port *port,
This page took 0.02333 seconds and 4 git commands to generate.