]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - error.h
Make the http sender use the generic sender code.
[paraslash.git] / error.h
diff --git a/error.h b/error.h
index 3fa657e693d1098e49d8449417ff64decc9f78de..644c80440fe57148f344477076a72208662986a7 100644 (file)
--- a/error.h
+++ b/error.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006-2007 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2006-2008 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -27,6 +27,8 @@ DEFINE_ERRLIST_OBJECT_ENUM;
 #define AFH_COMMON_ERRORS
 #define RBTREE_ERRORS
 #define RECV_ERRORS
+#define ACL_ERRORS
+#define SEND_COMMON_ERRORS
 
 extern const char **para_errlist[];
 
@@ -317,7 +319,8 @@ extern const char **para_errlist[];
 
 #define HTTP_SEND_ERRORS \
        PARA_ERROR(WRITE_OK, "can not check whether fd is writable"), \
-       PARA_ERROR(SEND_QUEUED_CHUNK, "failed to send queued chunk"), \
+       PARA_ERROR(MAX_CLIENTS, "maximal number of clients exceeded"), \
+       PARA_ERROR(ACL_PERM, "access denied by acl"), \
 
 
 #define COMMAND_ERRORS \
@@ -346,7 +349,6 @@ extern const char **para_errlist[];
 
 
 #define DCCP_SEND_ERRORS \
-       PARA_ERROR(DCCP_WRITE, "dccp write error"), \
 
 
 #define FD_ERRORS \
@@ -476,7 +478,7 @@ _static_inline_ int is_errno(int num, int _errno)
 /**
  * Paraslash's version of strerror(3).
  *
- * \param int The error number.
+ * \param num The error number.
  *
  * \return The error text of \a num.
  */