From 3f38170efd67a9869cb451642fd4cd0a1f2dfb5f Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 1 Aug 2019 18:04:48 +0200 Subject: Added configuration file parsing --- common/config.h.in | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'common/config.h.in') diff --git a/common/config.h.in b/common/config.h.in index 2f41d8d..9f27b70 100644 --- a/common/config.h.in +++ b/common/config.h.in @@ -6,4 +6,12 @@ #define VERSION "@PROJECT_VERSION@" #define GIT_HASH "@GIT_HASH@" +#define DEFAULT_WEB_URL "http://localhost:3000/" +#define DEFAULT_WSS_URL "ws://localhost:3000/websocket" + +char config_load(const char *config_file); +const char * config_get_web_url(void); +const char * config_get_wss_url(void); +void config_clean(void); + #endif -- cgit v1.2.3