Notification iterator: generate automatic notifications when missing
[babeltrace.git] / include / babeltrace / graph / notification-iterator.h
index 56a2e0e0a44bbcaaf127251786b6ede277dcae2f..03b53ce8ee51e0d802fc3a3dfff738bdc044f66e 100644 (file)
@@ -41,20 +41,19 @@ struct bt_notification_iterator;
  */
 enum bt_notification_iterator_status {
        /** Try again. */
-       BT_NOTIFICATION_ITERATOR_STATUS_AGAIN = 2,
+       BT_NOTIFICATION_ITERATOR_STATUS_AGAIN = 11,
        /** No more notifications to be delivered. */
        BT_NOTIFICATION_ITERATOR_STATUS_END = 1,
        /** No error, okay. */
        BT_NOTIFICATION_ITERATOR_STATUS_OK = 0,
        /** Invalid arguments. */
-       BT_NOTIFICATION_ITERATOR_STATUS_INVAL = -1,
+       BT_NOTIFICATION_ITERATOR_STATUS_INVALID = -22,
        /** General error. */
-       BT_NOTIFICATION_ITERATOR_STATUS_ERROR = -2,
+       BT_NOTIFICATION_ITERATOR_STATUS_ERROR = -1,
        /** Out of memory. */
-       BT_NOTIFICATION_ITERATOR_STATUS_NOMEM = -3,
+       BT_NOTIFICATION_ITERATOR_STATUS_NOMEM = -12,
        /** Unsupported iterator feature. */
-       BT_NOTIFICATION_ITERATOR_STATUS_UNSUPPORTED = -4,
-
+       BT_NOTIFICATION_ITERATOR_STATUS_UNSUPPORTED = -2,
 };
 
 /**
This page took 0.030034 seconds and 4 git commands to generate.