summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-07-26 11:47:51 +0200
committerStefan Fritsch <sf@apache.org>2011-07-26 11:47:51 +0200
commitec8235ddbfacfcfc42930f52c4ce85fae7196a32 (patch)
treecf58b83a88a2e3484bdb63ec23ddbb6ebeff3343
parentThis functionality is available when the module is *loaded* into the server, ... (diff)
downloadapache2-ec8235ddbfacfcfc42930f52c4ce85fae7196a32.tar.xz
apache2-ec8235ddbfacfcfc42930f52c4ce85fae7196a32.zip
Document the weird semantics of ap_find_command_in_modules()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1151045 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--include/http_config.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/http_config.h b/include/http_config.h
index 4c5098af59..ab7de2792b 100644
--- a/include/http_config.h
+++ b/include/http_config.h
@@ -1169,10 +1169,13 @@ AP_CORE_DECLARE(const command_rec *) ap_find_command(const char *name,
const command_rec *cmds);
/**
- * Find a given directive in a list module
+ * Find a given directive in a list of modules.
* @param cmd_name The directive to search for
- * @param mod The module list to search
- * @return The directive definition of the specified directive
+ * @param mod Pointer to the first module in the linked list; will be set to
+ * the module providing cmd_name
+ * @return The directive definition of the specified directive.
+ * *mod will be changed to point to the module containing the
+ * directive.
*/
AP_CORE_DECLARE(const command_rec *) ap_find_command_in_modules(const char *cmd_name,
module **mod);