]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - error.h
New source files: fd.c/fd.h
[paraslash.git] / error.h
diff --git a/error.h b/error.h
index 4b3cce28bf4f67b69d4d5abe8749a8d8e4846daa..ceaa6b38b2c6b6102ef6689e9be1d46ec48b6baf 100644 (file)
--- a/error.h
+++ b/error.h
@@ -56,6 +56,7 @@ enum para_subsystem {
        SS_DCCP,
        SS_DCCP_RECV,
        SS_DCCP_SEND,
+       SS_FD,
        SS_RINGBUFFER};
 
 #define NUM_SS (SS_RINGBUFFER + 1)
@@ -135,11 +136,11 @@ extern const char **para_errlist[];
 #define GRAB_CLIENT_ERRORS \
        PARA_ERROR(PEDANTIC_GRAB, "fd not ready and pedantic grab requested"), \
        PARA_ERROR(GC_WRITE, "grab client write error"), \
-       PARA_ERROR(INVALID_GRAB_MODE, "invalid grab client mode"), \
        PARA_ERROR(BAD_GC_SLOT, "invalid slot requested by grab client"), \
        PARA_ERROR(BAD_GC_FILTER_NUM, "invalid filter number given"), \
        PARA_ERROR(GC_SYNTAX, "grab client syntax error"), \
        PARA_ERROR(GC_HELP_GIVEN, ""), /* not really an error */ \
+       PARA_ERROR(GC_VERSION_GIVEN, ""), /* not really an error */ \
 
 
 #define MP3DEC_ERRORS \
@@ -284,6 +285,7 @@ extern const char **para_errlist[];
 #define DCCP_SEND_ERRORS \
        PARA_ERROR(DCCP_BIND, "dccp bind error"), \
        PARA_ERROR(DCCP_LISTEN, "dccp listen error"), \
+       PARA_ERROR(DCCP_WRITE, "dccp write error"), \
 
 
 /* these do not need error handling (yet) */
@@ -295,6 +297,7 @@ extern const char **para_errlist[];
 #define DAEMON_ERRORS
 #define ORTP_SEND_ERRORS
 #define RINGBUFFER_ERRORS
+#define FD_ERRORS
 
 
 /**
@@ -403,6 +406,7 @@ SS_ENUM(IPC);
 SS_ENUM(DCCP);
 SS_ENUM(DCCP_RECV);
 SS_ENUM(DCCP_SEND);
+SS_ENUM(FD);
 SS_ENUM(RINGBUFFER);
 /** \endcond */
 #undef PARA_ERROR