1
0
mirror of https://git.sr.ht/~sircmpwn/gmnisrv synced 2024-11-03 06:07:17 -05:00
gmnisrv/include/tls.h

12 lines
265 B
C
Raw Normal View History

#ifndef GMNISRV_TLS
#define GMNISRV_TLS
struct gmnisrv_config;
2020-09-26 16:10:10 -04:00
int tls_init(struct gmnisrv_config *conf);
void tls_finish(struct gmnisrv_config *conf);
SSL *tls_get_ssl(struct gmnisrv_config *conf);
2020-09-26 16:10:10 -04:00
void tls_set_host(SSL *ssl, struct gmnisrv_host *host);
#endif