1
0
mirror of https://github.com/kakwa/uts-server synced 2024-12-04 23:15:54 +01:00

adding configuration structure

This commit is contained in:
Pierre-Francois Carpentier 2015-12-20 13:58:42 +01:00
parent 0b08077f99
commit 8c57bcd0a0

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;