Lines Matching refs:part
20 curl_mime_filename - set a mime part's remote filename
27 CURLcode curl_mime_filename(curl_mimepart *part,
33 curl_mime_filename(3) sets a mime part's remote filename. When remote
34 filename is set, content data is processed as a file, whatever is the part's
35 content source. A part's remote filename is transmitted to the server in the
38 *part* is the part's handle to assign the remote filename to.
43 The remote filename string is copied into the part, thus the associated
44 storage may safely be released or reused after call. Setting a part's file
58 curl_mimepart *part;
65 /* add a part */
66 part = curl_mime_addpart(mime);
69 curl_mime_data(part, imagebuf, sizeof(imagebuf));
72 curl_mime_filename(part, "image.png");
75 curl_mime_name(part, "data");