lib: add bt_{graph,query_executor}_add_interrupter()
[babeltrace.git] / include / babeltrace2 / func-status.h
index 3970be67e32621412b9aa3683fc0c358bd1c867f..78a2f0a473c13f37d27bc3acb443e18f16598a4b 100644 (file)
 # define __BT_FUNC_STATUS_MEMORY_ERROR         -12
 #endif
 
-/* Plugin loading error */
-#ifndef __BT_FUNC_STATUS_LOADING_ERROR
-# define __BT_FUNC_STATUS_LOADING_ERROR                -2
-#endif
-
 /* General error */
 #ifndef __BT_FUNC_STATUS_ERROR
 # define __BT_FUNC_STATUS_ERROR                        -1
 # 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
-
-/* Unsupported operation */
-#ifndef __BT_FUNC_STATUS_UNSUPPORTED
-# define __BT_FUNC_STATUS_UNSUPPORTED          95
-#endif
-
-/* Object is canceled */
-#ifndef __BT_FUNC_STATUS_CANCELED
-# define __BT_FUNC_STATUS_CANCELED             125
-#endif
This page took 0.024875 seconds and 4 git commands to generate.