1
0
mirror of https://git.sr.ht/~sircmpwn/gmnisrv synced 2024-06-22 17:45:25 +00:00
gmnisrv/include/tls.h
Drew DeVault 1fe107875b Overhaul network I/O to be async for real
Had to totally cut off OpenSSL from the network fd because obviously
OpenSSL is just going to wreck our shit
2020-10-25 14:50:07 -04:00

12 lines
265 B
C

#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