X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=error.h;h=f7216ea35ee031795a0bf2e916aa8c5bb5b788a9;hb=f0e41e36c3f1a3a5bb6ff66d92d2814391d8f908;hp=311b6ebdab1c4248acefd0c08d1c5346948ec996;hpb=89b3918d545796c71dec33e73b4c5173410e3a38;p=paraslash.git diff --git a/error.h b/error.h index 311b6ebd..f7216ea3 100644 --- a/error.h +++ b/error.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2011 Andre Noll + * Copyright (C) 2006-2012 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -248,6 +248,7 @@ extern const char **para_errlist[]; #define AUDIOC_ERRORS \ PARA_ERROR(AUDIOC_SYNTAX, "audioc syntax error"), \ + PARA_ERROR(AUDIOC_EOF, "audioc: end of file"), \ #define CLIENT_COMMON_ERRORS \ @@ -440,6 +441,7 @@ extern const char **para_errlist[]; PARA_ERROR(FGETS, "fgets error"), \ PARA_ERROR(EOF, "end of file"), \ PARA_ERROR(READ_PATTERN, "did not read expected pattern"), \ + PARA_ERROR(SHORT_WRITE, "unexpected short write"), \ #define ALSA_WRITE_ERRORS \ @@ -459,6 +461,10 @@ extern const char **para_errlist[]; PARA_ERROR(QUEUE, "packet queue overrun"), \ +#define INTERACTIVE_ERRORS \ + PARA_ERROR(I9E_EOF, "end of input"), \ + PARA_ERROR(I9E_SETUPTERM, "failed to set up terminal"), \ + /** \endcond errors */ /**