X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=error.h;h=65494131ba518827dc3df6c228ca8d776a01fa71;hp=da0efc47f6ea317d8f026482a76d0c18dead58d6;hb=4ad9b98ca90d603eecb5c9c403e0f7bbdc3be6a6;hpb=9fe520149ef6bbc6bed4ee538bd2310af9d6a2cd diff --git a/error.h b/error.h index da0efc47..65494131 100644 --- a/error.h +++ b/error.h @@ -6,7 +6,7 @@ /** \file error.h List of error messages for all subsystems. */ -/** \cond */ +/** \cond errors */ /* List of all subsystems that use paraslash's error facility. */ DEFINE_ERRLIST_OBJECT_ENUM; @@ -34,6 +34,7 @@ DEFINE_ERRLIST_OBJECT_ENUM; #define STDOUT_ERRORS #define FILE_WRITE_ERRORS #define STDIN_ERRORS +#define WRITE_ERRORS extern const char **para_errlist[]; @@ -317,6 +318,7 @@ extern const char **para_errlist[]; PARA_ERROR(MAD_FRAME_DECODE, "mad frame decode error"), \ PARA_ERROR(MP3DEC_SYNTAX, "syntax error in mp3dec config"), \ PARA_ERROR(MP3DEC_EOF, "mp3dec: end of file"), \ + PARA_ERROR(MP3DEC_CORRUPT, "too many corrupt frames"), \ #define FILTER_ERRORS \ @@ -422,10 +424,6 @@ extern const char **para_errlist[]; PARA_ERROR(READ_PATTERN, "did not read expected pattern"), \ -#define WRITE_ERRORS \ - PARA_ERROR(WRITE_SYNTAX, "para_write syntax error"), \ - - #define ALSA_WRITE_ERRORS \ PARA_ERROR(BROKEN_CONF, "Broken alsa configuration"), \ PARA_ERROR(ACCESS_TYPE, "alsa access type not available"), \ @@ -445,7 +443,6 @@ extern const char **para_errlist[]; #define WRITE_COMMON_ERRORS \ - PARA_ERROR(WRITE_COMMON_SYNTAX, "syntax error in write option"), \ PARA_ERROR(WRITE_COMMON_EOF, "end of file"), \ @@ -458,7 +455,7 @@ extern const char **para_errlist[]; PARA_ERROR(QUEUE, "packet queue overrun"), \ -/** \endcond */ +/** \endcond errors */ /** * The subsystem shift.