resp->error_size = size;
}
-void _kds_s2000w_client_load_config()
-{
- const char* config_stream = read_config_file(CONFIG_FILE);
-
- if (config_stream == NULL)
- return;
-
- config = load_config(config_stream);
-}
-
void _kds_s2000w_client_stream_to_response(FILE* stream, response* resp, size_t* size)
{
debug_printf(ALL, "kds_s2000w_client_stream_to_response");
{
debug_printf(ALL, "kds_s2000w_client_init");
- _kds_s2000w_client_load_config();
+ const char* config_stream = read_config_file(CONFIG_FILE);
+ config = load_config(config_stream);
curl = curl_easy_init();
}