You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by jo...@apache.org on 2006/02/14 03:50:26 UTC

svn commit: r377588 - /httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Error/Error.xs

Author: joes
Date: Mon Feb 13 18:50:25 2006
New Revision: 377588

URL: http://svn.apache.org/viewcvs?rev=377588&view=rev
Log:
expose error constants

Modified:
    httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Error/Error.xs

Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Error/Error.xs
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Error/Error.xs?rev=377588&r1=377587&r2=377588&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Error/Error.xs (original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Error/Error.xs Mon Feb 13 18:50:25 2006
@@ -50,3 +50,36 @@
                 apreq_xs_error2sv(aTHX_ APREQ_ERROR_GENERAL));
     newCONSTSUB(PL_defstash, "APR::Request::Error::TAINTED",
                 apreq_xs_error2sv(aTHX_ APREQ_ERROR_TAINTED));
+
+    newCONSTSUB(PL_defstash, "APR::Request::Error::BADDATA",
+                apreq_xs_error2sv(aTHX_ APREQ_ERROR_BADDATA));
+    newCONSTSUB(PL_defstash, "APR::Request::Error::BADCHAR",
+                apreq_xs_error2sv(aTHX_ APREQ_ERROR_BADCHAR));
+    newCONSTSUB(PL_defstash, "APR::Request::Error::BADSEQ",
+                apreq_xs_error2sv(aTHX_ APREQ_ERROR_BADSEQ));
+    newCONSTSUB(PL_defstash, "APR::Request::Error::BADATTR",
+                apreq_xs_error2sv(aTHX_ APREQ_ERROR_BADATTR));
+    newCONSTSUB(PL_defstash, "APR::Request::Error::BADHEADER",
+                apreq_xs_error2sv(aTHX_ APREQ_ERROR_BADHEADER));
+    newCONSTSUB(PL_defstash, "APR::Request::Error::BADUTF8",
+                apreq_xs_error2sv(aTHX_ APREQ_ERROR_BADUTF8));
+
+    newCONSTSUB(PL_defstash, "APR::Request::Error::NODATA",
+                apreq_xs_error2sv(aTHX_ APREQ_ERROR_NODATA));
+    newCONSTSUB(PL_defstash, "APR::Request::Error::NOTOKEN",
+                apreq_xs_error2sv(aTHX_ APREQ_ERROR_NOTOKEN));
+    newCONSTSUB(PL_defstash, "APR::Request::Error::NOATTR",
+                apreq_xs_error2sv(aTHX_ APREQ_ERROR_NOATTR));
+    newCONSTSUB(PL_defstash, "APR::Request::Error::NOHEADER",
+                apreq_xs_error2sv(aTHX_ APREQ_ERROR_NOHEADER));
+    newCONSTSUB(PL_defstash, "APR::Request::Error::NOPARSER",
+                apreq_xs_error2sv(aTHX_ APREQ_ERROR_NOPARSER));
+
+    newCONSTSUB(PL_defstash, "APR::Request::Error::MISMATCH",
+                apreq_xs_error2sv(aTHX_ APREQ_ERROR_MISMATCH));
+    newCONSTSUB(PL_defstash, "APR::Request::Error::OVERLIMIT",
+                apreq_xs_error2sv(aTHX_ APREQ_ERROR_OVERLIMIT));
+    newCONSTSUB(PL_defstash, "APR::Request::Error::UNDERLIMIT",
+                apreq_xs_error2sv(aTHX_ APREQ_ERROR_UNDERLIMIT));
+    newCONSTSUB(PL_defstash, "APR::Request::Error::NOTEMPTY",
+                apreq_xs_error2sv(aTHX_ APREQ_ERROR_NOTEMPTY));