]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - error.h
Stronger crypto for client authentication.
[paraslash.git] / error.h
diff --git a/error.h b/error.h
index fbc6c4dec89641e49ae4a492bb63dec9565fa2ba..20f6b767c91d36c4c9d369438dbdc0f440b5466a 100644 (file)
--- 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 \