add config parser
This commit is contained in:
@@ -2,6 +2,14 @@
|
||||
#define CWS_CONFIG_H
|
||||
|
||||
typedef struct cws_config_t {
|
||||
char *host;
|
||||
char *port;
|
||||
|
||||
char *cert;
|
||||
char *key;
|
||||
} cws_config;
|
||||
|
||||
cws_config *cws_config_init(void);
|
||||
void cws_config_free(cws_config *config);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user