You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ro...@locus.apache.org on 2000/03/10 15:28:08 UTC
cvs commit: apache-2.0/src/modules/standard mod_auth_anon.c mod_auth_anon.exp mod_auth_db.c mod_auth_dbm.c mod_auth_dbm.exp
ronald 00/03/10 06:28:08
Modified: src/modules/standard mod_auth_anon.c mod_auth_anon.exp
mod_auth_db.c mod_auth_dbm.c mod_auth_dbm.exp
Log:
changed module name to more consistent naming scheme, as used by configure: mod_auth_xxx -> auth_xxx_module
Revision Changes Path
1.8 +4 -4 apache-2.0/src/modules/standard/mod_auth_anon.c
Index: mod_auth_anon.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_auth_anon.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- mod_auth_anon.c 2000/03/10 00:07:10 1.7
+++ mod_auth_anon.c 2000/03/10 14:28:06 1.8
@@ -209,13 +209,13 @@
{NULL}
};
-module MODULE_VAR_EXPORT anon_auth_module;
+module MODULE_VAR_EXPORT auth_anon_module;
static int anon_authenticate_basic_user(request_rec *r)
{
anon_auth_config_rec *sec =
(anon_auth_config_rec *) ap_get_module_config(r->per_dir_config,
- &anon_auth_module);
+ &auth_anon_module);
const char *sent_pw;
int res = DECLINED;
@@ -276,7 +276,7 @@
conn_rec *c = r->connection;
anon_auth_config_rec *sec =
(anon_auth_config_rec *) ap_get_module_config(r->per_dir_config,
- &anon_auth_module);
+ &auth_anon_module);
if (!sec->auth_anon)
return DECLINED;
@@ -294,7 +294,7 @@
ap_hook_auth_checker(check_anon_access,NULL,NULL,HOOK_MIDDLE);
}
-module MODULE_VAR_EXPORT anon_auth_module =
+module MODULE_VAR_EXPORT auth_anon_module =
{
STANDARD20_MODULE_STUFF,
create_anon_auth_dir_config,/* dir config creater */
1.2 +1 -1 apache-2.0/src/modules/standard/mod_auth_anon.exp
Index: mod_auth_anon.exp
===================================================================
RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_auth_anon.exp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mod_auth_anon.exp 1999/06/18 18:39:37 1.1
+++ mod_auth_anon.exp 2000/03/10 14:28:07 1.2
@@ -1 +1 @@
-anon_auth_module
+auth_anon_module
1.8 +5 -5 apache-2.0/src/modules/standard/mod_auth_db.c
Index: mod_auth_db.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_auth_db.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- mod_auth_db.c 2000/03/10 00:07:10 1.7
+++ mod_auth_db.c 2000/03/10 14:28:07 1.8
@@ -72,7 +72,7 @@
* instead of AuthDBMUserFile AuthDBMGroupFile
*
* Also, in the configuration file you need to specify
- * db_auth_module rather than dbm_auth_module
+ * auth_db_module rather than auth_dbm_module
*
* On some BSD systems (e.g. FreeBSD and NetBSD) dbm is automatically
* mapped to Berkeley DB. You can use either mod_auth_dbm or
@@ -150,7 +150,7 @@
{NULL}
};
-module db_auth_module;
+module auth_db_module;
static char *get_db_pw(request_rec *r, char *user, const char *auth_dbpwfile)
{
@@ -225,7 +225,7 @@
{
db_auth_config_rec *sec =
(db_auth_config_rec *) ap_get_module_config(r->per_dir_config,
- &db_auth_module);
+ &auth_db_module);
const char *sent_pw;
char *real_pw, *colon_pw;
char *invalid_pw;
@@ -267,7 +267,7 @@
{
db_auth_config_rec *sec =
(db_auth_config_rec *) ap_get_module_config(r->per_dir_config,
- &db_auth_module);
+ &auth_db_module);
char *user = r->user;
int m = r->method_number;
@@ -325,7 +325,7 @@
}
-module db_auth_module =
+module auth_db_module =
{
STANDARD_MODULE_STUFF,
NULL, /* initializer */
1.8 +5 -5 apache-2.0/src/modules/standard/mod_auth_dbm.c
Index: mod_auth_dbm.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_auth_dbm.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- mod_auth_dbm.c 2000/03/10 00:07:10 1.7
+++ mod_auth_dbm.c 2000/03/10 14:28:07 1.8
@@ -87,7 +87,7 @@
* instead.
*
* MODULE-DEFINITION-START
- * Name: dbm_auth_module
+ * Name: auth_dbm_module
* ConfigStart
. ./helpers/find-dbm-lib
* ConfigEnd
@@ -142,7 +142,7 @@
{NULL}
};
-module dbm_auth_module;
+module auth_dbm_module;
static char *get_dbm_pw(request_rec *r, char *user, char *auth_dbmpwfile)
{
@@ -209,7 +209,7 @@
{
dbm_auth_config_rec *sec =
(dbm_auth_config_rec *) ap_get_module_config(r->per_dir_config,
- &dbm_auth_module);
+ &auth_dbm_module);
const char *sent_pw;
char *real_pw, *colon_pw;
ap_status_t invalid_pw;
@@ -251,7 +251,7 @@
{
dbm_auth_config_rec *sec =
(dbm_auth_config_rec *) ap_get_module_config(r->per_dir_config,
- &dbm_auth_module);
+ &auth_dbm_module);
char *user = r->user;
int m = r->method_number;
@@ -315,7 +315,7 @@
ap_hook_auth_checker(dbm_check_auth, NULL, NULL, HOOK_MIDDLE);
}
-module dbm_auth_module =
+module auth_dbm_module =
{
STANDARD20_MODULE_STUFF,
create_dbm_auth_dir_config, /* dir config creater */
1.2 +1 -1 apache-2.0/src/modules/standard/mod_auth_dbm.exp
Index: mod_auth_dbm.exp
===================================================================
RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_auth_dbm.exp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mod_auth_dbm.exp 1999/06/18 18:39:37 1.1
+++ mod_auth_dbm.exp 2000/03/10 14:28:07 1.2
@@ -1 +1 @@
-dbm_auth_module
+auth_dbm_module