Commit cd74308c authored by Ronald Tschalar's avatar Ronald Tschalar
Browse files

changed module name to more consistent naming scheme, as used by configure:...

changed module name to more consistent naming scheme, as used by configure: mod_auth_xxx -> auth_xxx_module


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84729 13f79535-47bb-0310-9956-ffa450edef68
parent da0657b5
Loading
Loading
Loading
Loading
+4 −4
Changes for modules/aaa/mod_auth_anon.c: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -209,13 +209,13 @@ static const command_rec anon_auth_cmds[] =
    {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 @@ static int check_anon_access(request_rec *r)
    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 @@ static void register_hooks(void)
    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 −1
Changes for modules/aaa/mod_auth_anon.exp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
anon_auth_module
auth_anon_module
+5 −5
Changes for modules/aaa/mod_auth_db.c: 5 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -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 @@ static const command_rec db_auth_cmds[] =
    {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 @@ static int db_authenticate_basic_user(request_rec *r)
{
    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 @@ static int db_check_auth(request_rec *r)
{
    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 @@ static int db_check_auth(request_rec *r)
}


module db_auth_module =
module auth_db_module =
{
    STANDARD_MODULE_STUFF,
    NULL,			/* initializer */
+5 −5
Changes for modules/aaa/mod_auth_dbm.c: 5 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -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 @@ static const command_rec dbm_auth_cmds[] =
    {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 @@ static int dbm_authenticate_basic_user(request_rec *r)
{
    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 @@ static int dbm_check_auth(request_rec *r)
{
    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 @@ static void register_hooks(void)
    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 −1
Changes for modules/aaa/mod_auth_dbm.exp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
dbm_auth_module
auth_dbm_module