projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: make bt_value_map_foreach_entry_{const_}func() return a status code
[babeltrace.git]
/
include
/
babeltrace2
/
func-status.h
diff --git
a/include/babeltrace2/func-status.h
b/include/babeltrace2/func-status.h
index 75cee213e689fe83ed719bb30a204558974a7e16..444b219ec2228433fbc754172ea5aa70f1f0f508 100644
(file)
--- a/
include/babeltrace2/func-status.h
+++ b/
include/babeltrace2/func-status.h
@@
-47,6
+47,11
@@
# define __BT_FUNC_STATUS_MEMORY_ERROR -12
#endif
# define __BT_FUNC_STATUS_MEMORY_ERROR -12
#endif
+/* User function error */
+#ifndef __BT_FUNC_STATUS_USER_ERROR
+# define __BT_FUNC_STATUS_USER_ERROR -2
+#endif
+
/* General error */
#ifndef __BT_FUNC_STATUS_ERROR
# define __BT_FUNC_STATUS_ERROR -1
/* General error */
#ifndef __BT_FUNC_STATUS_ERROR
# define __BT_FUNC_STATUS_ERROR -1
@@
-72,6
+77,11
@@
# define __BT_FUNC_STATUS_INTERRUPTED 4
#endif
# define __BT_FUNC_STATUS_INTERRUPTED 4
#endif
+/* No match found */
+#ifndef __BT_FUNC_STATUS_NO_MATCH
+# define __BT_FUNC_STATUS_NO_MATCH 6
+#endif
+
/* Try operation again later */
#ifndef __BT_FUNC_STATUS_AGAIN
# define __BT_FUNC_STATUS_AGAIN 11
/* Try operation again later */
#ifndef __BT_FUNC_STATUS_AGAIN
# define __BT_FUNC_STATUS_AGAIN 11
This page took
0.02395 seconds
and
4
git commands to generate.