X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=error.h;h=f492eff190b4bfaf67871ba3fe9fda8fc550b400;hp=c2f993d0bd8707f8c4efe2a4d7d48147ed9df438;hb=190eec54bed8fe79e0ccd72614b253d591e76b4f;hpb=e6940831fbcf21dd0e6243ca89ea0c7f8b195d9e diff --git a/error.h b/error.h index c2f993d0..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"), \ @@ -209,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 \