1
0
mirror of https://git.sr.ht/~sircmpwn/gmnisrv synced 2024-06-29 17:55:25 +00:00
gmnisrv/include/tls.h
Drew DeVault fa69887e52 Implement TLS exchange with clients
This probably leaves a bit to be desired tbh
2020-09-24 19:58:41 -04:00

11 lines
251 B
C

#ifndef GMNISRV_TLS
#define GMNISRV_TLS
struct gmnisrv_config;
int gmnisrv_tls_init(struct gmnisrv_config *conf);
SSL *gmnisrv_tls_get_ssl(struct gmnisrv_config *conf, int fd);
void gmnisrv_tls_set_host(SSL *ssl, struct gmnisrv_host *host);
#endif