diff options
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 8 |
1 files changed, 8 insertions, 0 deletions
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); |