So I am trying to wrap just the "easy" part of libcurl. I have to come up with a way to Extern this function:
In C, this function takes an option, then an arbitrary data type:
How do you Extern varargs?
CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...);
In C, this function takes an option, then an arbitrary data type:
curl_easy_setopt(curl, CURLOPT_POST, 0); curl_easy_setopt(curl, CURLOPT_URL, "urlStr"); curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, curlData);
How do you Extern varargs?