1
0
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:
Daniel Stenberg 2017-09-05 11:41:03 +02:00 committed by Patrick Monnerat
parent ea142a837e
commit 8b902ef0af
7 changed files with 14 additions and 14 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);