summaryrefslogtreecommitdiffstats
path: root/include/tls.h
blob: 0882ff07a71efc5d044551bc79b1b1b84e8c1971 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#ifndef GMNISRV_TLS
#define GMNISRV_TLS

struct gmnisrv_config;

int tls_init(struct gmnisrv_config *conf);
void tls_finish(struct gmnisrv_config *conf);
SSL *tls_get_ssl(struct gmnisrv_config *conf);
void tls_set_host(SSL *ssl, struct gmnisrv_host *host);

#endif