30 register int realsize = size * nmemb;
35 memcpy(&(mem->
memory[mem->
size]), ptr, realsize);
36 mem->
size += realsize;
42 int main(
int argc,
char **argv)
CURLcode curl_global_init(long flags)
Globally initializes cURL given a bitwise set of the different features to initialize.
size_t WriteMemoryCallback(void *ptr, size_t size, size_t nmemb, void *data)
CURLcode curl_easy_perform(CURL *curl)
CURLcode curl_easy_setopt(CURL *curl, CURLoption option,...)
GLsizei GLsizei GLenum GLenum const GLvoid * data
void curl_easy_cleanup(CURL *curl)
#define CURLOPT_WRITEDATA
int main(int argc, char **argv)
CURL * curl_easy_init(void)