X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=error.h;h=95640da93da67fa3003de00b10be1aff26066b1f;hp=604152233b003e44667f7b69fc2515c74b26f480;hb=5446dfe5a4d54aa49dbc961956818d751e817326;hpb=9b5d9adba31e6d42b9dde81fcd3b6f8a0b16bcfc diff --git a/error.h b/error.h index 60415223..95640da9 100644 --- a/error.h +++ b/error.h @@ -29,9 +29,20 @@ DEFINE_ERRLIST_OBJECT_ENUM; #define HTTP_SEND_ERRORS #define GGO_ERRORS #define COLOR_ERRORS +#define SIGNAL_ERRORS + extern const char **para_errlist[]; +#define PREBUFFER_FILTER_ERRORS \ + PARA_ERROR(PREBUFFER_SYNTAX, "syntax error in prebuffer filter config"), \ + +#define OSS_WRITE_ERRORS \ + PARA_ERROR(BAD_SAMPLE_FORMAT, "sample format not supported"), \ + PARA_ERROR(BAD_CHANNEL_COUNT, "channel count not supported"), \ + PARA_ERROR(BAD_SAMPLERATE, "sample rate not supported"), \ + + #define COMPRESS_FILTER_ERRORS \ PARA_ERROR(COMPRESS_SYNTAX, "syntax error in compress filter config"), \ @@ -141,7 +152,6 @@ extern const char **para_errlist[]; #define MOOD_ERRORS \ PARA_ERROR(MOOD_SYNTAX, "mood syntax error"), \ PARA_ERROR(NO_MOOD, "no mood available"), \ - PARA_ERROR(NOT_ADMISSIBLE, "file is not admissible"), \ PARA_ERROR(DUMMY_ROW, "attempted to access blob dummy object"), \ @@ -299,10 +309,6 @@ extern const char **para_errlist[]; PARA_ERROR(FILTER_SYNTAX, "syntax error"), \ -#define SIGNAL_ERRORS \ - PARA_ERROR(SIGNAL_SIG_ERR, "signal() returned SIG_ERR"), \ - - #define STRING_ERRORS \ PARA_ERROR(ATOI_OVERFLOW, "value too large"), \ PARA_ERROR(STRTOLL, "unknown strtoll error"), \