X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=error.h;h=07821c221352e1124df509a7a8f6f011e04fe975;hb=f77f0e0341220e10d1732404346bd2c1fe2c6835;hp=56b26d78fb2f2f15039d4f6b3799867ce28792ad;hpb=8978f426314b107c55a652e0151397fdab2f003e;p=paraslash.git diff --git a/error.h b/error.h index 56b26d78..07821c22 100644 --- a/error.h +++ b/error.h @@ -84,6 +84,9 @@ extern const char **para_errlist[]; PARA_ERROR(INPUT_TOO_LARGE, "input too large for stdin command"), \ PARA_ERROR(AFS_SYNTAX, "afs syntax error"), \ PARA_ERROR(AFS_SIGNAL, "afs caught deadly signal"), \ + PARA_ERROR(AFS_SOCKET, "afs socket not writable"), \ + PARA_ERROR(AFS_PARENT_DIED, "fatal: server process terminated"), \ + PARA_ERROR(AFS_SHORT_READ, "short read from afs socket"), \ #define MOOD_ERRORS \ @@ -170,8 +173,6 @@ extern const char **para_errlist[]; #define NET_ERRORS \ - PARA_ERROR(SEND, "send error"), \ - PARA_ERROR(RECV, "receive error"), \ PARA_ERROR(SOCKET, "socket error"), \ PARA_ERROR(CONNECT, "connect error"), \ PARA_ERROR(ACCEPT, "accept error"), \ @@ -313,7 +314,7 @@ extern const char **para_errlist[]; PARA_ERROR(AUDIO_FORMAT, "audio format not recognized"), \ PARA_ERROR(CHUNK, "unable to get chunk"), \ PARA_ERROR(SHORT_AFS_READ, "short read from afs socket"), \ - PARA_ERROR(BAD_AFS_CODE, "received junk from afs"), \ + PARA_ERROR(NOFD, "did not receive open fd from afs"), \ #define CRYPT_ERRORS \