summaryrefslogtreecommitdiff
path: root/include/util_cfgtree.h
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2000-11-14 01:55:26 +0000
committerRyan Bloom <rbb@apache.org>2000-11-14 01:55:26 +0000
commitb62a882802bd56b732b89975efdf20439f60e411 (patch)
tree83f0e0ebbf856527cbf165cda9d905dbe32f34fc /include/util_cfgtree.h
parent1a00f1aaebac450eb1b3d881930ede48abf29898 (diff)
downloadhttpd-b62a882802bd56b732b89975efdf20439f60e411.tar.gz
Port mod_info to 2.0. This is basically a complete re-write to use the
config tree instead of re-reading the config file. As a part of this change, the config tree needs to be exposed to modules as ap_conftree. Submitted by: Ryan Morgan <rmorgan@covalent.net> Reviewed by: Ryan Bloom git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86948 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/util_cfgtree.h')
-rw-r--r--include/util_cfgtree.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/util_cfgtree.h b/include/util_cfgtree.h
index e5549b81aa..1bb54bd0ed 100644
--- a/include/util_cfgtree.h
+++ b/include/util_cfgtree.h
@@ -95,6 +95,12 @@ struct ap_directive_t {
};
/**
+ * The root of the configuration tree
+ * @defvar ap_directive_t *conftree
+ */
+extern AP_DECLARE_DATA ap_directive_t *ap_conftree;
+
+/**
* Add a node to the configuration tree.
* @param parent The current parent node. If the added node is a first_child,
then this is changed to the current node