docs: consistent use of "Added in"

Make them all say "Added in [version]" without using 'curl' or 'libcurl'
in that phrase.
This commit is contained in:
Daniel Stenberg 2021-10-25 11:45:09 +02:00
parent 24155569d8
commit 16a6b02df2
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
28 changed files with 41 additions and 41 deletions

View File

@ -60,7 +60,7 @@ if(curl) {
} }
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in libcurl 7.1 Added in 7.1
.SH RETURN VALUE .SH RETURN VALUE
None None
.SH "SEE ALSO" .SH "SEE ALSO"

View File

@ -59,7 +59,7 @@ if(curl) {
} }
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in libcurl 7.9 Added in 7.9
.SH RETURN VALUE .SH RETURN VALUE
If this function returns NULL, something went wrong and no valid handle was If this function returns NULL, something went wrong and no valid handle was
returned. returned.

View File

@ -303,7 +303,7 @@ transaction was started. So, this is zero if no redirection took place.
} }
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in libcurl 7.4.1 Added in 7.4.1
.SH RETURN VALUE .SH RETURN VALUE
If the operation was successful, CURLE_OK is returned. Otherwise an If the operation was successful, CURLE_OK is returned. Otherwise an
appropriate error code will be returned. appropriate error code will be returned.

View File

@ -103,7 +103,7 @@ in a very large data amount needing to be allocated to save the data during
the pause. This said, you should probably consider not using paused receiving the pause. This said, you should probably consider not using paused receiving
if you allow libcurl to uncompress data automatically. if you allow libcurl to uncompress data automatically.
.SH AVAILABILITY .SH AVAILABILITY
Added in libcurl 7.18.0. Added in 7.18.0.
.SH RETURN VALUE .SH RETURN VALUE
CURLE_OK (zero) means that the option was set properly, and a non-zero return CURLE_OK (zero) means that the option was set properly, and a non-zero return
code means something wrong occurred after the new state was set. See the code means something wrong occurred after the new state was set. See the

View File

@ -108,7 +108,7 @@ do {
curl_multi_remove_handle(multi_handle, easy_handle); curl_multi_remove_handle(multi_handle, easy_handle);
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in libcurl 7.66.0. Added in 7.66.0.
.SH RETURN VALUE .SH RETURN VALUE
CURLMcode type, general libcurl multi interface error code. See CURLMcode type, general libcurl multi interface error code. See
\fIlibcurl-errors(3)\fP \fIlibcurl-errors(3)\fP

View File

@ -75,7 +75,7 @@ See \fICURLMOPT_MAX_CONCURRENT_STREAMS(3)\fP
curl_multi_setopt(handle, CURLMOPT_MAXCONNECTS, (long)MAX_PARALLEL); curl_multi_setopt(handle, CURLMOPT_MAXCONNECTS, (long)MAX_PARALLEL);
.nf .nf
.SH AVAILABILITY .SH AVAILABILITY
Added in libcurl 7.15.4. Added in 7.15.4
.SH RETURN VALUE .SH RETURN VALUE
The standard CURLMcode for multi interface error codes. Note that it returns a The standard CURLMcode for multi interface error codes. Note that it returns a
CURLM_UNKNOWN_OPTION if you try setting an option that this version of libcurl CURLM_UNKNOWN_OPTION if you try setting an option that this version of libcurl

View File

@ -42,7 +42,7 @@ immediately with no action.
curl_share_cleanup(share); curl_share_cleanup(share);
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in libcurl 7.10 Added in 7.10
.SH RETURN VALUE .SH RETURN VALUE
CURLSHE_OK (zero) means that the option was set properly, non-zero means an CURLSHE_OK (zero) means that the option was set properly, non-zero means an
error occurred as \fI<curl/curl.h>\fP defines. See the \fIlibcurl-errors.3\fP error occurred as \fI<curl/curl.h>\fP defines. See the \fIlibcurl-errors.3\fP

View File

@ -45,7 +45,7 @@ specific curl handle use the data in this share.
printf("Error: %s\n", curl_share_strerror(sh)); printf("Error: %s\n", curl_share_strerror(sh));
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in libcurl 7.10 Added in 7.10
.SH RETURN VALUE .SH RETURN VALUE
If this function returns NULL, something went wrong (out of memory, etc.) If this function returns NULL, something went wrong (out of memory, etc.)
and therefore the share object was not created. and therefore the share object was not created.

View File

@ -115,7 +115,7 @@ to the lock_function and unlock_function each time it is called.
printf("Error: %s\n", curl_share_strerror(sh)); printf("Error: %s\n", curl_share_strerror(sh));
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in libcurl 7.10 Added in 7.10
.SH RETURN VALUE .SH RETURN VALUE
CURLSHE_OK (zero) means that the option was set properly, non-zero means an CURLSHE_OK (zero) means that the option was set properly, non-zero means an
error occurred as \fI<curl/curl.h>\fP defines. See the \fIlibcurl-errors.3\fP error occurred as \fI<curl/curl.h>\fP defines. See the \fIlibcurl-errors.3\fP

View File

@ -45,7 +45,7 @@ be used for further use of the URL API.
} }
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in curl 7.62.0 Added in 7.62.0
.SH RETURN VALUE .SH RETURN VALUE
Returns a \fBCURLU *\fP if successful, or NULL if out of memory. Returns a \fBCURLU *\fP if successful, or NULL if out of memory.
.SH "SEE ALSO" .SH "SEE ALSO"

View File

@ -36,7 +36,7 @@ Frees all the resources associated with the given CURLU handle!
curl_url_cleanup(url); curl_url_cleanup(url);
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in curl 7.62.0 Added in 7.62.0
.SH RETURN VALUE .SH RETURN VALUE
none none
.SH "SEE ALSO" .SH "SEE ALSO"

View File

@ -44,7 +44,7 @@ pointer to a new CURLU handle. The new handle also needs to be freed with
curl_url_cleanup(url); curl_url_cleanup(url);
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in curl 7.62.0 Added in 7.62.0
.SH RETURN VALUE .SH RETURN VALUE
Returns a new handle or NULL if out of memory. Returns a new handle or NULL if out of memory.
.SH "SEE ALSO" .SH "SEE ALSO"

View File

@ -121,7 +121,7 @@ decode on get with the CURLU_URLDECODE bit.
} }
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in curl 7.62.0. CURLUPART_ZONEID was added in 7.65.0. Added in 7.62.0. CURLUPART_ZONEID was added in 7.65.0.
.SH RETURN VALUE .SH RETURN VALUE
Returns a CURLUcode error value, which is CURLUE_OK (0) if everything went Returns a CURLUcode error value, which is CURLUE_OK (0) if everything went
fine. See the \fIlibcurl-errors(3)\fP man page for the full list with fine. See the \fIlibcurl-errors(3)\fP man page for the full list with

View File

@ -147,7 +147,7 @@ individual parts.
curl_url_cleanup(url); curl_url_cleanup(url);
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in curl 7.62.0. CURLUPART_ZONEID was added in 7.65.0. Added in 7.62.0. CURLUPART_ZONEID was added in 7.65.0.
.SH RETURN VALUE .SH RETURN VALUE
Returns a CURLUcode error value, which is CURLUE_OK (0) if everything went Returns a CURLUcode error value, which is CURLUE_OK (0) if everything went
fine. See the \fIlibcurl-errors(3)\fP man page for the full list with fine. See the \fIlibcurl-errors(3)\fP man page for the full list with

View File

@ -40,7 +40,7 @@ error code passed in the argument \fIerrornum\fP.
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in libcurl 7.80.0 Added in 7.80.0
.SH RETURN VALUE .SH RETURN VALUE
A pointer to a null-terminated string. A pointer to a null-terminated string.
.SH "SEE ALSO" .SH "SEE ALSO"

View File

@ -232,7 +232,7 @@ printf("libcurl version %u.%u.%u\n",
ver->version_num & 0xff, ver->version_num & 0xff,
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in libcurl 7.10 Added in 7.10
.SH RETURN VALUE .SH RETURN VALUE
A pointer to a curl_version_info_data struct. A pointer to a curl_version_info_data struct.
.SH "SEE ALSO" .SH "SEE ALSO"

View File

@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___ .\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____| .\" * \___|\___/|_| \_\_____|
.\" * .\" *
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. .\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" * .\" *
.\" * This software is licensed as described in the file COPYING, which .\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms .\" * you should have received as part of this distribution. The terms
@ -56,7 +56,7 @@ if(curl) {
} }
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in curl 7.66.0 Added in 7.66.0
.SH RETURN VALUE .SH RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
.SH "SEE ALSO" .SH "SEE ALSO"

View File

@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___ .\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____| .\" * \___|\___/|_| \_\_____|
.\" * .\" *
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. .\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" * .\" *
.\" * This software is licensed as described in the file COPYING, which .\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms .\" * you should have received as part of this distribution. The terms
@ -88,7 +88,7 @@ The callback denies the stream and no data for this will reach the
application, the easy handle will be destroyed by libcurl. application, the easy handle will be destroyed by libcurl.
.IP "CURL_PUSH_ERROROUT (2)" .IP "CURL_PUSH_ERROROUT (2)"
Returning this will reject the pushed stream and return an error back on the Returning this will reject the pushed stream and return an error back on the
parent stream making it get closed with an error. (Added in curl 7.72.0) parent stream making it get closed with an error. (Added in 7.72.0)
.IP * .IP *
All other return codes are reserved for future use. All other return codes are reserved for future use.
.SH DEFAULT .SH DEFAULT

View File

@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___ .\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____| .\" * \___|\___/|_| \_\_____|
.\" * .\" *
.\" * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. .\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" * .\" *
.\" * This software is licensed as described in the file COPYING, which .\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms .\" * you should have received as part of this distribution. The terms
@ -46,7 +46,7 @@ if(curl) {
} }
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in libcurl 7.61.0 Added in 7.61.0
.SH RETURN VALUE .SH RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.

View File

@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___ .\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____| .\" * \___|\___/|_| \_\_____|
.\" * .\" *
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. .\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" * .\" *
.\" * This software is licensed as described in the file COPYING, which .\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms .\" * you should have received as part of this distribution. The terms
@ -70,7 +70,7 @@ if(curl) {
} }
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in libcurl 7.71.0. This option is supported by the OpenSSL backends. Added in 7.71.0. This option is supported by the OpenSSL backends.
.SH RETURN VALUE .SH RETURN VALUE
Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
CURLE_OUT_OF_MEMORY if there was insufficient heap space. CURLE_OUT_OF_MEMORY if there was insufficient heap space.

View File

@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___ .\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____| .\" * \___|\___/|_| \_\_____|
.\" * .\" *
.\" * Copyright (C) 2019, Daniel Stenberg, <daniel@haxx.se>, et al. .\" * Copyright (C) 2019 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" * .\" *
.\" * This software is licensed as described in the file COPYING, which .\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms .\" * you should have received as part of this distribution. The terms
@ -57,7 +57,7 @@ if(curl) {
} }
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in libcurl 7.65.0 Added in 7.65.0
.SH RETURN VALUE .SH RETURN VALUE
Returns CURLE_OK. Returns CURLE_OK.
.SH "SEE ALSO" .SH "SEE ALSO"

View File

@ -58,7 +58,7 @@ if(curl) {
} }
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in libcurl 7.80.0 Added in 7.80.0
.SH RETURN VALUE .SH RETURN VALUE
Returns CURLE_OK. Returns CURLE_OK.
.SH "SEE ALSO" .SH "SEE ALSO"

View File

@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___ .\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____| .\" * \___|\___/|_| \_\_____|
.\" * .\" *
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. .\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" * .\" *
.\" * This software is licensed as described in the file COPYING, which .\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms .\" * you should have received as part of this distribution. The terms
@ -64,7 +64,7 @@ if(curl) {
} }
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in libcurl 7.71.0. This option is supported by the OpenSSL backends. Added in 7.71.0. This option is supported by the OpenSSL backends.
.SH RETURN VALUE .SH RETURN VALUE
Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
CURLE_OUT_OF_MEMORY if there was insufficient heap space. CURLE_OUT_OF_MEMORY if there was insufficient heap space.

View File

@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___ .\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____| .\" * \___|\___/|_| \_\_____|
.\" * .\" *
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. .\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" * .\" *
.\" * This software is licensed as described in the file COPYING, which .\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms .\" * you should have received as part of this distribution. The terms
@ -76,7 +76,7 @@ if(curl) {
} }
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in libcurl 7.71.0. This option is supported by the OpenSSL backends. Added in 7.71.0. This option is supported by the OpenSSL backends.
.SH RETURN VALUE .SH RETURN VALUE
Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
CURLE_OUT_OF_MEMORY if there was insufficient heap space. CURLE_OUT_OF_MEMORY if there was insufficient heap space.

View File

@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___ .\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____| .\" * \___|\___/|_| \_\_____|
.\" * .\" *
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. .\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" * .\" *
.\" * This software is licensed as described in the file COPYING, which .\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms .\" * you should have received as part of this distribution. The terms
@ -62,8 +62,8 @@ if(curl) {
} }
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in libcurl 7.71.0. This option is supported by the OpenSSL, Secure Added in 7.71.0. This option is supported by the OpenSSL, Secure Transport and
Transport and Schannel backends. Schannel backends.
.SH RETURN VALUE .SH RETURN VALUE
Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or
CURLE_OUT_OF_MEMORY if there was insufficient heap space. CURLE_OUT_OF_MEMORY if there was insufficient heap space.

View File

@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___ .\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____| .\" * \___|\___/|_| \_\_____|
.\" * .\" *
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. .\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" * .\" *
.\" * This software is licensed as described in the file COPYING, which .\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms .\" * you should have received as part of this distribution. The terms
@ -65,7 +65,7 @@ if(curl) {
} }
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in libcurl 7.71.0. This option is supported by the OpenSSL backends. Added in 7.71.0. This option is supported by the OpenSSL backends.
.SH RETURN VALUE .SH RETURN VALUE
Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or
CURLE_OUT_OF_MEMORY if there was insufficient heap space. CURLE_OUT_OF_MEMORY if there was insufficient heap space.

View File

@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___ .\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____| .\" * \___|\___/|_| \_\_____|
.\" * .\" *
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. .\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" * .\" *
.\" * This software is licensed as described in the file COPYING, which .\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms .\" * you should have received as part of this distribution. The terms
@ -60,8 +60,8 @@ if(curl) {
} }
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in libcurl 7.71.0. This option is supported by the OpenSSL, Secure Added in 7.71.0. This option is supported by the OpenSSL, Secure Transport and
Transport and Schannel backends. Schannel backends.
.SH RETURN VALUE .SH RETURN VALUE
Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or
CURLE_OUT_OF_MEMORY if there was insufficient heap space. CURLE_OUT_OF_MEMORY if there was insufficient heap space.

View File

@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___ .\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____| .\" * \___|\___/|_| \_\_____|
.\" * .\" *
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. .\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" * .\" *
.\" * This software is licensed as described in the file COPYING, which .\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms .\" * you should have received as part of this distribution. The terms
@ -67,7 +67,7 @@ if(curl) {
} }
.fi .fi
.SH AVAILABILITY .SH AVAILABILITY
Added in libcurl 7.71.0. This option is supported by the OpenSSL backends. Added in 7.71.0. This option is supported by the OpenSSL backends.
.SH RETURN VALUE .SH RETURN VALUE
Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or
CURLE_OUT_OF_MEMORY if there was insufficient heap space. CURLE_OUT_OF_MEMORY if there was insufficient heap space.