mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
docs/curl_mime_*.3: use correct variable types in examples
This commit is contained in:
parent
ea142a837e
commit
8b902ef0af
@ -40,8 +40,8 @@ As long as at least one of HTTP, SMTP or IMAP is enabled. Added in 7.56.0.
|
||||
A mime part structure handle, or NULL upon failure.
|
||||
.SH EXAMPLE
|
||||
.nf
|
||||
struct curl_mime *mime;
|
||||
struct mimepart *part;
|
||||
curl_mime *mime;
|
||||
curl_mimepart *part;
|
||||
|
||||
/* create a mime handle */
|
||||
mime = curl_mime_init(easy);
|
||||
|
@ -50,8 +50,8 @@ As long as at least one of HTTP, SMTP or IMAP is enabled. Added in 7.56.0.
|
||||
CURLE_OK or a CURL error code upon failure.
|
||||
.SH EXAMPLE
|
||||
.nf
|
||||
struct curl_mime *mime;
|
||||
struct mimepart *part;
|
||||
curl_mime *mime;
|
||||
curl_mimepart *part;
|
||||
|
||||
/* create a mime handle */
|
||||
mime = curl_mime_init(easy);
|
||||
|
@ -55,8 +55,8 @@ As long as at least one of HTTP, SMTP or IMAP is enabled. Added in 7.56.0.
|
||||
CURLE_OK or a CURL error code upon failure.
|
||||
.SH EXAMPLE
|
||||
.nf
|
||||
struct curl_mime *mime;
|
||||
struct mimepart *part;
|
||||
curl_mime *mime;
|
||||
curl_mimepart *part;
|
||||
|
||||
/* create a mime handle */
|
||||
mime = curl_mime_init(easy);
|
||||
|
@ -48,8 +48,8 @@ As long as at least one of HTTP, SMTP or IMAP is enabled. Added in 7.56.0.
|
||||
CURLE_OK or a CURL error code upon failure.
|
||||
.SH EXAMPLE
|
||||
.nf
|
||||
struct curl_mime *mime;
|
||||
struct mimepart *part;
|
||||
curl_mime *mime;
|
||||
curl_mimepart *part;
|
||||
|
||||
/* create a mime handle */
|
||||
mime = curl_mime_init(easy);
|
||||
|
@ -45,8 +45,8 @@ A mime struct handle, or NULL upon failure.
|
||||
.nf
|
||||
|
||||
CURL *easy = curl_easy_init();
|
||||
struct curl_mime *mime;
|
||||
struct mimepart *part;
|
||||
curl_mime *mime;
|
||||
curl_mimepart *part;
|
||||
|
||||
/* Build an HTTP form with a single field named "data", */
|
||||
mime = curl_mime_init(easy);
|
||||
|
@ -50,8 +50,8 @@ As long as at least one of HTTP, SMTP or IMAP is enabled. Added in 7.56.0.
|
||||
CURLE_OK or a CURL error code upon failure.
|
||||
.SH EXAMPLE
|
||||
.nf
|
||||
struct curl_mime *mime;
|
||||
struct mimepart *part;
|
||||
curl_mime *mime;
|
||||
curl_mimepart *part;
|
||||
|
||||
/* create a mime handle */
|
||||
mime = curl_mime_init(easy);
|
||||
|
@ -59,8 +59,8 @@ As long as at least one of HTTP, SMTP or IMAP is enabled. Added in 7.56.0.
|
||||
CURLE_OK or a CURL error code upon failure.
|
||||
.SH EXAMPLE
|
||||
.nf
|
||||
struct curl_mime *mime;
|
||||
struct mimepart *part;
|
||||
curl_mime *mime;
|
||||
curl_mimepart *part;
|
||||
|
||||
/* create a mime handle */
|
||||
mime = curl_mime_init(easy);
|
||||
|
Loading…
Reference in New Issue
Block a user