1 --- apache-mod_auth_mysql-0.3/mod_auth_mysql.c.orig Mon Oct 22 14:15:13 2001
2 +++ apache-mod_auth_mysql-0.3/mod_auth_mysql.c Mon Oct 22 14:16:19 2001
6 * MODULE-DEFINITION-START
7 - * Name: mysql_auth_module
8 + * Name: auth_mysql_module
10 MYSQL_LIB="-L/usr/local/lib/mysql -lmysqlclient -lm"
11 if [ "X$MYSQL_LIB" != "X" ]; then
16 -module mysql_auth_module;
17 +module auth_mysql_module;
20 * Fetch and return password string from database for named user.
23 mysql_auth_config_rec *sec =
24 (mysql_auth_config_rec *)ap_get_module_config (r->per_dir_config,
25 - &mysql_auth_module);
26 + &auth_mysql_module);
27 conn_rec *c = r->connection;
28 const char *sent_pw, *real_pw;
32 mysql_auth_config_rec *sec =
33 (mysql_auth_config_rec *)ap_get_module_config(r->per_dir_config,
34 - &mysql_auth_module);
35 + &auth_mysql_module);
36 char *user = r->connection->user;
37 int method = r->method_number;
43 -module mysql_auth_module = {
44 +module auth_mysql_module = {
45 STANDARD_MODULE_STUFF,
46 NULL, /* initializer */
47 create_mysql_auth_dir_config, /* dir config creater */