Logger and config refactor

This commit is contained in:
2022-12-19 14:28:40 +01:00
parent 45514f90ca
commit dd4f768cc4
6 changed files with 14 additions and 12 deletions

View File

@@ -52,10 +52,11 @@ typedef struct {
typedef struct {
host_config_t hosts[CONFIG_MAX_HOST_CONFIG];
cert_config_t certs[CONFIG_MAX_CERT_CONFIG];
char geoip_dir[256];
char dns_server[256];
} config_t;
extern config_t config;
extern char geoip_dir[256], dns_server[256];
int config_load(const char *filename);