mirror of
https://github.com/kakwa/uts-server
synced 2025-01-10 05:34:29 +01:00
adding configuration structure
This commit is contained in:
parent
d589dd9425
commit
d6621b3534
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…
x
Reference in New Issue
Block a user