Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 3034 invoked from network); 10 Mar 2009 01:10:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Mar 2009 01:10:01 -0000 Received: (qmail 65529 invoked by uid 500); 10 Mar 2009 01:09:51 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 65397 invoked by uid 500); 10 Mar 2009 01:09:50 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 65366 invoked by uid 99); 10 Mar 2009 01:09:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Mar 2009 18:09:50 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Mar 2009 01:09:37 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B94E12388DBF; Tue, 10 Mar 2009 01:08:17 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r751931 [23/37] - in /httpd/site/trunk: docs/apreq/docs/libapreq2/ xdocs/apreq/docs/libapreq2/ Date: Tue, 10 Mar 2009 01:08:12 -0000 To: cvs@httpd.apache.org From: joes@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090310010817.B94E12388DBF@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__error_8h.html URL: http://svn.apache.org/viewvc/httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__error_8h.html?rev=751931&r1=751930&r2=751931&view=diff ============================================================================== --- httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__error_8h.html (original) +++ httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__error_8h.html Tue Mar 10 01:08:08 2009 @@ -1,7 +1,7 @@ - libapreq2-2.08: libapreq2: include/apreq_error.h File Reference + libapreq2-2.12: libapreq2: include/apreq_error.h File Reference - + + + -

include/apreq_error.h File Reference

Error status codes.

-Define the APREQ_ error codes. More... + + +

include/apreq_error.h File Reference

Error status codes. More...

-#include "apr_errno.h"
+#include "apr_errno.h"
#include "apreq.h"

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

-Error status codes.

-Define the APREQ_ error codes. +Error status codes.

-


Define Documentation

-

- - - - -
- +Define the APREQ_ error codes.

Define Documentation

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

-Bad Arguments return value

See also:
APR_BADARG
-
-

- - - - -
- +Bad Arguments return value
See also:
APR_BADARG
+ + +

+ +

+
+
- +
#define APREQ_ERROR_BADATTR   (APREQ_ERROR_BADDATA + 3) #define APREQ_ERROR_BADATTR   (APREQ_ERROR_BADDATA + 3)
-
- - - - - -
-   - + +

-Invalid attribute.

-

- - - - -
- +Invalid attribute. + +

+ +

+
+
- +
#define APREQ_ERROR_BADCHAR   (APREQ_ERROR_BADDATA + 1) #define APREQ_ERROR_BADCHAR   (APREQ_ERROR_BADDATA + 1)
-
- - - - - -
-   - + +

-Invalid character.

-

- - - - -
- +Invalid character. + +

+ +

+
+
- +
#define APREQ_ERROR_BADDATA   (APREQ_ERROR_GENERAL + 10) #define APREQ_ERROR_BADDATA   (APREQ_ERROR_GENERAL + 10)
-
- - - - - -
-   - + +

-Invalid input data.

-

- - - - -
- +Invalid input data. + +

+ +

+
+
- +
#define APREQ_ERROR_BADHEADER   (APREQ_ERROR_BADDATA + 4) #define APREQ_ERROR_BADHEADER   (APREQ_ERROR_BADDATA + 4)
-
- - - - - -
-   - + +

-Invalid header.

-

- - - - -
- +Invalid header. + +

+ +

+
+
- +
#define APREQ_ERROR_BADSEQ   (APREQ_ERROR_BADDATA + 2) #define APREQ_ERROR_BADSEQ   (APREQ_ERROR_BADDATA + 2)
-
- - - - - -
-   - + +

-Invalid byte sequence.

-

- - - - -
- +Invalid byte sequence. + +

+ +

+
+
- +
#define APREQ_ERROR_BADUTF8   (APREQ_ERROR_BADDATA + 5) #define APREQ_ERROR_BADUTF8   (APREQ_ERROR_BADDATA + 5)
-
- - - - - -
-   - + +

-Invalid utf8 encoding.

-

- - - - -
- +Invalid utf8 encoding. + +

+ +

+
+
- +
#define APREQ_ERROR_GENERAL   APR_OS_START_USERERR #define APREQ_ERROR_GENERAL   APR_OS_START_USERERR
-
- - - - - -
-   - + +

-Internal apreq error.

-

- - - - -
- +Internal apreq error. + +

+ +

+
+
- +
#define APREQ_ERROR_INTERRUPT   (APREQ_ERROR_GENERAL + 2) #define APREQ_ERROR_INTERRUPT   (APREQ_ERROR_GENERAL + 2)
-
- - - - - -
-   - + +

-Parsing interrupted.

-

- - - - -
- +Parsing interrupted. + +

+ +

+
+
- +
#define APREQ_ERROR_MISMATCH   (APREQ_ERROR_GENERAL + 30) #define APREQ_ERROR_MISMATCH   (APREQ_ERROR_GENERAL + 30)
-
- - - - - -
-   - + +

-Conflicting information.

-

- - - - -
- +Conflicting information. + +

+ +

+
+
- +
#define APREQ_ERROR_NOATTR   (APREQ_ERROR_NODATA + 2) #define APREQ_ERROR_NOATTR   (APREQ_ERROR_NODATA + 2)
-
- - - - - -
-   - + +

-Missing attribute.

-

- - - - -
- +Missing attribute. + +

+ +

+
+
- +
#define APREQ_ERROR_NODATA   (APREQ_ERROR_GENERAL + 20) #define APREQ_ERROR_NODATA   (APREQ_ERROR_GENERAL + 20)
-
- - - - - -
-   - + +

-Missing input data.

-

- - - - -
- +Missing input data. + +

+ +

+
+
- +
#define APREQ_ERROR_NOHEADER   (APREQ_ERROR_NODATA + 3) #define APREQ_ERROR_NOHEADER   (APREQ_ERROR_NODATA + 3)
-
- - - - - -
-   - + +

-Missing header.

-

- - - - -
- +Missing header. + +

+ +

+
+
- +
#define APREQ_ERROR_NOPARSER   (APREQ_ERROR_NODATA + 4) #define APREQ_ERROR_NOPARSER   (APREQ_ERROR_NODATA + 4)
-
- - - - - -
-   - + +

-Missing parser.

-

- - - - -
- +Missing parser. + +

+ +

+
+
- +
#define APREQ_ERROR_NOTEMPTY   (APREQ_ERROR_MISMATCH + 3) #define APREQ_ERROR_NOTEMPTY   (APREQ_ERROR_MISMATCH + 3)
-
- - - - - -
-   - + +

-Setting already configured.

-

- - - - -
- +Setting already configured. + +

+ +

+
+
- +
#define APREQ_ERROR_NOTOKEN   (APREQ_ERROR_NODATA + 1) #define APREQ_ERROR_NOTOKEN   (APREQ_ERROR_NODATA + 1)
-
- - - - - -
-   - + +

-Missing required token.

-

- - - - -
- +Missing required token. + +

+ +

+
+
- +
#define APREQ_ERROR_OVERLIMIT   (APREQ_ERROR_MISMATCH + 1) #define APREQ_ERROR_OVERLIMIT   (APREQ_ERROR_MISMATCH + 1)
-
- - - - - -
-   - + +

-Exceeds configured maximum limit.

-

- - - - -
- +Exceeds configured maximum limit. + +

+ +

+
+
- +
#define APREQ_ERROR_TAINTED   (APREQ_ERROR_GENERAL + 1) #define APREQ_ERROR_TAINTED   (APREQ_ERROR_GENERAL + 1)
-
- - - - - -
-   - + +

-Attempted to perform unsafe action with tainted data.

-

- - - - -
- +Attempted to perform unsafe action with tainted data. + +

+ +

+
+
- +
#define APREQ_ERROR_UNDERLIMIT   (APREQ_ERROR_MISMATCH + 2) #define APREQ_ERROR_UNDERLIMIT   (APREQ_ERROR_MISMATCH + 2)
-
- - - - - -
-   - + +

-Below configured minimum limit.

+Below configured minimum limit. + +


Function Documentation

-

- - - - -
- + +
+
+
- - - - + + + + - - - - + + + + - - - - + + + + - - - + + +
char* apreq_strerror apr_status_t  s, char* apreq_strerror (apr_status_t  s,
char *  buf, char *  buf,
apr_size_t  bufsizeapr_size_t  bufsize 
)
-
- - - - - -
-   - + +

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

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