Mercurial > dovecot > original-hg > dovecot-1.2
diff src/auth/db-passwd-file.h @ 3657:0c10475d9968 HEAD
Separated passdb_module's interface and the actual data struct. Now it's
possible to have multiple passdbs of same type but with different settings.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 16 Oct 2005 17:06:59 +0300 |
parents | ee0e39cf4ca5 |
children | 55df57c028d4 |
line wrap: on
line diff
--- a/src/auth/db-passwd-file.h Sun Oct 16 15:49:14 2005 +0300 +++ b/src/auth/db-passwd-file.h Sun Oct 16 17:06:59 2005 +0300 @@ -26,6 +26,8 @@ }; struct db_passwd_file { + struct db_passwd_file *next; + int refcount; char *path; @@ -37,9 +39,6 @@ unsigned int userdb:1; }; -extern struct db_passwd_file *userdb_pwf; -extern struct db_passwd_file *passdb_pwf; - struct passwd_user * db_passwd_file_lookup(struct db_passwd_file *db, struct auth_request *request);