[dovecot-cvs] dovecot/src/auth passdb.c, 1.29, 1.30 passdb.h, 1.19, 1.20 userdb.c, 1.16, 1.17 userdb.h, 1.17, 1.18

cras at dovecot.org cras at dovecot.org
Fri Jan 7 22:01:11 EET 2005


Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv13834

Modified Files:
	passdb.c passdb.h userdb.c userdb.h 
Log Message:
Moved extern userdb/passdb declarations to .c files.



Index: passdb.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/passdb.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- passdb.c	7 Jan 2005 19:55:50 -0000	1.29
+++ passdb.c	7 Jan 2005 20:01:08 -0000	1.30
@@ -8,6 +8,16 @@
 
 #include <stdlib.h>
 
+extern struct passdb_module passdb_passwd;
+extern struct passdb_module passdb_bsdauth;
+extern struct passdb_module passdb_shadow;
+extern struct passdb_module passdb_passwd_file;
+extern struct passdb_module passdb_pam;
+extern struct passdb_module passdb_checkpassword;
+extern struct passdb_module passdb_vpopmail;
+extern struct passdb_module passdb_ldap;
+extern struct passdb_module passdb_sql;
+
 struct passdb_module *passdbs[] = {
 #ifdef PASSDB_PASSWD
 	&passdb_passwd,

Index: passdb.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/passdb.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- passdb.h	7 Jan 2005 19:55:50 -0000	1.19
+++ passdb.h	7 Jan 2005 20:01:08 -0000	1.20
@@ -58,16 +58,6 @@
 			       lookup_credentials_callback_t *callback,
                                struct auth_request *auth_request);
 
-extern struct passdb_module passdb_passwd;
-extern struct passdb_module passdb_bsdauth;
-extern struct passdb_module passdb_shadow;
-extern struct passdb_module passdb_passwd_file;
-extern struct passdb_module passdb_pam;
-extern struct passdb_module passdb_checkpassword;
-extern struct passdb_module passdb_vpopmail;
-extern struct passdb_module passdb_ldap;
-extern struct passdb_module passdb_sql;
-
 void passdb_preinit(struct auth *auth, const char *data);
 void passdb_init(struct auth *auth);
 void passdb_deinit(struct auth *auth);

Index: userdb.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/userdb.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- userdb.c	7 Jan 2005 19:55:50 -0000	1.16
+++ userdb.c	7 Jan 2005 20:01:08 -0000	1.17
@@ -8,6 +8,14 @@
 #include <pwd.h>
 #include <grp.h>
 
+extern struct userdb_module userdb_passdb;
+extern struct userdb_module userdb_static;
+extern struct userdb_module userdb_passwd;
+extern struct userdb_module userdb_passwd_file;
+extern struct userdb_module userdb_vpopmail;
+extern struct userdb_module userdb_ldap;
+extern struct userdb_module userdb_sql;
+
 struct userdb_module *userdbs[] = {
 #ifdef USERDB_PASSWD
 	&userdb_passwd,

Index: userdb.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/userdb.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- userdb.h	7 Jan 2005 19:55:50 -0000	1.17
+++ userdb.h	7 Jan 2005 20:01:08 -0000	1.18
@@ -26,14 +26,6 @@
 		       userdb_callback_t *callback, void *context);
 };
 
-extern struct userdb_module userdb_passdb;
-extern struct userdb_module userdb_static;
-extern struct userdb_module userdb_passwd;
-extern struct userdb_module userdb_passwd_file;
-extern struct userdb_module userdb_vpopmail;
-extern struct userdb_module userdb_ldap;
-extern struct userdb_module userdb_sql;
-
 uid_t userdb_parse_uid(struct auth_request *request, const char *str);
 gid_t userdb_parse_gid(struct auth_request *request, const char *str);
 



More information about the dovecot-cvs mailing list