2 * SPDX-License-Identifier: MIT
4 * Copyright (C) 2010-2019 EfficiOS Inc. and Linux Foundation
8 * No include guards here: it is safe to include this file multiple
12 #ifndef __BT_IN_BABELTRACE_H
13 # error "Please include <babeltrace2/babeltrace.h> instead."
17 * This is NOT part of the API.
19 * Do NOT use a `__BT_FUNC_STATUS_*` value in user code: this inhibits
20 * precious type checking.
23 /* Value is too large for the given data type */
24 #ifndef __BT_FUNC_STATUS_OVERFLOW_ERROR
25 # define __BT_FUNC_STATUS_OVERFLOW_ERROR -75
28 /* Memory allocation error */
29 #ifndef __BT_FUNC_STATUS_MEMORY_ERROR
30 # define __BT_FUNC_STATUS_MEMORY_ERROR -12
33 /* User function error */
34 #ifndef __BT_FUNC_STATUS_USER_ERROR
35 # define __BT_FUNC_STATUS_USER_ERROR -2
39 #ifndef __BT_FUNC_STATUS_ERROR
40 # define __BT_FUNC_STATUS_ERROR -1
44 #ifndef __BT_FUNC_STATUS_OK
45 # define __BT_FUNC_STATUS_OK 0
48 /* End of iteration/consumption */
49 #ifndef __BT_FUNC_STATUS_END
50 # define __BT_FUNC_STATUS_END 1
53 /* Something can't be found */
54 #ifndef __BT_FUNC_STATUS_NOT_FOUND
55 # define __BT_FUNC_STATUS_NOT_FOUND 2
58 /* Object is interrupted */
59 #ifndef __BT_FUNC_STATUS_INTERRUPTED
60 # define __BT_FUNC_STATUS_INTERRUPTED 4
64 #ifndef __BT_FUNC_STATUS_NO_MATCH
65 # define __BT_FUNC_STATUS_NO_MATCH 6
68 /* Try operation again later */
69 #ifndef __BT_FUNC_STATUS_AGAIN
70 # define __BT_FUNC_STATUS_AGAIN 11
73 /* Unknown query object */
74 #ifndef __BT_FUNC_STATUS_UNKNOWN_OBJECT
75 # define __BT_FUNC_STATUS_UNKNOWN_OBJECT 42
This page took 0.030479 seconds and 4 git commands to generate.