Mercurial > dovecot > core-2.2
diff src/login-common/login-proxy.h @ 2768:d344be0bb70f HEAD
Added IMAP and POP3 proxying support.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 18 Oct 2004 22:21:40 +0300 |
parents | |
children | e624a9ad6a30 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/login-common/login-proxy.h Mon Oct 18 22:21:40 2004 +0300 @@ -0,0 +1,11 @@ +#ifndef __LOGIN_PROXY_H +#define __LOGIN_PROXY_H + +/* Create a proxy to given host. Returns -1 if failed, or 0 if ok. + In any case the client should be destroyed after this call. */ +int login_proxy_new(struct client *client, const char *host, + unsigned int port, const char *login_cmd); + +void login_proxy_deinit(void); + +#endif