Home
last modified time | relevance | path

Searched refs:mimepost (Results 1 – 19 of 19) sorted by relevance

/third_party/curl/lib/
Dimap.c773 if(data->set.mimepost.kind != MIMEKIND_NONE) { in imap_perform_append()
775 data->set.mimepost.flags &= ~MIME_BODY_ONLY; in imap_perform_append()
778 curl_mime_headers(&data->set.mimepost, data->set.headers, 0); in imap_perform_append()
779 result = Curl_mime_prepare_headers(data, &data->set.mimepost, NULL, in imap_perform_append()
784 result = Curl_mime_add_header(&data->set.mimepost.curlheaders, in imap_perform_append()
789 result = Curl_mime_rewind(&data->set.mimepost); in imap_perform_append()
794 data->state.infilesize = Curl_mime_size(&data->set.mimepost); in imap_perform_append()
798 data->state.in = (void *) &data->set.mimepost; in imap_perform_append()
1524 data->set.mimepost.kind != MIMEKIND_NONE)) { in imap_done()
1527 if(!data->state.upload && data->set.mimepost.kind == MIMEKIND_NONE) in imap_done()
[all …]
Dsmtp.c694 if(data->set.mimepost.kind != MIMEKIND_NONE) { in smtp_perform_mail()
696 data->set.mimepost.flags &= ~MIME_BODY_ONLY; in smtp_perform_mail()
699 curl_mime_headers(&data->set.mimepost, data->set.headers, 0); in smtp_perform_mail()
700 result = Curl_mime_prepare_headers(data, &data->set.mimepost, NULL, in smtp_perform_mail()
705 result = Curl_mime_add_header(&data->set.mimepost.curlheaders, in smtp_perform_mail()
710 result = Curl_mime_rewind(&data->set.mimepost); in smtp_perform_mail()
719 data->state.infilesize = Curl_mime_size(&data->set.mimepost); in smtp_perform_mail()
723 data->state.in = (void *) &data->set.mimepost; in smtp_perform_mail()
1419 (data->state.upload || data->set.mimepost.kind)) { in smtp_done()
1511 if((data->state.upload || data->set.mimepost.kind) && data->set.mail_rcpt) in smtp_perform()
Dhttp.c2410 data->state.mimepost = &data->set.mimepost; in Curl_http_body()
2425 data->state.mimepost = data->state.formp; in Curl_http_body()
2430 data->state.mimepost = NULL; in Curl_http_body()
2434 if(data->state.mimepost) { in Curl_http_body()
2438 data->state.mimepost->flags |= MIME_BODY_ONLY; in Curl_http_body()
2445 else if(data->state.mimepost->kind == MIMEKIND_MULTIPART) in Curl_http_body()
2448 curl_mime_headers(data->state.mimepost, data->set.headers, 0); in Curl_http_body()
2449 result = Curl_mime_prepare_headers(data, data->state.mimepost, cthdr, in Curl_http_body()
2451 curl_mime_headers(data->state.mimepost, NULL, 0); in Curl_http_body()
2453 result = Curl_mime_rewind(data->state.mimepost); in Curl_http_body()
[all …]
Deasy.c846 Curl_mime_initpart(&dst->set.mimepost); in dupset()
880 result = Curl_mime_duppart(dst, &dst->set.mimepost, &src->set.mimepost); in dupset()
Durldata.h1413 curl_mimepart *mimepost; member
1711 curl_mimepart mimepost; /* MIME/POST data. */ member
Dmulti.c1771 curl_mimepart *mimepart = &data->set.mimepost;
1787 if(data->state.mimepost)
1788 mimepart = data->state.mimepost;
Durl.c320 Curl_mime_cleanpart(&data->set.mimepost); in Curl_freeset()
531 Curl_mime_initpart(&set->mimepost); in Curl_init_userdefined()
Dsetopt.c987 result = Curl_mime_set_subparts(&data->set.mimepost, in Curl_vsetopt()
/third_party/curl/src/
Dtool_cfgable.c158 curl_mime_free(config->mimepost); in free_config_fields()
159 config->mimepost = NULL; in free_config_fields()
Dtool_setopt.h92 curl_mime *mimepost);
Dtool_cfgable.h204 curl_mime *mimepost; member
Dtool_setopt.c518 curl_mime *mimepost) in tool_setopt_mimepost() argument
520 CURLcode ret = curl_easy_setopt(curl, tag, mimepost); in tool_setopt_mimepost()
Dtool_operate.c1633 curl_mime_free(config->mimepost); in single_transfer()
1634 config->mimepost = NULL; in single_transfer()
1640 result = tool2curlmime(curl, config->mimeroot, &config->mimepost); in single_transfer()
1642 my_setopt_mimepost(curl, CURLOPT_MIMEPOST, config->mimepost); in single_transfer()
/third_party/curl/tests/data/
Dtest66747 HTTP chunked mimepost using single-byte read callback with encoder
Dtest66847 HTTP mimepost early end of data detection
Dtest64354 HTTP multi-part mimepost using read callback for the file part
Dtest64554 HTTP multi-part chunked mimepost using read callback for the file part
/third_party/curl/tests/libtest/
Dmk-lib1521.pl162 curl_mime *mimepost = NULL;
/third_party/curl/
DCHANGES3702 - lib: move mimepost data from ->req.p.http to ->state