]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - error.h
the paraslash-0.4.9 release tarball
[paraslash.git] / error.h
diff --git a/error.h b/error.h
index 7a2b1617be8940d678933bd4687c5dee2e4de3f3..ae94157f81690568fc20a741c0f1757ef664e83a 100644 (file)
--- a/error.h
+++ b/error.h
@@ -35,10 +35,15 @@ DEFINE_ERRLIST_OBJECT_ENUM;
 #define FILE_WRITE_ERRORS
 #define STDIN_ERRORS
 #define WRITE_ERRORS
-#define FLACDEC_FILTER_ERRORS
 
 extern const char **para_errlist[];
 
+#define FLACDEC_FILTER_ERRORS \
+       PARA_ERROR(FLACDEC_DECODER_ALLOC, "could not allocate stream decoder"), \
+       PARA_ERROR(FLACDEC_DECODER_INIT, "could not init stream decoder"), \
+       PARA_ERROR(FLACDEC_EOF, "flacdec encountered end of file condition"), \
+
+
 #define FLAC_AFH_ERRORS \
        PARA_ERROR(FLAC_CHAIN_ALLOC, "could not create metadata chain"), \
        PARA_ERROR(FLAC_CHAIN_READ, "could not read meta chain"), \
@@ -243,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 \
@@ -454,6 +460,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 */
 
 /**