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;