X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Ffunc-status.h;h=444b219ec2228433fbc754172ea5aa70f1f0f508;hb=44e2e039eb4bea7100896f504f6e6a40b20b6a1e;hp=0f1829af8e7e17fcba6d1c1755ad0665371498dd;hpb=00c988c958149f894567a1c41d480127425bfb3e;p=babeltrace.git 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