X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=error.h;h=c0888aa0c4050f91b131279ad5c943a98b5a7acf;hp=ffb3eedf2033a6c49681116b7fefae4cd9324af5;hb=2ecabb05dbeb0948e514cdad1bb811d9edf97e2e;hpb=28ca8e57ce76f5496f0d1ba143ec2c1c725bc90a diff --git a/error.h b/error.h index ffb3eedf..c0888aa0 100644 --- a/error.h +++ b/error.h @@ -63,6 +63,7 @@ enum para_subsystem { SS_FILE_WRITE, SS_OSX_WRITE, SS_USER_LIST, + SS_CHUNK_QUEUE, NUM_SS }; @@ -295,8 +296,8 @@ extern const char **para_errlist[]; #define HTTP_SEND_ERRORS \ - PARA_ERROR(QUEUE, "packet queue overrun"), \ PARA_ERROR(WRITE_OK, "can not check whether fd is writable"), \ + PARA_ERROR(SEND_QUEUED_CHUNK, "failed to send queued chunk"), \ #define RANDOM_SELECTOR_ERRORS \ @@ -421,6 +422,10 @@ extern const char **para_errlist[]; PARA_ERROR(AAC_OVERRUN, "aac output buffer overrun"), \ +#define CHUNK_QUEUE_ERRORS \ + PARA_ERROR(QUEUE, "packet queue overrun"), \ + + /** * the subsystem shift * @@ -549,6 +554,7 @@ SS_ENUM(CLIENT); SS_ENUM(CLIENT_COMMON); SS_ENUM(AUDIOC); SS_ENUM(USER_LIST); +SS_ENUM(CHUNK_QUEUE); /** \endcond */ #undef PARA_ERROR /* rest of the world only sees the error text */