ssl-proxy.h revision 5da4bfdce070b54ce8dfcd1bf6249798cda86bd6
#ifndef SSL_PROXY_H
#define SSL_PROXY_H
struct ip_addr;
struct ssl_proxy;
struct login_settings;
struct client;
extern bool ssl_initialized;
typedef int ssl_handshake_callback_t(void *context);
/* establish SSL connection with the given fd, returns a new fd which you
must use from now on, or -1 if error occurred. Unless -1 is returned,
the given fd must be simply forgotten. */
const struct login_settings *set,
const struct login_settings *set,
/* Return number of active SSL proxies */
unsigned int ssl_proxy_get_count(void) ATTR_PURE;
void ssl_proxy_init(void);
void ssl_proxy_deinit(void);
#endif