adding configuration structure

This commit is contained in:
Pierre-Francois Carpentier 2015-12-20 13:58:42 +01:00
parent 0b08077f99
commit 8c57bcd0a0
1 changed files with 13 additions and 0 deletions

13
inc/config.h Normal file
View File

@ -0,0 +1,13 @@
typedef struct uts_config {
char * port;
char * listen;
bool https;
cert https_cert;
void * ts_certs;
} uts_config;
typedef struct cert {
char * cert_file;
char * key_file;
} cert;