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:
parent
0b08077f99
commit
8c57bcd0a0
13
inc/config.h
Normal file
13
inc/config.h
Normal 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;
|
Loading…
Reference in New Issue
Block a user