From c9062e7d1a1d917f618b71ac3810b4f3e396ab0d Mon Sep 17 00:00:00 2001 From: cbdev Date: Fri, 7 Jun 2019 19:20:42 +0200 Subject: Main readme and config module --- config.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 config.h (limited to 'config.h') diff --git a/config.h b/config.h new file mode 100644 index 0000000..87502fb --- /dev/null +++ b/config.h @@ -0,0 +1,8 @@ +typedef struct /*_websocksy_config*/ { + char* host; + char* port; + ws_backend backend; +} ws_config; + +int config_parse_file(ws_config* config, char* filename); +int config_parse_arguments(ws_config* config, int argc, char** argv); -- cgit v1.2.3