From: Jeff Trawick Date: Sat, 17 Jun 2000 12:29:53 +0000 (+0000) Subject: Fill in missing implementations of AP_INIT_whatever for when X-Git-Tag: APACHE_2_0_ALPHA_5~319 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b9f3d96e23e2a29c8ed3c1dee9fcf1ce58f8b2e;p=apache Fill in missing implementations of AP_INIT_whatever for when AP_DEBUG is not defined. Apache now compiles for me on FreeBSD 3.4 when AP_DEBUG isn't defined (albeit with a few warnings). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85596 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/http_config.h b/include/http_config.h index 7522d1a4ef..276e7f7536 100644 --- a/include/http_config.h +++ b/include/http_config.h @@ -138,7 +138,27 @@ typedef union { typedef const char *(*cmd_func) (); +# define AP_NO_ARGS func # define AP_RAW_ARGS func +# define AP_TAKE1 func +# define AP_TAKE2 func +# define AP_TAKE3 func +# define AP_FLAG func + +# define AP_INIT_NO_ARGS(directive, func, mconfig, where, help) \ + { directive, func, mconfig, where, RAW_ARGS, help } +# define AP_INIT_RAW_ARGS(directive, func, mconfig, where, help) \ + { directive, func, mconfig, where, RAW_ARGS, help } +# define AP_INIT_TAKE1(directive, func, mconfig, where, help) \ + { directive, func, mconfig, where, TAKE1, help } +# define AP_INIT_ITERATE(directive, func, mconfig, where, help) \ + { directive, func, mconfig, where, ITERATE, help } +# define AP_INIT_TAKE2(directive, func, mconfig, where, help) \ + { directive, func, mconfig, where, TAKE2, help } +# define AP_INIT_TAKE12(directive, func, mconfig, where, help) \ + { directive, func, mconfig, where, TAKE12, help } +# define AP_INIT_FLAG(directive, func, mconfig, where, help) \ + { directive, func, mconfig, where, FLAG, help } #endif