1
/* $Id: ssl.h,v 1.21 2004/08/03 00:50:50 jonas Exp $ */
8
#include "modules/module.h"
9
#include "sched/connection.h"
11
extern struct module ssl_module;
13
/* Initializes the SSL connection data. Returns S_OK on success and S_SSL_ERROR
15
int init_ssl_connection(struct connection_socket *socket);
17
/* Releases the SSL connection data */
18
void done_ssl_connection(struct connection_socket *socket);
20
unsigned char *get_ssl_connection_cipher(struct connection *conn);
23
/* Internal type used in ssl module. */
27
#elif defined(CONFIG_GNUTLS)
28
#define ssl_t gnutls_session_t
31
#endif /* CONFIG_SSL */