]> granicus.if.org Git - apache/commitdiff
Fix comment to allow modules using the new authz scheme to work on Win32.
authorJustin Erenkrantz <jerenkrantz@apache.org>
Sun, 24 Dec 2006 17:52:15 +0000 (17:52 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Sun, 24 Dec 2006 17:52:15 +0000 (17:52 +0000)
* mod_auth.h: Fix up blurb on how to retrieve ap_satisfies to match what
  mod_authz_core and friends use which does work on Windows.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@490054 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_auth.h

index 05aabb8bece36410a9a7b346de0996893c6563d2..e282d72cafdfce16628d37112397485f7baae091 100644 (file)
@@ -56,8 +56,10 @@ extern "C" {
 APR_DECLARE_OPTIONAL_FN(int, ap_satisfies, (request_rec *r));
 
 /* If your module uses ap_satisfies then you MUST add the line
- * below to your module for it to work correctly.
-extern APR_OPTIONAL_FN_TYPE(ap_satisfies) *ap_satisfies;
+ * below to your module for it to work correctly:
+ * APR_OPTIONAL_FN_TYPE(ap_satisfies) *ap_satisfies;
+ * and retrieve the optional function in the optional_fn_retrieve hook.
+ * (See mod_authz_core.c for an example)
  */
 
 typedef enum {