X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=error.h;h=430c12f9fa82be81dc8b876f43a40bc32a1cebc6;hp=b08a31ec08f76a579b647c1dbd8566eebbd83ac5;hb=d46fe38dcada4108ed49a0e621376df0f7913fe3;hpb=3d412f0e603b785291de86be66ff6472cd17246f diff --git a/error.h b/error.h index b08a31ec..430c12f9 100644 --- a/error.h +++ b/error.h @@ -82,12 +82,17 @@ enum para_subsystem { #define ORTP_SEND_ERRORS #define GUI_ERRORS #define RINGBUFFER_ERRORS -#define SCHED_ERRORS + extern const char **para_errlist[]; /** \endcond */ +#define SCHED_ERRORS \ + PARA_ERROR(TASK_KILLED, "task killed"), \ + PARA_ERROR(NO_SUCH_TASK, "task not found"), \ + + #define STDIN_ERRORS \ PARA_ERROR(STDIN_READ, "failed to read from stdin"), \ PARA_ERROR(STDIN_EOF, "end of file"), \ @@ -149,6 +154,8 @@ extern const char **para_errlist[]; PARA_ERROR(CLIENT_WRITE, "client write error"), \ PARA_ERROR(UCRED_PERM, "permission denied"), \ PARA_ERROR(INVALID_AUDIOD_CMD, "invalid command"), \ + PARA_ERROR(AUDIOD_SYNTAX, "syntax error"), \ + PARA_ERROR(STATUS_EOF, "server closed status connection"), \ #define FILTER_CHAIN_ERRORS \