add: config loading

This commit is contained in:
Tobias Reisinger 2020-04-17 01:38:25 +02:00
parent 3cd6668f9c
commit 25ba0ff723
22 changed files with 5799 additions and 75 deletions

View file

@ -1,6 +1,8 @@
#ifndef CONTROLLER_HELPERS_H
#define CONTROLLER_HELPERS_H
#include <confini.h>
int
helper_connect_tcp_server(char* host, uint16_t port);
@ -22,4 +24,7 @@ helper_get_port(int sock);
int
helper_open_discovery_socket(uint16_t discovery_port);
int
helper_load_config(IniDispatch *disp, void *config_void);
#endif /* CONTROLLER_HELPERS_H */