Lines Matching defs:upload
80 * upload completely sent off: 605 out of 605 bytes
132 struct downloading *upload = NULL;
150 upload = (struct downloading *)calloc(1, sizeof(struct downloading));
151 if (upload == NULL) {
158 free(upload);
281 upload->memory = strdup(cap_data);
282 upload->size = strlen(cap_data);
291 curl_easy_setopt(curl_handle, CURLOPT_POSTFIELDS, (const char*)upload->memory);
292 curl_easy_setopt(curl_handle, CURLOPT_POSTFIELDSIZE, upload->size);
366 if (upload != NULL) {
367 free(upload->memory);
368 free(upload);