From 65c2a56c6d62e3c24d52da8c63f306b70becdb45 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 23 Sep 2020 12:40:28 -0400 Subject: Initialize sockets --- include/config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/config.h') diff --git a/include/config.h b/include/config.h index f9d875c..dec0e15 100644 --- a/include/config.h +++ b/include/config.h @@ -15,6 +15,7 @@ struct gmnisrv_host { }; struct gmnisrv_bind { + char *name; int family, port; char addr[sizeof(struct in6_addr)]; struct gmnisrv_bind *next; @@ -27,6 +28,7 @@ struct gmnisrv_config { }; int load_config(struct gmnisrv_config *conf, const char *path); +void config_finish(struct gmnisrv_config *conf); struct gmnisrv_host *gmnisrv_config_get_host( struct gmnisrv_config *conf, const char *hostname); -- cgit v1.2.3