Mercurial > dovecot > core-2.2
comparison 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 |
comparison
equal
deleted
inserted
replaced
2767:54dfccbe7f11 | 2768:d344be0bb70f |
---|---|
1 #ifndef __LOGIN_PROXY_H | |
2 #define __LOGIN_PROXY_H | |
3 | |
4 /* Create a proxy to given host. Returns -1 if failed, or 0 if ok. | |
5 In any case the client should be destroyed after this call. */ | |
6 int login_proxy_new(struct client *client, const char *host, | |
7 unsigned int port, const char *login_cmd); | |
8 | |
9 void login_proxy_deinit(void); | |
10 | |
11 #endif |