diff options
Diffstat (limited to 'docs/libcurl/curl_mime_headers.3')
-rw-r--r-- | docs/libcurl/curl_mime_headers.3 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/libcurl/curl_mime_headers.3 b/docs/libcurl/curl_mime_headers.3 index 368c4d26c..34e623ae0 100644 --- a/docs/libcurl/curl_mime_headers.3 +++ b/docs/libcurl/curl_mime_headers.3 @@ -29,22 +29,22 @@ curl_mime_headers - set a mime part's custom headers .BI "struct curl_slist * " headers ", int " take_ownership ");" .ad .SH DESCRIPTION -curl_mime_headers() sets a mime part's custom headers. +\fIcurl_mime_headers(3)\fP sets a mime part's custom headers. \fIpart\fP is the part's handle to assign the custom headers list to. -\fIheaders\fP is the head of a list of custom headers; it may be set to -NULL to remove a previously attached custom header list. + +\fIheaders\fP is the head of a list of custom headers; it may be set to NULL +to remove a previously attached custom header list. + \fItake_ownership\fP: when non-zero, causes the list to be freed upon replacement or mime structure deletion; in this case the list must not be freed explicitly. Setting a part's custom headers list twice is valid: only the value set by the last call is retained. - .SH AVAILABILITY As long as at least one of HTTP, SMTP or IMAP is enabled. Added in 7.56.0. .SH RETURN VALUE CURLE_OK or a CURL error code upon failure. - .SH "SEE ALSO" .BR curl_mime_addpart "(3)" |