summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorRoy T. Fielding <fielding@apache.org>1999-08-26 19:11:08 +0200
committerRoy T. Fielding <fielding@apache.org>1999-08-26 19:11:08 +0200
commit3c42b1acf025f33aae5c4915282596408744e09a (patch)
treeeabeebd182a9442d10f74e3f54f3365f6a7a13f0 /modules
parentStart to implement module-defined hooks that are a) fast and b) typesafe. (diff)
downloadapache2-3c42b1acf025f33aae5c4915282596408744e09a.tar.xz
apache2-3c42b1acf025f33aae5c4915282596408744e09a.zip
Extra bit left off of hook additions.
Submitted by: Ben Laurie git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83787 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules')
-rw-r--r--modules/aaa/mod_auth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/aaa/mod_auth.c b/modules/aaa/mod_auth.c
index e8a861f7dd..e8d24a3cfc 100644
--- a/modules/aaa/mod_auth.c
+++ b/modules/aaa/mod_auth.c
@@ -309,20 +309,20 @@ static int check_user_access(request_rec *r)
return AUTH_REQUIRED;
}
-module MODULE_VAR_EXPORT auth_module =
static void register_hooks(void)
{
ap_hook_check_user_id(authenticate_basic_user,NULL,NULL,HOOK_MIDDLE);
ap_hook_auth_checker(check_user_access,NULL,NULL,HOOK_MIDDLE);
}
+module MODULE_VAR_EXPORT auth_module =
{
- STANDARD_MODULE_STUFF,
STANDARD20_MODULE_STUFF,
+ create_auth_dir_config, /* dir config creater */
NULL, /* dir merger --- default is to override */
NULL, /* server config */
NULL, /* merge server config */
auth_cmds, /* command table */
NULL, /* handlers */
- NULL, /* filename translation */
register_hooks /* register hooks */
+};