Modified: httpd/site/trunk/docs/apreq/docs/libapreq2/apreq__error_8h-source.html URL: http://svn.apache.org/viewcvs/httpd/site/trunk/docs/apreq/docs/libapreq2/apreq__error_8h-source.html?rev=377002&r1=377001&r2=377002&view=diff ============================================================================== --- httpd/site/trunk/docs/apreq/docs/libapreq2/apreq__error_8h-source.html (original) +++ httpd/site/trunk/docs/apreq/docs/libapreq2/apreq__error_8h-source.html Sat Feb 11 08:52:42 2006 @@ -1,7 +1,7 @@ - libapreq2-2.06-dev: libapreq2: include/apreq_error.h Source File + libapreq2-2.07: libapreq2: include/apreq_error.h Source File - -
Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages
- -

apreq_error.h

Go to the documentation of this file.
00001 /*
-00002 **  Copyright 2003-2005  The Apache Software Foundation
+
+
+
+

include/apreq_error.h

Go to the documentation of this file.
00001 /*
+00002 **  Copyright 2003-2006  The Apache Software Foundation
 00003 **
 00004 **  Licensed under the Apache License, Version 2.0 (the "License");
 00005 **  you may not use this file except in compliance with the License.
@@ -38,51 +49,66 @@
 00022 
 00023 #ifdef  __cplusplus
 00024  extern "C" {
-00025 #endif 
+00025 #endif
 00026 
-00031 APREQ_DECLARE(char *)
-00032 apreq_strerror(apr_status_t s, char *buf, apr_size_t bufsize);
+00031 APREQ_DECLARE(char *)
+00032 apreq_strerror(apr_status_t s, char *buf, apr_size_t bufsize);
 00033 
-00042 #ifndef APR_EBADARG
-00043 #define APR_EBADARG                APR_BADARG   /* XXX: don't use APR_BADARG */
-00044 #endif
-00045 
-00047 #define APREQ_ERROR_GENERAL        APR_OS_START_USERERR
-00049 #define APREQ_ERROR_TAINTED        (APREQ_ERROR_GENERAL + 1)
-00051 #define APREQ_ERROR_INTERRUPT      (APREQ_ERROR_GENERAL + 2)
-00052 
-00054 #define APREQ_ERROR_BADDATA        (APREQ_ERROR_GENERAL  + 10)
-00056 #define APREQ_ERROR_BADCHAR        (APREQ_ERROR_BADDATA  +  1)
-00058 #define APREQ_ERROR_BADSEQ         (APREQ_ERROR_BADDATA  +  2)
-00060 #define APREQ_ERROR_BADATTR        (APREQ_ERROR_BADDATA  +  3)
-00062 #define APREQ_ERROR_BADHEADER      (APREQ_ERROR_BADDATA  +  4)
-00064 #define APREQ_ERROR_BADUTF8        (APREQ_ERROR_BADDATA  +  5)
-00065 
-00067 #define APREQ_ERROR_NODATA         (APREQ_ERROR_GENERAL  + 20)
-00069 #define APREQ_ERROR_NOTOKEN        (APREQ_ERROR_NODATA   +  1)
-00071 #define APREQ_ERROR_NOATTR         (APREQ_ERROR_NODATA   +  2)
-00073 #define APREQ_ERROR_NOHEADER       (APREQ_ERROR_NODATA   +  3)
-00075 #define APREQ_ERROR_NOPARSER       (APREQ_ERROR_NODATA   +  4)
-00076 
-00077 
-00079 #define APREQ_ERROR_MISMATCH       (APREQ_ERROR_GENERAL  + 30)
-00081 #define APREQ_ERROR_OVERLIMIT      (APREQ_ERROR_MISMATCH +  1)
-00083 #define APREQ_ERROR_UNDERLIMIT     (APREQ_ERROR_MISMATCH +  2)
-00085 #define APREQ_ERROR_NOTEMPTY       (APREQ_ERROR_MISMATCH +  3)
-00086 
-00087 
-00088 #ifdef __cplusplus
-00089  }
-00090 #endif
+00042 #ifndef APR_EBADARG
+00043 
+00047 #define APR_EBADARG                APR_BADARG   /* XXX: don't use APR_BADARG */
+00048 #endif
+00049 
+00051 #define APREQ_ERROR_GENERAL        APR_OS_START_USERERR
+00052 
+00053 #define APREQ_ERROR_TAINTED        (APREQ_ERROR_GENERAL + 1)
+00054 
+00055 #define APREQ_ERROR_INTERRUPT      (APREQ_ERROR_GENERAL + 2)
+00056 
+00058 #define APREQ_ERROR_BADDATA        (APREQ_ERROR_GENERAL  + 10)
+00059 
+00060 #define APREQ_ERROR_BADCHAR        (APREQ_ERROR_BADDATA  +  1)
+00061 
+00062 #define APREQ_ERROR_BADSEQ         (APREQ_ERROR_BADDATA  +  2)
+00063 
+00064 #define APREQ_ERROR_BADATTR        (APREQ_ERROR_BADDATA  +  3)
+00065 
+00066 #define APREQ_ERROR_BADHEADER      (APREQ_ERROR_BADDATA  +  4)
+00067 
+00068 #define APREQ_ERROR_BADUTF8        (APREQ_ERROR_BADDATA  +  5)
+00069 
+00071 #define APREQ_ERROR_NODATA         (APREQ_ERROR_GENERAL  + 20)
+00072 
+00073 #define APREQ_ERROR_NOTOKEN        (APREQ_ERROR_NODATA   +  1)
+00074 
+00075 #define APREQ_ERROR_NOATTR         (APREQ_ERROR_NODATA   +  2)
+00076 
+00077 #define APREQ_ERROR_NOHEADER       (APREQ_ERROR_NODATA   +  3)
+00078 
+00079 #define APREQ_ERROR_NOPARSER       (APREQ_ERROR_NODATA   +  4)
+00080 
+00081 
+00083 #define APREQ_ERROR_MISMATCH       (APREQ_ERROR_GENERAL  + 30)
+00084 
+00085 #define APREQ_ERROR_OVERLIMIT      (APREQ_ERROR_MISMATCH +  1)
+00086 
+00087 #define APREQ_ERROR_UNDERLIMIT     (APREQ_ERROR_MISMATCH +  2)
+00088 
+00089 #define APREQ_ERROR_NOTEMPTY       (APREQ_ERROR_MISMATCH +  3)
+00090 
 00091 
-00092 #endif /* APREQ_ERROR_H */
+00092 #ifdef __cplusplus
+00093  }
+00094 #endif
+00095 
+00096 #endif /* APREQ_ERROR_H */
 
Modified: httpd/site/trunk/docs/apreq/docs/libapreq2/apreq__error_8h.html URL: http://svn.apache.org/viewcvs/httpd/site/trunk/docs/apreq/docs/libapreq2/apreq__error_8h.html?rev=377002&r1=377001&r2=377002&view=diff ============================================================================== --- httpd/site/trunk/docs/apreq/docs/libapreq2/apreq__error_8h.html (original) +++ httpd/site/trunk/docs/apreq/docs/libapreq2/apreq__error_8h.html Sat Feb 11 08:52:42 2006 @@ -1,7 +1,7 @@ - libapreq2-2.06-dev: libapreq2: include/apreq_error.h File Reference + libapreq2-2.07: libapreq2: include/apreq_error.h File Reference - - - -

apreq_error.h File Reference

Error status codes.

+ +

+ +

include/apreq_error.h File Reference

Error status codes.

Define the APREQ_ error codes. More...

#include "apr_errno.h"
@@ -24,47 +35,46 @@ Go to the source code of this file. - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +

Defines

-#define APR_EBADARG   APR_BADARG
#define APR_EBADARG   APR_BADARG
#define APREQ_ERROR_GENERAL   APR_OS_START_USERERR
#define APREQ_ERROR_GENERAL   APR_OS_START_USERERR
#define APREQ_ERROR_TAINTED   (APREQ_ERROR_GENERAL + 1)
#define APREQ_ERROR_TAINTED   (APREQ_ERROR_GENERAL + 1)
#define APREQ_ERROR_INTERRUPT   (APREQ_ERROR_GENERAL + 2)
#define APREQ_ERROR_INTERRUPT   (APREQ_ERROR_GENERAL + 2)
#define APREQ_ERROR_BADDATA   (APREQ_ERROR_GENERAL + 10)
#define APREQ_ERROR_BADDATA   (APREQ_ERROR_GENERAL + 10)
#define APREQ_ERROR_BADCHAR   (APREQ_ERROR_BADDATA + 1)
#define APREQ_ERROR_BADCHAR   (APREQ_ERROR_BADDATA + 1)
#define APREQ_ERROR_BADSEQ   (APREQ_ERROR_BADDATA + 2)
#define APREQ_ERROR_BADSEQ   (APREQ_ERROR_BADDATA + 2)
#define APREQ_ERROR_BADATTR   (APREQ_ERROR_BADDATA + 3)
#define APREQ_ERROR_BADATTR   (APREQ_ERROR_BADDATA + 3)
#define APREQ_ERROR_BADHEADER   (APREQ_ERROR_BADDATA + 4)
#define APREQ_ERROR_BADHEADER   (APREQ_ERROR_BADDATA + 4)
#define APREQ_ERROR_BADUTF8   (APREQ_ERROR_BADDATA + 5)
#define APREQ_ERROR_BADUTF8   (APREQ_ERROR_BADDATA + 5)
#define APREQ_ERROR_NODATA   (APREQ_ERROR_GENERAL + 20)
#define APREQ_ERROR_NODATA   (APREQ_ERROR_GENERAL + 20)
#define APREQ_ERROR_NOTOKEN   (APREQ_ERROR_NODATA + 1)
#define APREQ_ERROR_NOTOKEN   (APREQ_ERROR_NODATA + 1)
#define APREQ_ERROR_NOATTR   (APREQ_ERROR_NODATA + 2)
#define APREQ_ERROR_NOATTR   (APREQ_ERROR_NODATA + 2)
#define APREQ_ERROR_NOHEADER   (APREQ_ERROR_NODATA + 3)
#define APREQ_ERROR_NOHEADER   (APREQ_ERROR_NODATA + 3)
#define APREQ_ERROR_NOPARSER   (APREQ_ERROR_NODATA + 4)
#define APREQ_ERROR_NOPARSER   (APREQ_ERROR_NODATA + 4)
#define APREQ_ERROR_MISMATCH   (APREQ_ERROR_GENERAL + 30)
#define APREQ_ERROR_MISMATCH   (APREQ_ERROR_GENERAL + 30)
#define APREQ_ERROR_OVERLIMIT   (APREQ_ERROR_MISMATCH + 1)
#define APREQ_ERROR_OVERLIMIT   (APREQ_ERROR_MISMATCH + 1)
#define APREQ_ERROR_UNDERLIMIT   (APREQ_ERROR_MISMATCH + 2)
#define APREQ_ERROR_UNDERLIMIT   (APREQ_ERROR_MISMATCH + 2)
#define APREQ_ERROR_NOTEMPTY   (APREQ_ERROR_MISMATCH + 3)
#define APREQ_ERROR_NOTEMPTY   (APREQ_ERROR_MISMATCH + 3)

Functions

char * apreq_strerror (apr_status_t s, char *buf, apr_size_t bufsize)
char * apreq_strerror (apr_status_t s, char *buf, apr_size_t bufsize)


Detailed Description

@@ -72,7 +82,31 @@ Define the APREQ_ error codes.


Define Documentation

-

+

+ + + + +
+ + + + +
#define APR_EBADARG   APR_BADARG
+
+ + + + + +
+   + + +

+Bad Arguments return value

See also:
APR_BADARG
+
+

@@ -95,7 +129,7 @@ Invalid attribute.
-

+

@@ -118,7 +152,7 @@ Invalid character.
-

+

@@ -141,7 +175,7 @@ Invalid input data.
-

+

@@ -164,7 +198,7 @@ Invalid header.
-

+

@@ -187,7 +221,7 @@ Invalid byte sequence.
-

+

@@ -210,13 +244,13 @@ Invalid utf8 encoding.
-

+

@@ -233,7 +267,7 @@ Internal apreq error.
- +
#define APREQ_ERROR_GENERAL   APR_OS_START_USERERR #define APREQ_ERROR_GENERAL   APR_OS_START_USERERR
-

+

@@ -256,7 +290,7 @@ Parsing interrupted.
-

+

@@ -279,7 +313,7 @@ Conflicting information.
-

+

@@ -302,7 +336,7 @@ Missing attribute.
-

+

@@ -325,7 +359,7 @@ Missing input data.
-

+

@@ -348,7 +382,7 @@ Missing header.
-

+

@@ -371,7 +405,7 @@ Missing parser.
-

+

@@ -394,7 +428,7 @@ Setting already configured.
-

+

@@ -417,7 +451,7 @@ Missing required token.
-

+

@@ -440,7 +474,7 @@ Exceeds configured maximum limit.
-

+

@@ -463,7 +497,7 @@ Attempted to perform unsafe action with tainted data.
-

+

@@ -487,7 +521,7 @@


Function Documentation

-

+

- + @@ -507,7 +541,7 @@ - + @@ -527,16 +561,16 @@ +apreq's wrapper around apr_strerror(); recognizes APREQ_ERROR_* status codes.
@@ -495,7 +529,7 @@
char* apreq_strerror apr_status_t apr_status_t  s,
apr_size_t apr_size_t  bufsize

-apreq's wrapper around apr_strerror(); recognizes APREQ_ERROR_* status codes.