Lines Matching refs:part
19 curl_mime_subparts - set sub-parts of a multipart mime part
26 CURLcode curl_mime_subparts(curl_mimepart *part, curl_mime *subparts);
31 curl_mime_subparts(3) sets a multipart mime part's content from a mime
34 *part* is a handle to the multipart part.
38 multipart part and must not be freed explicitly. It may however be updated by
41 Setting a part's contents multiple times is valid: only the value set by the
42 last call is retained. It is possible to unassign previous part's contents by
60 /* The inline part is an alternative proposing the html and the text
63 curl_mimepart *part;
66 part = curl_mime_addpart(alt);
67 curl_mime_data(part, inline_html, CURL_ZERO_TERMINATED);
68 curl_mime_type(part, "text/html");
71 part = curl_mime_addpart(alt);
72 curl_mime_data(part, inline_text, CURL_ZERO_TERMINATED);
74 /* Create the inline part. */
75 part = curl_mime_addpart(alt);
76 curl_mime_subparts(part, alt);
77 curl_mime_type(part, "multipart/alternative");
79 curl_mime_headers(part, slist, 1);