X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=error.h;h=97d678176ef4b49a9892fcf67a06fc05ec902a7d;hb=bd33d7a13fa2cb65d37e5bbf5abdbb62e9b10610;hp=24a2e3d9205f511737bb35863a0695c6946d46b8;hpb=53d5ac455d0616a5ee8867c986631ed34c177a42;p=paraslash.git diff --git a/error.h b/error.h index 24a2e3d9..97d67817 100644 --- a/error.h +++ b/error.h @@ -8,6 +8,7 @@ /** Codes and messages. */ #define PARA_ERRORS \ + PARA_ERROR(SUCCESS, "success"), \ PARA_ERROR(AAC_AFH_INIT, "failed to init aac decoder"), \ PARA_ERROR(AACDEC_INIT, "failed to init aac decoder"), \ PARA_ERROR(AAC_DECODE, "aac decode error"), \ @@ -15,7 +16,6 @@ PARA_ERROR(ADD_CALLBACK, "can not add callback"), \ PARA_ERROR(ADDRESS_LOOKUP, "can not resolve requested address"),\ PARA_ERROR(AFH_RECV_BAD_FILENAME, "no file name given"), \ - PARA_ERROR(AFH_SYNTAX, "afh syntax error"), \ PARA_ERROR(AFS_SHORT_READ, "short read from afs socket"), \ PARA_ERROR(AFS_SIGNAL, "afs caught deadly signal"), \ PARA_ERROR(AFS_SOCKET, "afs socket not writable"), \ @@ -52,6 +52,7 @@ PARA_ERROR(AUDIO_FORMAT, "audio format not recognized"), \ PARA_ERROR(AUTH_REQUEST, "did not receive auth request"), \ PARA_ERROR(BAD_AFSI, "invalid afs info"), \ + PARA_ERROR(BAD_ASF_FILE_PROPS, "invalid ASF file properties"), \ PARA_ERROR(BAD_AUTH, "authentication failure"), \ PARA_ERROR(BAD_BAND, "invalid or unexpected band designator"), \ PARA_ERROR(BAD_CHANNEL_COUNT, "channel count not supported"), \