blob: 531a31e84bf94d79cef4a2e8d1e15b0d5a15d7a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
|