Mercurial > dovecot > core-2.2
diff src/lib-master/master-login-auth.c @ 10199:9d13e9f78d52 HEAD
lib-master: Fixes to handling master-login services.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 26 Oct 2009 23:41:54 -0400 |
parents | e027503ddb6b |
children | a0d99b374aa4 |
line wrap: on
line diff
--- a/src/lib-master/master-login-auth.c Mon Oct 26 22:10:42 2009 -0400 +++ b/src/lib-master/master-login-auth.c Mon Oct 26 23:41:54 2009 -0400 @@ -288,3 +288,8 @@ login_req->context = context; hash_table_insert(auth->requests, POINTER_CAST(id), login_req); } + +unsigned int master_login_auth_request_count(struct master_login_auth *auth) +{ + return hash_table_count(auth->requests); +}