4 typedef struct _evcurl_request_data
7 char errdesc[CURL_ERROR_SIZE];
10 long PlainPostDataLen;
14 struct curl_slist * headers;
15 } evcurl_request_data;
23 sta = curl_easy_setopt(chnd, (CURLOPT_##s), (v)); \
25 CtdlLogPrintf(CTDL_ERR, "error setting option " #s " on curl handle: %s", curl_easy_strerror(sta)); \
29 int evcurl_init(evcurl_request_data *handle,
34 void evcurl_handle_start(evcurl_request_data *handle);