X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=error.h;h=f492eff190b4bfaf67871ba3fe9fda8fc550b400;hb=cd8aecdb81f2ffb1a6e34a866d6156f8c915a467;hp=6b8403d1a91c3fd67e2a73f5e971f07896970e43;hpb=335730538150250f32c0df0b184fb494e2bb0df3;p=paraslash.git diff --git a/error.h b/error.h index 6b8403d1..f492eff1 100644 --- a/error.h +++ b/error.h @@ -13,7 +13,6 @@ DEFINE_ERRLIST_OBJECT_ENUM; /* these do not need error handling (yet) */ #define SERVER_ERRORS -#define CLIENT_ERRORS #define WAV_ERRORS #define COMPRESS_ERRORS #define TIME_ERRORS @@ -32,6 +31,10 @@ DEFINE_ERRLIST_OBJECT_ENUM; extern const char **para_errlist[]; +#define CLIENT_ERRORS \ + PARA_ERROR(TASK_STARTED, "task started"), \ + + #define AFH_ERRORS \ PARA_ERROR(AFH_SYNTAX, "afh syntax error"), \ PARA_ERROR(AFH_SHORT_WRITE, "afh short write"), \ @@ -166,6 +169,7 @@ extern const char **para_errlist[]; #define SCHED_ERRORS \ PARA_ERROR(TASK_KILLED, "task killed"), \ + PARA_ERROR(TASK_UNREGISTERED, "task has been unscheduled"), \ PARA_ERROR(NO_SUCH_TASK, "task not found"), \ PARA_ERROR(NOT_INITIALIZED, "scheduler not yet initialized"), \ @@ -208,6 +212,8 @@ extern const char **para_errlist[]; PARA_ERROR(MISSING_COLON, "syntax error: missing colon"), \ PARA_ERROR(UNSUPPORTED_AUDIO_FORMAT, "given audio format not supported"), \ PARA_ERROR(NOT_PLAYING, "not playing"), \ + PARA_ERROR(AUDIOD_OFF, "audiod switched off"), \ + PARA_ERROR(STATUS_TIMEOUT, "timeout reading server status"), \ #define AUDIOD_COMMAND_ERRORS \