]> granicus.if.org Git - apache/commitdiff
Fill in missing implementations of AP_INIT_whatever for when
authorJeff Trawick <trawick@apache.org>
Sat, 17 Jun 2000 12:29:53 +0000 (12:29 +0000)
committerJeff Trawick <trawick@apache.org>
Sat, 17 Jun 2000 12:29:53 +0000 (12:29 +0000)
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

include/http_config.h

index 7522d1a4efdf1e4ad469991db479e392781259d6..276e7f75366a675bd2a5b2c2e0db2e202a430244 100644 (file)
@@ -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