X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace2%2Ffunc-status.h;h=444b219ec2228433fbc754172ea5aa70f1f0f508;hp=0f1829af8e7e17fcba6d1c1755ad0665371498dd;hb=27c61ce8f6ee66d910507f8a40ae5497287c943e;hpb=046094875e3f03883c14ee084f9582c0c15f3c50 diff --git a/include/babeltrace2/func-status.h b/include/babeltrace2/func-status.h index 0f1829af..444b219e 100644 --- a/include/babeltrace2/func-status.h +++ b/include/babeltrace2/func-status.h @@ -47,6 +47,11 @@ # 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