[dovecot-cvs] dovecot/src/login-common login-proxy.c, 1.10.2.2, 1.10.2.3 login-proxy.h, 1.2.2.1, 1.2.2.2

tss at dovecot.org tss at dovecot.org
Sun Jan 21 10:35:53 UTC 2007


Update of /var/lib/cvs/dovecot/src/login-common
In directory talvi:/tmp/cvs-serv2791

Modified Files:
      Tag: branch_1_0
	login-proxy.c login-proxy.h 
Log Message:
Forgot to commit for the "log proxy destination" change.



Index: login-proxy.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/login-common/login-proxy.c,v
retrieving revision 1.10.2.2
retrieving revision 1.10.2.3
diff -u -d -r1.10.2.2 -r1.10.2.3
--- login-proxy.c	13 Oct 2006 23:11:03 -0000	1.10.2.2
+++ login-proxy.c	21 Jan 2007 10:35:20 -0000	1.10.2.3
@@ -227,6 +227,16 @@
 	main_listen_start();
 }
 
+const char *login_proxy_get_host(struct login_proxy *proxy)
+{
+	return proxy->host;
+}
+
+unsigned int login_proxy_get_port(struct login_proxy *proxy)
+{
+	return proxy->port;
+}
+
 unsigned int login_proxy_get_count(void)
 {
 	return login_proxies == NULL ? 0 : hash_size(login_proxies);

Index: login-proxy.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/login-common/login-proxy.h,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -u -d -r1.2.2.1 -r1.2.2.2
--- login-proxy.h	6 Aug 2006 20:05:24 -0000	1.2.2.1
+++ login-proxy.h	21 Jan 2007 10:35:20 -0000	1.2.2.2
@@ -20,6 +20,9 @@
 void login_proxy_detach(struct login_proxy *proxy, struct istream *client_input,
 			struct ostream *client_output);
 
+const char *login_proxy_get_host(struct login_proxy *proxy);
+unsigned int login_proxy_get_port(struct login_proxy *proxy);
+
 /* Return number of active detached login proxies */
 unsigned int login_proxy_get_count(void);
 



More information about the dovecot-cvs mailing list