X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fgraph.h;fp=include%2Fbabeltrace%2Fgraph%2Fgraph.h;h=594db3e8494a3c3720d854e17a041ef6cc333ba4;hb=4a6b963eb0e4e9545deacfc74d81d3b9f96f060f;hp=b89aaa82b57d03b28c13318707cc4f78aacfd452;hpb=7cdc2bab17acd56d035b204518ef845fa5a9f1c7;p=babeltrace.git diff --git a/include/babeltrace/graph/graph.h b/include/babeltrace/graph/graph.h index b89aaa82..594db3e8 100644 --- a/include/babeltrace/graph/graph.h +++ b/include/babeltrace/graph/graph.h @@ -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,