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 \
#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"), \
PARA_ERROR(SETSOCKOPT, "failed to set socket options"), \
PARA_ERROR(BIND, "bind error"), \
PARA_ERROR(NAME_TOO_LONG, "name too long for struct sockaddr_un"), \
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 \