X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=error.h;h=e792b0581b6c79d70a189ef7000c782b000af763;hp=58fcd3757c64acda473456de39196a7a6766fde3;hb=66b97974ebba5c6ea967b713f84f62a1b72da8d2;hpb=bd28ec9a64884d70917c4fdea1a3a70c91758f83 diff --git a/error.h b/error.h index 58fcd375..e792b058 100644 --- a/error.h +++ b/error.h @@ -8,6 +8,7 @@ /** Codes and messages. */ #define PARA_ERRORS \ + PARA_ERROR(SUCCESS, "success"), \ PARA_ERROR(AACDEC_INIT, "failed to init aac decoder"), \ PARA_ERROR(AAC_DECODE, "aac decode error"), \ PARA_ERROR(ACL_PERM, "access denied by acl"), \ @@ -16,7 +17,6 @@ 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"), \ - PARA_ERROR(AFS_SYNTAX, "afs syntax error"), \ PARA_ERROR(AFT_SYNTAX, "audio file table syntax error"), \ PARA_ERROR(ALSA, "alsa error"), \ PARA_ERROR(ALSA_MIX_GET_VAL, "could not read control element state"), \ @@ -147,8 +147,7 @@ PARA_ERROR(MP4FF_META_READ, "mp4ff: could not read mp4 metadata"), \ PARA_ERROR(MP4FF_META_WRITE, "mp4ff: could not update mp4 metadata"), \ PARA_ERROR(MP4FF_OPEN, "mp4ff: open failed"), \ - PARA_ERROR(MP4FF_TRACK, "mp4fF: no audio track"), \ - PARA_ERROR(MPI_PRINT, "could not convert multi-precision integer"), \ + PARA_ERROR(MP4FF_TRACK, "mp4ff: no audio track"), \ PARA_ERROR(MPI_SCAN, "could not scan multi-precision integer"), \ PARA_ERROR(NAME_TOO_LONG, "name too long for struct sockaddr_un"), \ PARA_ERROR(NO_AFHI, "audio format handler info required"), \ @@ -339,8 +338,8 @@ _static_inline_ int osl(int ret) /** * Wrapper for lopsub library calls. * - * \param ret See osl(). - * \return See osl(). + * \param ret See \ref osl(). + * \return See \ref osl(). */ _static_inline_ int lls(int ret) {