X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Ffunc-status.h;h=0f1829af8e7e17fcba6d1c1755ad0665371498dd;hb=d29378b187afb5aa5ef1086cf8d96562e3681c32;hp=78a2f0a473c13f37d27bc3acb443e18f16598a4b;hpb=9b4f9b425f2efce9a6ccc25f7ae062ebc1116a7d;p=babeltrace.git diff --git a/include/babeltrace2/func-status.h b/include/babeltrace2/func-status.h index 78a2f0a4..0f1829af 100644 --- a/include/babeltrace2/func-status.h +++ b/include/babeltrace2/func-status.h @@ -37,19 +37,10 @@ */ /* Value is too large for the given data type */ -#ifndef __BT_FUNC_STATUS_OVERFLOW -# define __BT_FUNC_STATUS_OVERFLOW -75 +#ifndef __BT_FUNC_STATUS_OVERFLOW_ERROR +# define __BT_FUNC_STATUS_OVERFLOW_ERROR -75 #endif -/* Invalid query parameters */ -#ifndef __BT_FUNC_STATUS_INVALID_PARAMS -# define __BT_FUNC_STATUS_INVALID_PARAMS -24 -#endif - -/* Invalid query object */ -#ifndef __BT_FUNC_STATUS_INVALID_OBJECT -# define __BT_FUNC_STATUS_INVALID_OBJECT -23 -#endif /* Memory allocation error */ #ifndef __BT_FUNC_STATUS_MEMORY_ERROR @@ -81,7 +72,17 @@ # 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 #endif + +/* Unknown query object */ +#ifndef __BT_FUNC_STATUS_UNKNOWN_OBJECT +# define __BT_FUNC_STATUS_UNKNOWN_OBJECT 42 +#endif