blob: e493c5fcc006f0f2710c8c65447b61ee72d8e64d (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
typedef struct server_config{
char *config_contents;
cJSON *config_parsed;
cJSON *log_enabled;
cJSON *log_file;
cJSON *bind_address;
cJSON *bind_port;
cJSON *server_password;
cJSON *cert_file;
cJSON *cert_key_file;
cJSON *webhooks_file;
} server_config_t;
typedef struct webhooks_data{
char *webhooks_config;
cJSON *webhooks_parsed;
cJSON *wh_exec_data;
cJSON *wh_command;
cJSON *wh_response;
char *wh_output;
} webhooks_data_t;
typedef struct log_file{
FILE *log_file;
} log_file_t;
|