void rest_clear_headers(t_rest *const rest, const t_symbol *const sel, const int argc, const t_atom *const argv) { (void) sel; (void) argc; (void) argv; ctw_clear_headers((struct _ctw *)rest); }
static void ctw_free(struct _ctw *common) { string_free(common->base_url, &common->base_url_len); string_free(common->parameters, &common->parameters_len); string_free(common->complete_url, &common->complete_url_len); string_free(common->auth_token, &common->auth_token_len); string_free(common->out_file, &common->out_file_len); ctw_clear_headers(common); curl_global_cleanup(); #ifdef NEEDS_CERT_PATH string_free(common->cert_path, &common->cert_path_len); #endif }