X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=error.h;h=20f6b767c91d36c4c9d369438dbdc0f440b5466a;hb=a18295788a381a5083e42fde7d7615b328bb6509;hp=fbc6c4dec89641e49ae4a492bb63dec9565fa2ba;hpb=4dbf56eff63e120c3888fa2badc9fbf930c6ba46;p=paraslash.git diff --git a/error.h b/error.h index fbc6c4de..20f6b767 100644 --- a/error.h +++ b/error.h @@ -34,6 +34,9 @@ DEFINE_ERRLIST_OBJECT_ENUM; extern const char **para_errlist[]; +#define PREBUFFER_FILTER_ERRORS \ + PARA_ERROR(PREBUFFER_SYNTAX, "syntax error in prebuffer filter config"), \ + #define OSS_WRITE_ERRORS \ PARA_ERROR(BAD_SAMPLE_FORMAT, "sample format not supported"), \ PARA_ERROR(BAD_CHANNEL_COUNT, "channel count not supported"), \ @@ -365,14 +368,15 @@ extern const char **para_errlist[]; #define COMMAND_ERRORS \ PARA_ERROR(COMMAND_SYNTAX, "syntax error in command"), \ - PARA_ERROR(AUTH, "did not receive auth request"), \ + PARA_ERROR(AUTH_REQUEST, "did not receive auth request"), \ PARA_ERROR(NO_AUDIO_FILE, "no audio file"), \ PARA_ERROR(BAD_CMD, "invalid command"), \ PARA_ERROR(PERM, "permission denied"), \ PARA_ERROR(LOCK, "lock error"), \ PARA_ERROR(SENDER_CMD, "command not supported by this sender"), \ PARA_ERROR(SERVER_CRASH, "para_server crashed -- can not live without it"), \ - PARA_ERROR(BAD_USER, "you don't exist. Go away."), \ + PARA_ERROR(BAD_USER, "auth request for invalid user"), \ + PARA_ERROR(BAD_AUTH, "authentication failure"), \ #define DCCP_RECV_ERRORS \