aboutsummaryrefslogtreecommitdiff
path: root/config.h
blob: 87502fb4f6b2b7c226e33a487608ffd9dfba1fc7 (plain)
1
2
3
4
5
6
7
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);