summaryrefslogtreecommitdiff
path: root/www/mod_auth_external/files/patch-mod_auth_external.c
blob: a25b52071e9a19fb2952a008b01bd2fa5a1e976b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
--- mod_auth_external.c.orig	Tue May 15 00:49:04 2001
+++ mod_auth_external.c	Tue May 15 00:50:55 2001
@@ -239,7 +239,7 @@
  * Structure for the module itself
  */
 
-module external_auth_module;
+module auth_external_module;
 
 /*
  *  Data types for per-dir and server configuration
@@ -303,7 +303,7 @@
     extauth_server_config_rec *sc_rec;
 
     sc_rec= ap_get_module_config( cmd->server->module_config,
-	&external_auth_module);
+	&auth_external_module);
 
     ap_table_set( sc_rec->auth_extpath, keyword, path );
 
@@ -323,7 +323,7 @@
     extauth_server_config_rec *sc_rec;
 
     sc_rec= ap_get_module_config( cmd->server->module_config,
-	&external_auth_module);
+	&auth_external_module);
 
     ap_table_set( sc_rec->group_extpath, keyword, path );
 
@@ -343,7 +343,7 @@
 	extauth_server_config_rec *sc_rec;
 
 	sc_rec= ap_get_module_config( cmd->server->module_config,
-	    &external_auth_module);
+	    &auth_external_module);
 
 	ap_table_set( sc_rec->auth_extmethod, keyword, method );
 	
@@ -361,7 +361,7 @@
 	extauth_server_config_rec *sc_rec;
 
 	sc_rec= ap_get_module_config( cmd->server->module_config,
-	    &external_auth_module);
+	    &auth_external_module);
 
 	ap_table_set( sc_rec->group_extmethod, keyword, method );
 	
@@ -565,11 +565,11 @@
 {
     extauth_dir_config_rec *dir_config_rec=
 	(extauth_dir_config_rec *)ap_get_module_config(r->per_dir_config,
-	&external_auth_module);
+	&auth_external_module);
 
     extauth_server_config_rec *server_config_rec=
 	(extauth_server_config_rec *)ap_get_module_config(r->server->module_config,
-	&external_auth_module);
+	&auth_external_module);
 
     const char *sent_pw;
     int res, code= 1;
@@ -679,11 +679,11 @@
 {
     extauth_dir_config_rec *dir_config_rec=
 	(extauth_dir_config_rec *)ap_get_module_config(r->per_dir_config,
-	&external_auth_module);
+	&auth_external_module);
 
     extauth_server_config_rec *server_config_rec=
 	(extauth_server_config_rec *)ap_get_module_config(r->server->module_config,
-	&external_auth_module);
+	&auth_external_module);
 
     conn_rec *c= r->connection;
 
@@ -787,7 +787,7 @@
     return AUTH_REQUIRED;
 }
 
-module external_auth_module= {
+module auth_external_module= {
     STANDARD_MODULE_STUFF,
     NULL,			 /* initializer */
     create_extauth_dir_config,	 /* dir config creater */