summaryrefslogtreecommitdiffstats
path: root/include/http_config.h
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2017-03-09 09:39:56 +0100
committerJoe Orton <jorton@apache.org>2017-03-09 09:39:56 +0100
commitec40c3c1977e2d48c0a0ba88851d396194de271b (patch)
tree7678152d978eeeef552e08fa88d512e0ccdde155 /include/http_config.h
parentfinal tune and preventative coding (diff)
downloadapache2-ec40c3c1977e2d48c0a0ba88851d396194de271b.tar.xz
apache2-ec40c3c1977e2d48c0a0ba88851d396194de271b.zip
Add <IfDirective> and <IfSection>:
* server/core.c (test_ifdirective_section, test_ifsection_section): New callbacks. (core_cmds): Define new directives. * include/http_config.h, server/config.c (ap_exists_directive): New function. * include/ap_mmn.h: Bump MMN minor for above. * docs/manual/mod/core.xml: Add docs. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1786110 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_config.h')
-rw-r--r--include/http_config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/http_config.h b/include/http_config.h
index 2982a8d2e8..582cb243b5 100644
--- a/include/http_config.h
+++ b/include/http_config.h
@@ -992,6 +992,14 @@ AP_DECLARE(const char *) ap_setup_prelinked_modules(process_rec *process);
AP_DECLARE(void) ap_show_directives(void);
/**
+ * Returns non-zero if a configuration directive of the given name has
+ * been registered by a module at the time of calling.
+ * @param p Pool for temporary allocations
+ * @param name Directive name
+ */
+AP_DECLARE(int) ap_exists_directive(apr_pool_t *p, const char *name);
+
+/**
* Show the preloaded module names. Used for httpd -l.
*/
AP_DECLARE(void) ap_show_modules(void);