Implement ctf fs iterator functions
[babeltrace.git] / include / babeltrace / plugin / notification / iterator.h
index 5558aa7f74c2dbde62831649b7f42222e601ba13..55de0ea07f30eed1ff4202a7dc6b972cd4083086 100644 (file)
@@ -40,21 +40,15 @@ struct bt_notification_iterator;
  * Status code. Errors are always negative.
  */
 enum bt_notification_iterator_status {
+       /** No error, okay. */
+       BT_NOTIFICATION_ITERATOR_STATUS_OK = 0,
        /** Invalid arguments. */
-       /* -22 for compatibility with -EINVAL */
-       BT_NOTIFICATION_ITERATOR_STATUS_INVAL = -22,
-
-       /** End of trace. */
-       BT_NOTIFICATION_ITERATOR_STATUS_EOT = -3,
-
+       BT_NOTIFICATION_ITERATOR_STATUS_INVAL = -1,
        /** General error. */
        BT_NOTIFICATION_ITERATOR_STATUS_ERROR = -2,
-
        /** Unsupported iterator feature. */
-       BT_NOTIFICATION_ITERATOR_STATUS_UNSUPPORTED = -1,
+       BT_NOTIFICATION_ITERATOR_STATUS_UNSUPPORTED = -3,
 
-       /** No error, okay. */
-       BT_NOTIFICATION_ITERATOR_STATUS_OK = 0,
 };
 
 /**
This page took 0.025441 seconds and 4 git commands to generate.