dovecot-1.2: login proxy: Forgot to add login-proxy-state.h in p...

dovecot at dovecot.org dovecot at dovecot.org
Wed Aug 12 22:27:41 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/bac1371c18e4
changeset: 9309:bac1371c18e4
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Aug 12 15:27:36 2009 -0400
description:
login proxy: Forgot to add login-proxy-state.h in previous commit.

diffstat:

1 file changed, 17 insertions(+)
src/login-common/login-proxy-state.h |   17 +++++++++++++++++

diffs (21 lines):

diff -r 1072d2b53f72 -r bac1371c18e4 src/login-common/login-proxy-state.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/login-common/login-proxy-state.h	Wed Aug 12 15:27:36 2009 -0400
@@ -0,0 +1,17 @@
+#ifndef LOGIN_PROXY_STATE_H
+#define LOGIN_PROXY_STATE_H
+
+struct login_proxy_record {
+	time_t last_failure;
+	time_t last_success;
+	unsigned int num_waiting_connections;
+};
+
+struct login_proxy_state *login_proxy_state_init(void);
+void login_proxy_state_deinit(struct login_proxy_state **state);
+
+struct login_proxy_record *
+login_proxy_state_get(struct login_proxy_state *state,
+		      const struct ip_addr *ip);
+
+#endif


More information about the dovecot-cvs mailing list