]> granicus.if.org Git - apache/commitdiff
Add the missing header file from r928916.
authorGraham Leggett <minfrin@apache.org>
Wed, 31 Mar 2010 19:04:34 +0000 (19:04 +0000)
committerGraham Leggett <minfrin@apache.org>
Wed, 31 Mar 2010 19:04:34 +0000 (19:04 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@929663 13f79535-47bb-0310-9956-ffa450edef68

include/http_config.h

index ff6e5e1732489bb2de43ed73d4be49a4b113040a..dd78e04cb7a7e7b25a76d37dace00c1844de89e0 100644 (file)
@@ -64,6 +64,13 @@ enum cmd_how {
     TAKE13,                    /**< one or three arguments */
     TAKE_ARGV                  /**< an argc and argv are passed */
 };
+
+enum strict_how {
+    AP_OPTIONAL, /* directory and file wildcards succeed on no-match */
+    AP_MIXED, /* directory wildcards fail, file wildcards succeed on no match */
+    AP_STRICT /* directory and file wildcards fail on no-match */
+};
+
 /**
  * This structure is passed to a command which is being invoked,
  * to carry a large variety of miscellaneous data which is all of
@@ -899,6 +906,22 @@ AP_CORE_DECLARE(const char *) ap_init_virtual_host(apr_pool_t *p,
                                                    server_rec *main_server, 
                                                    server_rec **ps);
 
+/**
+ * Process the config file for Apache
+ * @param s The server rec to use for the command parms
+ * @param fname The name of the config file
+ * @param conftree The root node of the created config tree
+ * @param p Pool for general allocation
+ * @param ptemp Pool for temporary allocation
+ * @param strict Whether a no-match wildcard should be fatal
+ */
+AP_DECLARE(const char *) ap_process_resource_config_ex(server_rec *s,
+                                                       const char *fname,
+                                                       ap_directive_t **conftree,
+                                                       apr_pool_t *p,
+                                                       apr_pool_t *ptemp,
+                                                       enum strict_how strict);
+
 /**
  * Process the config file for Apache
  * @param s The server rec to use for the command parms