43 printf(
"=============================================================\n");
44 printf(
"Remains: %d\n", remains);
77 printf(
"Content:\n-----------------------" 78 "--------------------------------------\n");
80 if(strcmp(finfo->
filename,
"someothertext.txt") == 0) {
81 printf(
"# THIS CONTENT WAS SKIPPED IN CHUNK_BGN CALLBACK #\n");
93 printf(
"-------------------------------------------------------------\n");
96 printf(
"=============================================================\n");
116 test_setopt(handle, CURLOPT_CHUNK_DATA, &chunk_data);
#define CURL_CHUNK_END_FUNC_OK
#define test_setopt(A, B, C)
#define CURLFINFOFLAG_KNOWN_PERM
struct curl_fileinfo::@5 strings
UNITTEST_START char * ptr
static long chunk_end(void *ptr)
static long chunk_bgn(const struct curl_fileinfo *finfo, void *ptr, int remains)
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 ...
#define CURL_CHUNK_BGN_FUNC_OK
CURL_EXTERN CURLcode curl_easy_perform(CURL *curl)
#define CURL_CHUNK_BGN_FUNC_SKIP