aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.h b/config.h
index 531a31e..58b3f7d 100644
--- a/config.h
+++ b/config.h
@@ -3,18 +3,20 @@
typedef struct {
const char *listening_addr;
- int port;
+ int listening_port;
const char *bucket;
const char *endpoint;
- const char *dir;
+ const char *s3_path;
const char *access_key;
const char *secret_key;
const char *web_endpoint;
+ const char *region;
} EZLiveConfig;
extern EZLiveConfig *ezlive_config;
void EZLiveConfig_init(EZLiveConfig *self);
void EZLiveConfig_load(EZLiveConfig *self, const char *filename);
+int EZLiveConfig_validate(EZLiveConfig *self);
#endif \ No newline at end of file