From 1688cae4cfc9bde82a9a8fe1398726b97a91371b Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Wed, 31 Mar 2010 19:04:34 +0000 Subject: [PATCH] Add the missing header file from r928916. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@929663 13f79535-47bb-0310-9956-ffa450edef68 --- include/http_config.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/include/http_config.h b/include/http_config.h index ff6e5e1732..dd78e04cb7 100644 --- a/include/http_config.h +++ b/include/http_config.h @@ -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 -- 2.50.1