57 "ftp://ftp.sunet.se/pub/www/utilities/curl/curl-7.9.2.tar.gz");
73 fprintf(stderr,
"curl told us %d\n", res);
CURLcode curl_global_init(long flags)
Globally initializes cURL given a bitwise set of the different features to initialize.
CURLcode curl_easy_perform(CURL *curl)
CURLcode curl_easy_setopt(CURL *curl, CURLoption option,...)
void curl_global_cleanup(void)
Globally cleanup cURL, uses the value of "init_flags" to determine what needs to be cleaned up and ...
#define CURL_GLOBAL_DEFAULT
void curl_easy_cleanup(CURL *curl)
#define CURLOPT_WRITEDATA
CURL * curl_easy_init(void)
int my_fwrite(void *buffer, size_t size, size_t nmemb, void *stream)