aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-09-05 11:41:03 +0200
committerPatrick Monnerat <patrick@monnerat.net>2017-09-05 17:33:16 +0100
commit8b902ef0af489f3f1dfa7ed3c4a050e9ca2974fa (patch)
tree581e8638ae395e0c66ea3842f226fc1a5a868766 /docs/libcurl
parentea142a837e6931c73f2f0effaabbbe389a6510ac (diff)
docs/curl_mime_*.3: use correct variable types in examples
Diffstat (limited to 'docs/libcurl')
-rw-r--r--docs/libcurl/curl_mime_addpart.34
-rw-r--r--docs/libcurl/curl_mime_data.34
-rw-r--r--docs/libcurl/curl_mime_filedata.34
-rw-r--r--docs/libcurl/curl_mime_filename.34
-rw-r--r--docs/libcurl/curl_mime_init.34
-rw-r--r--docs/libcurl/curl_mime_name.34
-rw-r--r--docs/libcurl/curl_mime_type.34
7 files changed, 14 insertions, 14 deletions
diff --git a/docs/libcurl/curl_mime_addpart.3 b/docs/libcurl/curl_mime_addpart.3
index e5a72dbc4..cbb861852 100644
--- a/docs/libcurl/curl_mime_addpart.3
+++ b/docs/libcurl/curl_mime_addpart.3
@@ -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);
diff --git a/docs/libcurl/curl_mime_data.3 b/docs/libcurl/curl_mime_data.3
index 1b6ac235c..7ed8eeb3b 100644
--- a/docs/libcurl/curl_mime_data.3
+++ b/docs/libcurl/curl_mime_data.3
@@ -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);
diff --git a/docs/libcurl/curl_mime_filedata.3 b/docs/libcurl/curl_mime_filedata.3
index c0d545dbe..f9cea3ce8 100644
--- a/docs/libcurl/curl_mime_filedata.3
+++ b/docs/libcurl/curl_mime_filedata.3
@@ -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);
diff --git a/docs/libcurl/curl_mime_filename.3 b/docs/libcurl/curl_mime_filename.3
index 5a2ca6ec2..e29726c1a 100644
--- a/docs/libcurl/curl_mime_filename.3
+++ b/docs/libcurl/curl_mime_filename.3
@@ -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);
diff --git a/docs/libcurl/curl_mime_init.3 b/docs/libcurl/curl_mime_init.3
index cc21468e4..2f5617eef 100644
--- a/docs/libcurl/curl_mime_init.3
+++ b/docs/libcurl/curl_mime_init.3
@@ -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);
diff --git a/docs/libcurl/curl_mime_name.3 b/docs/libcurl/curl_mime_name.3
index 58ee9697e..369598012 100644
--- a/docs/libcurl/curl_mime_name.3
+++ b/docs/libcurl/curl_mime_name.3
@@ -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);
diff --git a/docs/libcurl/curl_mime_type.3 b/docs/libcurl/curl_mime_type.3
index 7a4c0eb3e..4882ceec2 100644
--- a/docs/libcurl/curl_mime_type.3
+++ b/docs/libcurl/curl_mime_type.3
@@ -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);