Author: joes
Date: Mon May 16 16:22:02 2005
New Revision: 170489
URL: http://svn.apache.org/viewcvs?rev=170489&view=rev
Log:
Add default hook args so we can use
APR::Request::Custom->handle from the command-line!
Modified:
httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Hook/Hook.xs
httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Parser/Parser.xs
Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Hook/Hook.xs
URL:
http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Hook/Hook.xs?rev=170489&r1=170488&r2=170489&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Hook/Hook.xs (original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Hook/Hook.xs Mon May 16
16:22:02 2005
@@ -1,7 +1,7 @@
MODULE = APR::Request::Hook PACKAGE = APR::Request::Hook
APR::Request::Hook
-make(class, pool, hook, next)
+make(class, pool, hook, next=NULL)
apreq_xs_subclass_t class
APR::Pool pool
apreq_hook_function_t hook
@@ -14,7 +14,7 @@
RETVAL
APR::Request::Hook
-disable_uploads(class, pool, next)
+disable_uploads(class, pool, next=NULL)
apreq_xs_subclass_t class
APR::Pool pool
APR::Request::Hook next
@@ -25,7 +25,7 @@
RETVAL
APR::Request::Hook
-apr_xml_parser(class, pool, next)
+apr_xml_parser(class, pool, next=NULL)
apreq_xs_subclass_t class
APR::Pool pool
APR::Request::Hook next
@@ -36,7 +36,7 @@
RETVAL
APR::Request::Hook
-find_param(class, pool, next, name)
+find_param(class, pool, name, next=NULL)
apreq_xs_subclass_t class
APR::Pool pool
APR::Request::Hook next
@@ -48,7 +48,7 @@
RETVAL
APR::Request::Hook
-discard_brigade(class, pool, next)
+discard_brigade(class, pool, next=NULL)
apreq_xs_subclass_t class
APR::Pool pool
APR::Request::Hook next
Modified: httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Parser/Parser.xs
URL:
http://svn.apache.org/viewcvs/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Parser/Parser.xs?rev=170489&r1=170488&r2=170489&view=diff
==============================================================================
--- httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Parser/Parser.xs
(original)
+++ httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Parser/Parser.xs Mon May
16 16:22:02 2005
@@ -1,7 +1,7 @@
MODULE = APR::Request::Parser PACKAGE = APR::Request::Parser
APR::Request::Parser
-make(class, pool, ba, ct, parser, blim, tdir, hook)
+make(class, pool, ba, ct, parser, blim, tdir, hook=NULL)
apreq_xs_subclass_t class
APR::Pool pool
APR::BucketAlloc ba
@@ -18,7 +18,7 @@
RETVAL
APR::Request::Parser
-generic(class, pool, ba, ct, blim, tdir, hook)
+generic(class, pool, ba, ct, blim, tdir, hook=NULL)
apreq_xs_subclass_t class
APR::Pool pool
APR::BucketAlloc ba
@@ -35,7 +35,7 @@
RETVAL
APR::Request::Parser
-headers(class, pool, ba, ct, blim, tdir, hook)
+headers(class, pool, ba, ct, blim, tdir, hook=NULL)
apreq_xs_subclass_t class
APR::Pool pool
APR::BucketAlloc ba
@@ -52,7 +52,7 @@
RETVAL
APR::Request::Parser
-urlencoded(class, pool, ba, ct, blim, tdir, hook)
+urlencoded(class, pool, ba, ct, blim, tdir, hook=NULL)
apreq_xs_subclass_t class
APR::Pool pool
APR::BucketAlloc ba
@@ -70,7 +70,7 @@
APR::Request::Parser
-multipart(class, pool, ba, ct, blim, tdir, hook)
+multipart(class, pool, ba, ct, blim, tdir, hook=NULL)
apreq_xs_subclass_t class
APR::Pool pool
APR::BucketAlloc ba
@@ -87,7 +87,7 @@
RETVAL
APR::Request::Parser
-default(class, pool, ba, ct, blim, tdir, hook)
+default(class, pool, ba, ct, blim, tdir, hook=NULL)
apreq_xs_subclass_t class
APR::Pool pool
APR::BucketAlloc ba