Use the same values for different status codes
[babeltrace.git] / include / babeltrace / graph / graph.h
index 884ba5f1c52c6cd6fd14ac2e18a930abf359f33b..07ff3939727224477a619f45fa7c9dabb73edc84 100644 (file)
@@ -38,20 +38,18 @@ struct bt_connection;
 
 enum bt_graph_status {
        /** No sink can consume at the moment. */
-       BT_GRAPH_STATUS_AGAIN = 2,
+       BT_GRAPH_STATUS_AGAIN = 11,
        /** Downstream component does not support multiple inputs. */
        BT_GRAPH_STATUS_END = 1,
        BT_GRAPH_STATUS_OK = 0,
-       /** Downstream component does not support multiple inputs. */
-       BT_GRAPH_STATUS_MULTIPLE_INPUTS_UNSUPPORTED = -1,
        /** Component is already part of another graph. */
        BT_GRAPH_STATUS_ALREADY_IN_A_GRAPH = -2,
        /** Invalid arguments. */
-       BT_GRAPH_STATUS_INVALID = -3,
+       BT_GRAPH_STATUS_INVALID = -22,
        /** No sink in graph. */
-       BT_GRAPH_STATUS_NO_SINK = -4,
+       BT_GRAPH_STATUS_NO_SINK = -6,
        /** General error. */
-       BT_GRAPH_STATUS_ERROR = -5,
+       BT_GRAPH_STATUS_ERROR = -1,
 };
 
 typedef void (*bt_graph_port_added_listener)(struct bt_port *port,
This page took 0.025838 seconds and 4 git commands to generate.