From 8c57bcd0a0e6e8d45850fc2aa3e83826264433c8 Mon Sep 17 00:00:00 2001 From: Pierre-Francois Carpentier Date: Sun, 20 Dec 2015 13:58:42 +0100 Subject: [PATCH] adding configuration structure --- inc/config.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 inc/config.h diff --git a/inc/config.h b/inc/config.h new file mode 100644 index 0000000..8632450 --- /dev/null +++ b/inc/config.h @@ -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;