27 static char data[]=
"this is a short string.\n";
32 double ultotal,
double ulnow)
42 fprintf(moo,
"PASSED, UL data matched data size\n");
44 fprintf(moo,
"Progress callback called with UL %f out of %f\n",
57 fprintf(stderr,
"curl_global_init() failed\n");
63 fprintf(stderr,
"curl_easy_init() failed\n");
74 #ifdef CURL_DOES_CONVERSIONS #define test_setopt(A, B, C)
static int progress_callback(void *clientp, double dltotal, double dlnow, double ultotal, double ulnow)
#define TEST_ERR_MAJOR_BAD
curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_ioctl_callback argument for this option curl_easy_setopt expects a curl_opensocket_callback argument for this option curl_easy_setopt expects a curl_debug_callback argument for this option curl_easy_setopt expects a curl_conv_callback argument for this option curl_easy_setopt expects a private data pointer as argument for this option curl_easy_setopt expects a FILE *argument for this option curl_easy_setopt expects a struct curl_httppost *argument for this option curl_easy_setopt expects a struct curl_slist *argument for this option curl_easy_getinfo expects a pointer to char *for this info curl_easy_getinfo expects a pointer to double for this info curl_easy_getinfo expects a pointer to struct curl_tlssessioninfo *for this info curl_easy_getinfo expects a pointer to curl_socket_t for this info size_t
CURL_EXTERN CURL * curl_easy_init(void)
CURL_EXTERN void curl_easy_cleanup(CURL *curl)
CURL_EXTERN CURLcode curl_global_init(long flags)
curl_global_init() globally initializes curl given a bitwise set of the different features of what to...
CURL_EXTERN void curl_global_cleanup(void)
curl_global_cleanup() globally cleanups curl, uses the value of "init_flags" to determine what needs ...
CURL_EXTERN CURLcode curl_easy_perform(CURL *curl)