You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sf...@apache.org on 2011/07/26 11:47:52 UTC
svn commit: r1151045 - /httpd/httpd/trunk/include/http_config.h
Author: sf
Date: Tue Jul 26 09:47:51 2011
New Revision: 1151045
URL: http://svn.apache.org/viewvc?rev=1151045&view=rev
Log:
Document the weird semantics of ap_find_command_in_modules()
Modified:
httpd/httpd/trunk/include/http_config.h
Modified: httpd/httpd/trunk/include/http_config.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/include/http_config.h?rev=1151045&r1=1151044&r2=1151045&view=diff
==============================================================================
--- httpd/httpd/trunk/include/http_config.h (original)
+++ httpd/httpd/trunk/include/http_config.h Tue Jul 26 09:47:51 2011
@@ -1169,10 +1169,13 @@ AP_CORE_DECLARE(const command_rec *) ap_
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);