Mercurial > dovecot > core-2.2
diff src/login-common/ssl-proxy.h @ 1049:c41787e8c3f4 HEAD
Moved common login process code to login-common, created pop3-login.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 28 Jan 2003 23:35:25 +0200 |
parents | |
children | 2660b47fd9bc |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/login-common/ssl-proxy.h Tue Jan 28 23:35:25 2003 +0200 @@ -0,0 +1,14 @@ +#ifndef __SSL_PROXY_H +#define __SSL_PROXY_H + +extern int ssl_initialized; + +/* establish SSL connection with the given fd, returns a new fd which you + must use from now on, or -1 if error occured. Unless -1 is returned, + the given fd must be simply forgotten. */ +int ssl_proxy_new(int fd); + +void ssl_proxy_init(void); +void ssl_proxy_deinit(void); + +#endif