lib: rename all `*_STATUS_OVERFLOW` -> `*_STATUS_OVERFLOW_ERROR`
[babeltrace.git] / include / babeltrace2 / func-status.h
index c817b38842a7fdad7fb5d188a17b588342abaa69..4f8e61a9ee5c80164f5a04f19871d8fb4e2ba96a 100644 (file)
  */
 
 /* Value is too large for the given data type */
-#ifndef __BT_FUNC_STATUS_OVERFLOW
-# define __BT_FUNC_STATUS_OVERFLOW             -75
-#endif
-
-/* Invalid query parameters */
-#ifndef __BT_FUNC_STATUS_INVALID_PARAMS
-# define __BT_FUNC_STATUS_INVALID_PARAMS       -24
+#ifndef __BT_FUNC_STATUS_OVERFLOW_ERROR
+# define __BT_FUNC_STATUS_OVERFLOW_ERROR       -75
 #endif
 
 /* Invalid query object */
 # define __BT_FUNC_STATUS_NOT_FOUND            2
 #endif
 
+/* Object is interrupted */
+#ifndef __BT_FUNC_STATUS_INTERRUPTED
+# define __BT_FUNC_STATUS_INTERRUPTED          4
+#endif
+
 /* Try operation again later */
 #ifndef __BT_FUNC_STATUS_AGAIN
 # define __BT_FUNC_STATUS_AGAIN                        11
 #endif
-
-/* Object is canceled */
-#ifndef __BT_FUNC_STATUS_CANCELED
-# define __BT_FUNC_STATUS_CANCELED             125
-#endif
This page took 0.024035 seconds and 4 git commands to generate.