add config parser

This commit is contained in:
2025-04-25 12:19:07 +02:00
parent dd9e2f557b
commit b9dd1c4007
7 changed files with 85 additions and 13 deletions

View File

@@ -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