diff options
| author | Mistivia <i@mistivia.com> | 2025-09-13 20:53:56 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-09-13 20:53:56 +0800 |
| commit | a4daf467f871b0e77f07f1071b47b960da7bfba9 (patch) | |
| tree | 43b8847b395a90f5aadb57593c0d84e2c13cca7c /config.h | |
| parent | f3eeea1d7092f3ca98836035bf75b941d14c2067 (diff) | |
add s3 client
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/config.h b/config.h new file mode 100644 index 0000000..531a31e --- /dev/null +++ b/config.h @@ -0,0 +1,20 @@ +#ifndef EZLIVE_CONFIG_H_ +#define EZLIVE_CONFIG_H_ + +typedef struct { + const char *listening_addr; + int port; + const char *bucket; + const char *endpoint; + const char *dir; + const char *access_key; + const char *secret_key; + const char *web_endpoint; +} EZLiveConfig; + +extern EZLiveConfig *ezlive_config; + +void EZLiveConfig_init(EZLiveConfig *self); +void EZLiveConfig_load(EZLiveConfig *self, const char *filename); + +#endif
\ No newline at end of file |
