Mercurial > dovecot > original-hg > dovecot-1.2
diff src/auth/mech.h @ 2798:54b29901a793 HEAD
Added simple LRU cache for auth requests. Currently only for sql passdb.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 21 Oct 2004 05:23:09 +0300 |
parents | e44a84dc947c |
children | 2f0fd2e7ab89 |
line wrap: on
line diff
--- a/src/auth/mech.h Thu Oct 21 02:34:34 2004 +0300 +++ b/src/auth/mech.h Thu Oct 21 05:23:09 2004 +0300 @@ -89,6 +89,13 @@ void auth_request_ref(struct auth_request *request); int auth_request_unref(struct auth_request *request); +struct auth_request_extra * +auth_request_extra_begin(struct auth_request *request, const char *password); +void auth_request_extra_next(struct auth_request_extra *extra, + const char *name, const char *value); +void auth_request_extra_finish(struct auth_request_extra *extra, + const char *cache_key); + const struct var_expand_table * auth_request_get_var_expand_table(const struct auth_request *auth_request, const char *(*escape_func)(const char *));