docs/CURLDOWN.md+1 -0
| @@ -80,6 +80,7 @@ Each curldown starts with a header with meta-data: |
| - CURLOPT_HTTPAUTH (3) |
| TLS-backend: |
| - [name] |
| + | Added-in: [version or "n/a"] |
| --- |
| |
| All curldown files *must* have all the headers present and at least one |
docs/curl-config.md+1 -0
| @@ -6,6 +6,7 @@ Section: 1 |
| Source: curl-config |
| See-also: |
| - curl (1) |
| + | Added-in: 7.7.2 |
| --- |
| |
| # NAME |
docs/libcurl/curl_easy_cleanup.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - curl_multi_remove_handle (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -69,10 +70,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.1 |
| - | |
| # RETURN VALUE |
| |
| None |
docs/libcurl/curl_easy_duphandle.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_global_init (3) |
| Protocol: |
| - All |
| + | Added-in: 7.9 |
| --- |
| |
| # NAME |
| @@ -64,10 +65,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.9 |
| - | |
| # RETURN VALUE |
| |
| If this function returns NULL, something went wrong and no valid handle was |
docs/libcurl/curl_easy_escape.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_url_get (3) |
| Protocol: |
| - All |
| + | Added-in: 7.15.4 |
| --- |
| |
| # NAME |
| @@ -80,10 +81,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.15.4 and replaces the old curl_escape(3) function. |
| - | |
| # RETURN VALUE |
| |
| A pointer to a null-terminated string or NULL if it failed. |
docs/libcurl/curl_easy_getinfo.md+1 -4
| @@ -8,6 +8,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.4.1 |
| --- |
| |
| # NAME |
| @@ -410,10 +411,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.4.1 |
| - | |
| # RETURN VALUE |
| |
| If the operation was successful, CURLE_OK is returned. Otherwise an |
docs/libcurl/curl_easy_header.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - libcurl-errors (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.83.0 |
| --- |
| |
| # NAME |
| @@ -153,10 +154,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.83.0. Officially supported since 7.84.0. |
| - | |
| # RETURN VALUE |
| |
| This function returns a CURLHcode indicating success or error. |
docs/libcurl/curl_easy_init.md+1 -4
| @@ -13,6 +13,7 @@ See-also: |
| - curl_multi_init (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -65,10 +66,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| If this function returns NULL, something went wrong and you cannot use the |
docs/libcurl/curl_easy_nextheader.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - curl_easy_perform (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.83.0 |
| --- |
| |
| # NAME |
| @@ -89,10 +90,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.83.0. Officially supported since 7.84.0. |
| - | |
| # RETURN VALUE |
| |
| This function returns the next header, or NULL when there are no more |
docs/libcurl/curl_easy_option_by_id.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.73.0 |
| --- |
| |
| # NAME |
| @@ -47,10 +48,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | This function was added in libcurl 7.73.0 |
| - | |
| # RETURN VALUE |
| |
| A pointer to the *curl_easyoption* struct for the option or NULL. |
docs/libcurl/curl_easy_option_by_name.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.73.0 |
| --- |
| |
| # NAME |
| @@ -46,10 +47,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | This function was added in libcurl 7.73.0 |
| - | |
| # RETURN VALUE |
| |
| A pointer to the *curl_easyoption* struct for the option or NULL. |
docs/libcurl/curl_easy_option_next.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.73.0 |
| --- |
| |
| # NAME |
| @@ -81,10 +82,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | This function was added in libcurl 7.73.0 |
| - | |
| # RETURN VALUE |
| |
| A pointer to the *curl_easyoption* struct for the next option or NULL if |
docs/libcurl/curl_easy_pause.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - curl_easy_reset (3) |
| Protocol: |
| - All |
| + | Added-in: 7.18.0 |
| --- |
| |
| # NAME |
| @@ -131,10 +132,6 @@ size worth of data that curl cannot stop but instead needs to cache while the |
| transfer is paused. This means that if a window size of 64 MB is used, libcurl |
| might end up having to cache 64 MB of data. |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.18.0. |
| - | |
| # RETURN VALUE |
| |
| CURLE_OK (zero) means that the option was set properly, and a non-zero return |
docs/libcurl/curl_easy_perform.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - libcurl-errors (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -73,10 +74,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| CURLE_OK (0) means everything was OK, non-zero means an error occurred as |
docs/libcurl/curl_easy_recv.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.18.2 |
| --- |
| |
| # NAME |
| @@ -85,10 +86,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.18.2. |
| - | |
| # RETURN VALUE |
| |
| On success, returns **CURLE_OK**, stores the received data into |
docs/libcurl/curl_easy_reset.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.12.1 |
| --- |
| |
| # NAME |
| @@ -49,10 +50,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | This function was added in libcurl 7.12.1 |
| - | |
| # RETURN VALUE |
| |
| Nothing |
docs/libcurl/curl_easy_send.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.18.2 |
| --- |
| |
| # NAME |
| @@ -78,10 +79,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.18.2. |
| - | |
| # RETURN VALUE |
| |
| On success, returns **CURLE_OK** and stores the number of bytes actually |
docs/libcurl/curl_easy_setopt.md+1 -6
| @@ -15,6 +15,7 @@ See-also: |
| - curl_multi_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -1341,12 +1342,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # ENCRYPTED CLIENT HELLO OPTIONS |
| - | |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| *CURLE_OK* (zero) means that the option was set properly, non-zero means an |
docs/libcurl/curl_easy_strerror.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - libcurl-errors (3) |
| Protocol: |
| - All |
| + | Added-in: 7.12.0 |
| --- |
| |
| # NAME |
| @@ -52,10 +53,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | This function was added in libcurl 7.12.0 |
| - | |
| # RETURN VALUE |
| |
| A pointer to a null-terminated string. |
docs/libcurl/curl_easy_unescape.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - curl_url_get (3) |
| Protocol: |
| - All |
| + | Added-in: 7.15.4 |
| --- |
| |
| # NAME |
| @@ -66,10 +67,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.15.4 and replaces the old curl_unescape(3) function. |
| - | |
| # RETURN VALUE |
| |
| A pointer to a null-terminated string or NULL if it failed. |
docs/libcurl/curl_easy_upkeep.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_TCP_KEEPIDLE (3) |
| Protocol: |
| - All |
| + | Added-in: 7.62.0 |
| --- |
| |
| # NAME |
| @@ -68,10 +69,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.62.0. |
| - | |
| # RETURN VALUE |
| |
| On success, returns **CURLE_OK**. |
docs/libcurl/curl_escape.md+2 -1
| @@ -9,6 +9,7 @@ See-also: |
| - curl_unescape (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -50,7 +51,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # HISTORY |
| |
| Since 7.15.4, curl_easy_escape(3) should be used. This function might be |
| removed in a future release. |
docs/libcurl/curl_formadd.md+2 -1
| @@ -10,6 +10,7 @@ See-also: |
| - curl_mime_init (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -299,7 +300,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| Deprecated in 7.56.0. Before this release, field names were allowed to contain |
| zero-valued bytes. The pseudo-filename "-" to read stdin is discouraged |
docs/libcurl/curl_formfree.md+2 -1
| @@ -10,6 +10,7 @@ See-also: |
| - curl_mime_init (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -69,7 +70,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| Deprecated in 7.56.0. |
| |
docs/libcurl/curl_formget.md+7 -10
| @@ -9,6 +9,7 @@ See-also: |
| - curl_mime_init (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.15.5 |
| --- |
| |
| # NAME |
| @@ -26,9 +27,11 @@ int curl_formget(struct curl_httppost * form, void *userp, |
| |
| # DESCRIPTION |
| |
| + | The form API (including this function) is deprecated since libcurl 7.56.0. |
| + | |
| curl_formget() serializes data previously built with curl_formadd(3). It |
| - | accepts a void pointer as second argument named *userp* which is passed as |
| - | the first argument to the curl_formget_callback function. |
| + | accepts a void pointer as second argument named *userp* which is passed as the |
| + | first argument to the curl_formget_callback function. |
| |
| ~~~c |
| typedef size_t (*curl_formget_callback)(void *userp, const char *buf, |
| @@ -40,9 +43,8 @@ character buffer passed to the callback must not be freed. The callback should |
| return the buffer length passed to it on success. |
| |
| If the **CURLFORM_STREAM** option is used in the formpost, it prevents |
| - | curl_formget(3) from working until you have performed the actual HTTP |
| - | request. This, because first then does libcurl known which actual read |
| - | callback to use! |
| + | curl_formget(3) from working until you have performed the actual HTTP request. |
| + | This, because first then does libcurl known which actual read callback to use! |
| |
| # EXAMPLE |
| |
| @@ -64,11 +66,6 @@ size_t print_httppost(struct curl_httppost *post) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | This function was added in libcurl 7.15.5. The form API is deprecated in |
| - | libcurl 7.56.0. |
| - | |
| # RETURN VALUE |
| |
| 0 means everything was OK, non-zero means an error occurred |
docs/libcurl/curl_free.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - curl_easy_unescape (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -45,10 +46,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| None |
docs/libcurl/curl_getdate.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_unescape (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -113,10 +114,6 @@ RFC 1036) and ANSI C's *asctime()* format. |
| |
| These formats are the only ones RFC 7231 says HTTP applications may use. |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| This function returns -1 when it fails to parse the date string. Otherwise it |
docs/libcurl/curl_getenv.md+1 -4
| @@ -8,6 +8,7 @@ See-also: |
| - getenv (3C) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -43,10 +44,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| A pointer to a null-terminated string or NULL if it failed to find the |
docs/libcurl/curl_global_cleanup.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - libcurl-thread (3) |
| Protocol: |
| - All |
| + | Added-in: 7.8 |
| --- |
| |
| # NAME |
| @@ -72,10 +73,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.8 |
| - | |
| # RETURN VALUE |
| |
| None |
docs/libcurl/curl_global_init.md+1 -4
| @@ -13,6 +13,7 @@ See-also: |
| - libcurl (3) |
| Protocol: |
| - All |
| + | Added-in: 7.8 |
| --- |
| |
| # NAME |
| @@ -122,10 +123,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.8 |
| - | |
| # RETURN VALUE |
| |
| If this function returns non-zero, something went wrong and you cannot use the |
docs/libcurl/curl_global_init_mem.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - curl_global_init (3) |
| Protocol: |
| - All |
| + | Added-in: 7.12.0 |
| --- |
| |
| # NAME |
| @@ -87,10 +88,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.12.0 |
| - | |
| # RETURN VALUE |
| |
| CURLE_OK (0) means everything was OK, non-zero means an error occurred as |
docs/libcurl/curl_global_sslset.md+1 -5
| @@ -9,6 +9,7 @@ See-also: |
| - libcurl (3) |
| Protocol: |
| - All |
| + | Added-in: 7.56.0 |
| --- |
| |
| # NAME |
| @@ -119,11 +120,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | This function was added in libcurl 7.56.0. Before this version, there was no |
| - | support for choosing SSL backends at runtime. |
| - | |
| # RETURN VALUE |
| |
| If this function returns *CURLSSLSET_OK*, the backend was successfully |
docs/libcurl/curl_global_trace.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - libcurl (3) |
| Protocol: |
| - All |
| + | Added-in: 8.3 |
| --- |
| |
| # NAME |
| @@ -131,10 +132,6 @@ of an enabled component appears at the beginning in brackets. |
| ... |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 8.3 |
| - | |
| # RETURN VALUE |
| |
| If this function returns non-zero, something went wrong and the configuration |
docs/libcurl/curl_mime_addpart.md+1 -4
| @@ -19,6 +19,7 @@ Protocol: |
| - HTTP |
| - IMAP |
| - SMTP |
| + | Added-in: 7.56.0 |
| --- |
| |
| # NAME |
| @@ -65,10 +66,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | As long as at least one of HTTP, SMTP or IMAP is enabled. Added in 7.56.0. |
| - | |
| # RETURN VALUE |
| |
| A mime part structure handle, or NULL upon failure. |
docs/libcurl/curl_mime_data.md+1 -4
| @@ -13,6 +13,7 @@ Protocol: |
| - HTTP |
| - IMAP |
| - SMTP |
| + | Added-in: 7.56.0 |
| --- |
| |
| # NAME |
| @@ -71,10 +72,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | As long as at least one of HTTP, SMTP or IMAP is enabled. Added in 7.56.0. |
| - | |
| # RETURN VALUE |
| |
| CURLE_OK or a CURL error code upon failure. |
docs/libcurl/curl_mime_data_cb.md+1 -4
| @@ -13,6 +13,7 @@ Protocol: |
| - HTTP |
| - IMAP |
| - SMTP |
| + | Added-in: 7.56.0 |
| --- |
| |
| # NAME |
| @@ -163,10 +164,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | As long as at least one of HTTP, SMTP or IMAP is enabled. Added in 7.56.0. |
| - | |
| # RETURN VALUE |
| |
| CURLE_OK or a CURL error code upon failure. |
docs/libcurl/curl_mime_encoder.md+1 -4
| @@ -12,6 +12,7 @@ Protocol: |
| - HTTP |
| - IMAP |
| - SMTP |
| + | Added-in: 7.56.0 |
| --- |
| |
| # NAME |
| @@ -95,10 +96,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | As long as at least one of HTTP, SMTP or IMAP is enabled. Added in 7.56.0. |
| - | |
| # RETURN VALUE |
| |
| CURLE_OK or a CURL error code upon failure. |
docs/libcurl/curl_mime_filedata.md+1 -4
| @@ -13,6 +13,7 @@ Protocol: |
| - HTTP |
| - IMAP |
| - SMTP |
| + | Added-in: 7.56.0 |
| --- |
| |
| # NAME |
| @@ -80,10 +81,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | As long as at least one of HTTP, SMTP or IMAP is enabled. Added in 7.56.0. |
| - | |
| # RETURN VALUE |
| |
| CURLE_OK or a CURL error code upon failure. CURLE_READ_ERROR is only an |
docs/libcurl/curl_mime_filename.md+1 -4
| @@ -12,6 +12,7 @@ Protocol: |
| - HTTP |
| - IMAP |
| - SMTP |
| + | Added-in: 7.56.0 |
| --- |
| |
| # NAME |
| @@ -74,10 +75,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | As long as at least one of HTTP, SMTP or IMAP is enabled. Added in 7.56.0. |
| - | |
| # RETURN VALUE |
| |
| CURLE_OK or a CURL error code upon failure. |
docs/libcurl/curl_mime_free.md+1 -4
| @@ -11,6 +11,7 @@ Protocol: |
| - HTTP |
| - IMAP |
| - SMTP |
| + | Added-in: 7.56.0 |
| --- |
| |
| # NAME |
| @@ -60,10 +61,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | As long as at least one of HTTP, SMTP or IMAP is enabled. Added in 7.56.0. |
| - | |
| # RETURN VALUE |
| |
| None |
docs/libcurl/curl_mime_headers.md+1 -4
| @@ -11,6 +11,7 @@ Protocol: |
| - HTTP |
| - IMAP |
| - SMTP |
| + | Added-in: 7.56.0 |
| --- |
| |
| # NAME |
| @@ -73,10 +74,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | As long as at least one of HTTP, SMTP or IMAP is enabled. Added in 7.56.0. |
| - | |
| # RETURN VALUE |
| |
| CURLE_OK or a CURL error code upon failure. |
docs/libcurl/curl_mime_init.md+1 -4
| @@ -13,6 +13,7 @@ Protocol: |
| - HTTP |
| - IMAP |
| - SMTP |
| + | Added-in: 7.56.0 |
| --- |
| |
| # NAME |
| @@ -67,10 +68,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | As long as at least one of HTTP, SMTP or IMAP is enabled. Added in 7.56.0. |
| - | |
| # RETURN VALUE |
| |
| A mime struct handle, or NULL upon failure. |
docs/libcurl/curl_mime_name.md+1 -4
| @@ -12,6 +12,7 @@ Protocol: |
| - HTTP |
| - IMAP |
| - SMTP |
| + | Added-in: 7.56.0 |
| --- |
| |
| # NAME |
| @@ -62,10 +63,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | As long as at least one of HTTP, SMTP or IMAP is enabled. Added in 7.56.0. |
| - | |
| # RETURN VALUE |
| |
| CURLE_OK or a CURL error code upon failure. |
docs/libcurl/curl_mime_subparts.md+1 -4
| @@ -11,6 +11,7 @@ Protocol: |
| - HTTP |
| - IMAP |
| - SMTP |
| + | Added-in: 7.56.0 |
| --- |
| |
| # NAME |
| @@ -78,10 +79,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | As long as at least one of HTTP, SMTP or IMAP is enabled. Added in 7.56.0. |
| - | |
| # RETURN VALUE |
| |
| CURLE_OK or a CURL error code upon failure. |
docs/libcurl/curl_mime_type.md+1 -4
| @@ -12,6 +12,7 @@ Protocol: |
| - HTTP |
| - IMAP |
| - SMTP |
| + | Added-in: 7.56.0 |
| --- |
| |
| # NAME |
| @@ -81,10 +82,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | As long as at least one of HTTP, SMTP or IMAP is enabled. Added in 7.56.0. |
| - | |
| # RETURN VALUE |
| |
| CURLE_OK or a CURL error code upon failure. |
docs/libcurl/curl_mprintf.md+1 -5
| @@ -11,6 +11,7 @@ See-also: |
| - vprintf (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -275,11 +276,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | These functions might be removed from the public libcurl API in the future. Do |
| - | not use them in new programs or projects. |
| - | |
| # RETURN VALUE |
| |
| The **curl_maprintf** and **curl_mvaprintf** functions return a pointer to |
docs/libcurl/curl_multi_add_handle.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - curl_multi_socket_action (3) |
| Protocol: |
| - All |
| + | Added-in: 7.9.6 |
| --- |
| |
| # NAME |
| @@ -81,10 +82,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.9.6 |
| - | |
| # RETURN VALUE |
| |
| CURLMcode type, general libcurl multi interface error code. |
docs/libcurl/curl_multi_assign.md+8 -11
| @@ -9,6 +9,7 @@ See-also: |
| - curl_multi_socket_action (3) |
| Protocol: |
| - All |
| + | Added-in: 7.15.5 |
| --- |
| |
| # NAME |
| @@ -63,14 +64,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.15.5 |
| - | |
| - | # RETURN VALUE |
| - | |
| - | The standard CURLMcode for multi interface error codes. |
| - | |
| # TYPICAL USAGE |
| |
| In a typical application you allocate a struct or at least use some kind of |
| @@ -78,6 +71,10 @@ semi-dynamic data for each socket that we must wait for action on when using |
| the curl_multi_socket_action(3) approach. |
| |
| When our socket-callback gets called by libcurl and we get to know about yet |
| - | another socket to wait for, we can use curl_multi_assign(3) to point out |
| - | the particular data so that when we get updates about this same socket again, |
| - | we do not have to find the struct associated with this socket by ourselves. |
| + | another socket to wait for, we can use curl_multi_assign(3) to point out the |
| + | particular data so that when we get updates about this same socket again, we |
| + | do not have to find the struct associated with this socket by ourselves. |
| + | |
| + | # RETURN VALUE |
| + | |
| + | The standard CURLMcode for multi interface error codes. |
docs/libcurl/curl_multi_cleanup.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_multi_init (3) |
| Protocol: |
| - All |
| + | Added-in: 7.9.6 |
| --- |
| |
| # NAME |
| @@ -57,10 +58,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.9.6 |
| - | |
| # RETURN VALUE |
| |
| CURLMcode type, general libcurl multi interface error code. On success, |
docs/libcurl/curl_multi_fdset.md+1 -4
| @@ -14,6 +14,7 @@ See-also: |
| - select (2) |
| Protocol: |
| - All |
| + | Added-in: 7.9.6 |
| --- |
| |
| # NAME |
| @@ -112,10 +113,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.9.6 |
| - | |
| # RETURN VALUE |
| |
| **CURLMcode** type, general libcurl multi interface error code. See |
docs/libcurl/curl_multi_get_handles.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_multi_remove_handle (3) |
| Protocol: |
| - All |
| + | Added-in: 8.4.0 |
| --- |
| |
| # NAME |
| @@ -70,10 +71,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 8.4.0 |
| - | |
| # RETURN VALUE |
| |
| Returns NULL on failure. Otherwise it returns a pointer to an allocated array. |
docs/libcurl/curl_multi_info_read.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_multi_perform (3) |
| Protocol: |
| - All |
| + | Added-in: 7.9.6 |
| --- |
| |
| # NAME |
| @@ -93,10 +94,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.9.6 |
| - | |
| # RETURN VALUE |
| |
| A pointer to a filled-in struct, or NULL if it failed or ran out of |
docs/libcurl/curl_multi_init.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - curl_multi_get_handles (3) |
| Protocol: |
| - All |
| + | Added-in: 7.9.6 |
| --- |
| |
| # NAME |
| @@ -49,10 +50,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.9.6 |
| - | |
| # RETURN VALUE |
| |
| If this function returns NULL, something went wrong and you cannot use the |
docs/libcurl/curl_multi_perform.md+1 -4
| @@ -14,6 +14,7 @@ See-also: |
| - libcurl-errors (3) |
| Protocol: |
| - All |
| + | Added-in: 7.9.6 |
| --- |
| |
| # NAME |
| @@ -88,10 +89,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.9.6 |
| - | |
| # RETURN VALUE |
| |
| CURLMcode type, general libcurl multi interface error code. |
docs/libcurl/curl_multi_poll.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_multi_wakeup (3) |
| Protocol: |
| - All |
| + | Added-in: 7.66.0 |
| --- |
| |
| # NAME |
| @@ -132,10 +133,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.66.0. |
| - | |
| # RETURN VALUE |
| |
| CURLMcode type, general libcurl multi interface error code. See |
docs/libcurl/curl_multi_remove_handle.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_multi_init (3) |
| Protocol: |
| - All |
| + | Added-in: 7.9.6 |
| --- |
| |
| # NAME |
| @@ -66,10 +67,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.9.6 |
| - | |
| # RETURN VALUE |
| |
| CURLMcode type, general libcurl multi interface error code. |
docs/libcurl/curl_multi_setopt.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_multi_socket (3) |
| Protocol: |
| - All |
| + | Added-in: 7.15.4 |
| --- |
| |
| # NAME |
| @@ -117,10 +118,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.15.4 |
| - | |
| # RETURN VALUE |
| |
| The standard CURLMcode for multi interface error codes. Note that it returns a |
docs/libcurl/curl_multi_socket.md+2 -4
| @@ -12,6 +12,7 @@ See-also: |
| - the hiperfifo.c example |
| Protocol: |
| - All |
| + | Added-in: 7.15.4 |
| --- |
| |
| # NAME |
| @@ -71,10 +72,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | This function was added in libcurl 7.15.4, and is deemed stable since |
| - | 7.16.0. |
| + | # DEPRECATED |
| |
| curl_multi_socket(3) is deprecated, use curl_multi_socket_action(3) instead! |
| |
docs/libcurl/curl_multi_socket_action.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - the hiperfifo.c example |
| Protocol: |
| - All |
| + | Added-in: 7.15.4 |
| --- |
| |
| # NAME |
| @@ -112,10 +113,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | This function was added in libcurl 7.15.4, and is deemed stable since 7.16.0. |
| - | |
| # RETURN VALUE |
| |
| CURLMcode type, general libcurl multi interface error code. See |
docs/libcurl/curl_multi_socket_all.md+2 -8
| @@ -1,7 +1,7 @@ |
| --- |
| c: Copyright (C) Daniel Stenberg, <[email protected]>, et al. |
| SPDX-License-Identifier: curl |
| - | Title: curl_multi_socket |
| + | Title: curl_multi_socket_all |
| Section: 3 |
| Source: libcurl |
| See-also: |
| @@ -12,6 +12,7 @@ See-also: |
| - the hiperfifo.c example |
| Protocol: |
| - All |
| + | Added-in: 7.15.4 |
| --- |
| |
| # NAME |
| @@ -52,13 +53,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | This function was added in libcurl 7.15.4, and is deemed stable since 7.16.0. |
| - | |
| - | curl_multi_socket_all(3) is deprecated, use |
| - | curl_multi_socket_action(3) instead! |
| - | |
| # RETURN VALUE |
| |
| CURLMcode type, general libcurl multi interface error code. |
docs/libcurl/curl_multi_strerror.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - libcurl-errors (3) |
| Protocol: |
| - All |
| + | Added-in: 7.12.0 |
| --- |
| |
| # NAME |
| @@ -44,10 +45,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | This function was added in libcurl 7.12.0 |
| - | |
| # RETURN VALUE |
| |
| A pointer to a null-terminated string. |
docs/libcurl/curl_multi_timeout.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_multi_socket (3) |
| Protocol: |
| - All |
| + | Added-in: 7.15.4 |
| --- |
| |
| # NAME |
| @@ -82,10 +83,6 @@ out which sockets to wait for by calling curl_multi_fdset(3). |
| When there is activity or timeout, call curl_multi_perform(3) and then |
| loop - until all transfers are complete. |
| |
| - | # AVAILABILITY |
| - | |
| - | This function was added in libcurl 7.15.4. |
| - | |
| # RETURN VALUE |
| |
| The standard CURLMcode for multi interface error codes. |
docs/libcurl/curl_multi_wait.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_multi_poll (3) |
| Protocol: |
| - All |
| + | Added-in: 7.28.0 |
| --- |
| |
| # NAME |
| @@ -113,10 +114,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | This function was added in libcurl 7.28.0. |
| - | |
| # RETURN VALUE |
| |
| CURLMcode type, general libcurl multi interface error code. See |
docs/libcurl/curl_multi_waitfds.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_multi_fdset (3) |
| Protocol: |
| - All |
| + | Added-in: 8.8.0 |
| --- |
| |
| # NAME |
| @@ -99,10 +100,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 8.8.0 |
| - | |
| # RETURN VALUE |
| |
| **CURLMcode** type, general libcurl multi interface error code. See |
docs/libcurl/curl_multi_wakeup.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - curl_multi_wait (3) |
| Protocol: |
| - All |
| + | Added-in: 7.68.0 |
| --- |
| |
| # NAME |
| @@ -84,10 +85,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.68.0 |
| - | |
| # RETURN VALUE |
| |
| CURLMcode type, general libcurl multi interface error code. |
docs/libcurl/curl_pushheader_byname.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - curl_pushheader_bynum (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.44.0 |
| --- |
| |
| # NAME |
| @@ -75,10 +76,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.44.0 |
| - | |
| # RETURN VALUE |
| |
| Returns a pointer to the header field content or NULL. |
docs/libcurl/curl_pushheader_bynum.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - curl_pushheader_byname (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.44.0 |
| --- |
| |
| # NAME |
| @@ -62,10 +63,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.44.0 |
| - | |
| # RETURN VALUE |
| |
| Returns a pointer to the header field content or NULL. |
docs/libcurl/curl_share_cleanup.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - curl_share_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.10 |
| --- |
| |
| # NAME |
| @@ -44,10 +45,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.10 |
| - | |
| # RETURN VALUE |
| |
| CURLSHE_OK (zero) means that the option was set properly, non-zero means an |
docs/libcurl/curl_share_init.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - curl_share_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.10 |
| --- |
| |
| # NAME |
| @@ -48,10 +49,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.10 |
| - | |
| # RETURN VALUE |
| |
| If this function returns NULL, something went wrong (out of memory, etc.) |
docs/libcurl/curl_share_setopt.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - curl_share_init (3) |
| Protocol: |
| - All |
| + | Added-in: 7.10 |
| --- |
| |
| # NAME |
| @@ -62,10 +63,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.10 |
| - | |
| # RETURN VALUE |
| |
| CURLSHE_OK (zero) means that the option was set properly, non-zero means an |
docs/libcurl/curl_share_strerror.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - libcurl-errors (3) |
| Protocol: |
| - All |
| + | Added-in: 7.12.0 |
| --- |
| |
| # NAME |
| @@ -43,10 +44,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | This function was added in libcurl 7.12.0 |
| - | |
| # RETURN VALUE |
| |
| A pointer to a null-terminated string. |
docs/libcurl/curl_slist_append.md+1 -4
| @@ -8,6 +8,7 @@ See-also: |
| - curl_slist_free_all (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -65,10 +66,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| A null pointer is returned if anything went wrong, otherwise the new list |
docs/libcurl/curl_slist_free_all.md+1 -4
| @@ -8,6 +8,7 @@ See-also: |
| - curl_slist_append (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -51,10 +52,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Nothing. |
docs/libcurl/curl_strequal.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - strcmp (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -49,10 +50,6 @@ int main(int argc, char **argv) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Non-zero if the strings are identical. Zero if they are not. |
docs/libcurl/curl_strnequal.md+2 -5
| @@ -1,7 +1,7 @@ |
| --- |
| c: Copyright (C) Daniel Stenberg, <[email protected]>, et al. |
| SPDX-License-Identifier: curl |
| - | Title: curl_strequal |
| + | Title: curl_strnequal |
| Section: 3 |
| Source: libcurl |
| See-also: |
| @@ -10,6 +10,7 @@ See-also: |
| - strcmp (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -52,10 +53,6 @@ int main(int argc, char **argv) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Non-zero if the strings are identical. Zero if they are not. |
docs/libcurl/curl_unescape.md+3 -2
| @@ -11,6 +11,7 @@ See-also: |
| - curl_free (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -27,7 +28,7 @@ char *curl_unescape(const char *input, int length); |
| |
| # DESCRIPTION |
| |
| - | Obsolete function. Use curl_easy_unescape(3) instead. |
| + | Deprecated. Use curl_easy_unescape(3) instead. |
| |
| This function converts the URL encoded string **input** to a "plain string" |
| and return that as a new allocated string. All input characters that are URL |
| @@ -57,7 +58,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| Since 7.15.4, curl_easy_unescape(3) should be used. This function might |
| be removed in a future release. |
docs/libcurl/curl_url.md+1 -4
| @@ -13,6 +13,7 @@ See-also: |
| - curl_url_strerror (3) |
| Protocol: |
| - All |
| + | Added-in: 7.62.0 |
| --- |
| |
| # NAME |
| @@ -57,10 +58,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.62.0 |
| - | |
| # RETURN VALUE |
| |
| Returns a **CURLU *** if successful, or NULL if out of memory. |
docs/libcurl/curl_url_cleanup.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - curl_url_set (3) |
| Protocol: |
| - All |
| + | Added-in: 7.62.0 |
| --- |
| |
| # NAME |
| @@ -44,10 +45,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.62.0 |
| - | |
| # RETURN VALUE |
| |
| none |
docs/libcurl/curl_url_dup.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - curl_url_set (3) |
| Protocol: |
| - All |
| + | Added-in: 7.62.0 |
| --- |
| |
| # NAME |
| @@ -49,10 +50,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.62.0 |
| - | |
| # RETURN VALUE |
| |
| Returns a new handle or NULL if out of memory. |
docs/libcurl/curl_url_get.md+1 -4
| @@ -13,6 +13,7 @@ See-also: |
| - curl_url_strerror (3) |
| Protocol: |
| - All |
| + | Added-in: 7.62.0 |
| --- |
| |
| # NAME |
| @@ -235,10 +236,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.62.0. CURLUPART_ZONEID was added in 7.65.0. |
| - | |
| # RETURN VALUE |
| |
| Returns a CURLUcode error value, which is CURLUE_OK (0) if everything went |
docs/libcurl/curl_url_set.md+1 -4
| @@ -13,6 +13,7 @@ See-also: |
| - curl_url_strerror (3) |
| Protocol: |
| - All |
| + | Added-in: 7.78.0 |
| --- |
| |
| # NAME |
| @@ -255,10 +256,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.62.0. CURLUPART_ZONEID was added in 7.65.0. |
| - | |
| # RETURN VALUE |
| |
| Returns a *CURLUcode* error value, which is CURLUE_OK (0) if everything |
docs/libcurl/curl_url_strerror.md+1 -4
| @@ -13,6 +13,7 @@ See-also: |
| - libcurl-errors (3) |
| Protocol: |
| - All |
| + | Added-in: 7.80.0 |
| --- |
| |
| # NAME |
| @@ -46,10 +47,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.80.0 |
| - | |
| # RETURN VALUE |
| |
| A pointer to a null-terminated string. |
docs/libcurl/curl_version.md+1 -4
| @@ -8,6 +8,7 @@ See-also: |
| - curl_version_info (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -38,10 +39,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| A pointer to a null-terminated string. The string resides in a statically |
docs/libcurl/curl_version_info.md+1 -4
| @@ -8,6 +8,7 @@ See-also: |
| - curl_version (3) |
| Protocol: |
| - All |
| + | Added-in: 7.10.0 |
| --- |
| |
| # NAME |
| @@ -382,10 +383,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.10 |
| - | |
| # RETURN VALUE |
| |
| A pointer to a curl_version_info_data struct. |
docs/libcurl/curl_ws_meta.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - libcurl-ws (3) |
| Protocol: |
| - WS |
| + | Added-in: 7.86.0 |
| --- |
| |
| # NAME |
| @@ -132,10 +133,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.86.0. |
| - | |
| # RETURN VALUE |
| |
| This function returns a pointer to a *curl_ws_frame* struct with read-only |
docs/libcurl/curl_ws_recv.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - libcurl-ws (3) |
| Protocol: |
| - WS |
| + | Added-in: 7.86.0 |
| --- |
| |
| # NAME |
| @@ -60,10 +61,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.86.0. |
| - | |
| # RETURN VALUE |
| |
| Returns **CURLE_OK** if everything is okay, and a non-zero number for |
docs/libcurl/curl_ws_send.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - libcurl-ws (3) |
| Protocol: |
| - WS |
| + | Added-in: 7.86.0 |
| --- |
| |
| # NAME |
| @@ -111,10 +112,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.86.0. |
| - | |
| # RETURN VALUE |
| |
| *CURLE_OK* (zero) means that the data was sent properly, non-zero means an |
docs/libcurl/libcurl-easy.md+2 -1
| @@ -1,7 +1,7 @@ |
| --- |
| c: Copyright (C) Daniel Stenberg, <[email protected]>, et al. |
| SPDX-License-Identifier: curl |
| - | Title: libcurl |
| + | Title: libcurl-easy |
| Section: 3 |
| Source: libcurl |
| See-also: |
| @@ -13,6 +13,7 @@ See-also: |
| - libcurl-multi (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
docs/libcurl/libcurl-env-dbg.md+1 -0
| @@ -8,6 +8,7 @@ See-also: |
| - libcurl-env (3) |
| Protocol: |
| - All |
| + | Added-in: n/a |
| --- |
| |
| # NAME |
docs/libcurl/libcurl-env.md+1 -0
| @@ -8,6 +8,7 @@ See-also: |
| - libcurl-env-dbg (3) |
| Protocol: |
| - All |
| + | Added-in: n/a |
| --- |
| |
| # NAME |
docs/libcurl/libcurl-errors.md+1 -0
| @@ -14,6 +14,7 @@ See-also: |
| - curl_url_strerror (3) |
| Protocol: |
| - All |
| + | Added-in: n/a |
| --- |
| |
| # NAME |
docs/libcurl/libcurl-multi.md+1 -0
| @@ -10,6 +10,7 @@ See-also: |
| - libcurl-errors (3) |
| Protocol: |
| - All |
| + | Added-in: 7.9.6 |
| --- |
| |
| # NAME |
docs/libcurl/libcurl-security.md+1 -0
| @@ -8,6 +8,7 @@ See-also: |
| - libcurl-thread (3) |
| Protocol: |
| - All |
| + | Added-in: n/a |
| --- |
| <!-- markdown-link-check-disable --> |
| # NAME |
docs/libcurl/libcurl-share.md+1 -0
| @@ -13,6 +13,7 @@ See-also: |
| - libcurl-multi (3) |
| Protocol: |
| - All |
| + | Added-in: n/a |
| --- |
| |
| # NAME |
docs/libcurl/libcurl-thread.md+1 -0
| @@ -8,6 +8,7 @@ See-also: |
| - libcurl-security (3) |
| Protocol: |
| - All |
| + | Added-in: n/a |
| --- |
| |
| # NAME |
docs/libcurl/libcurl-tutorial.md+1 -0
| @@ -11,6 +11,7 @@ See-also: |
| - libcurl-url (3) |
| Protocol: |
| - All |
| + | Added-in: n/a |
| --- |
| |
| # NAME |
docs/libcurl/libcurl-url.md+3 -4
| @@ -1,7 +1,7 @@ |
| --- |
| c: Copyright (C) Daniel Stenberg, <[email protected]>, et al. |
| SPDX-License-Identifier: curl |
| - | Title: libcurl |
| + | Title: libcurl-url |
| Section: 3 |
| Source: libcurl |
| See-also: |
| @@ -14,6 +14,7 @@ See-also: |
| - curl_url_strerror (3) |
| Protocol: |
| - All |
| + | Added-in: 7.62.0 |
| --- |
| |
| # NAME |
| @@ -156,9 +157,7 @@ Now the URL looks like |
| https://example.com/?shoes=2&hat=1&candy=N%26N |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | The URL API was introduced in libcurl 7.62.0. |
| + | # NOTES |
| |
| A URL with a literal IPv6 address can be parsed even when IPv6 support is not |
| enabled. |
docs/libcurl/libcurl-ws.md+3 -2
| @@ -1,7 +1,7 @@ |
| --- |
| c: Copyright (C) Daniel Stenberg, <[email protected]>, et al. |
| SPDX-License-Identifier: curl |
| - | Title: libcurl |
| + | Title: libcurl-ws |
| Section: 3 |
| Source: libcurl |
| See-also: |
| @@ -14,6 +14,7 @@ See-also: |
| - curl_ws_send (3) |
| Protocol: |
| - All |
| + | Added-in: 7.86.0 |
| --- |
| |
| # NAME |
| @@ -115,7 +116,7 @@ Once such a setup has been successfully performed, the application can proceed |
| and use curl_ws_recv(3) and curl_ws_send(3) freely to exchange |
| WebSocket messages with the server. |
| |
| - | # AVAILABILITY |
| + | # EXPERIMENTAL |
| |
| The WebSocket API was introduced as experimental in 7.86.0 and is still |
| experimental today. |
docs/libcurl/libcurl.md+1 -0
| @@ -11,6 +11,7 @@ See-also: |
| - libcurl-thread (3) |
| Protocol: |
| - All |
| + | Added-in: n/a |
| --- |
| |
| # NAME |
docs/libcurl/mksymbolsmanpage.pl+1 -0
| @@ -48,6 +48,7 @@ See-also: |
| - libcurl-multi (3) |
| - libcurl-security (3) |
| - libcurl-thread (3) |
| + | Added-in: n/a |
| --- |
| # libcurl symbols |
| |
docs/libcurl/opts/CURLINFO_ACTIVESOCKET.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.45.0 |
| --- |
| |
| # NAME |
| @@ -71,10 +72,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.45.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_APPCONNECT_TIME.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.19.0 |
| --- |
| |
| # NAME |
| @@ -60,10 +61,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.19.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_APPCONNECT_TIME_T.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.61.0 |
| --- |
| |
| # NAME |
| @@ -61,10 +62,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.61.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_CAINFO.md+1 -4
| @@ -12,6 +12,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - All |
| + | Added-in: 7.84.0 |
| --- |
| |
| # NAME |
| @@ -57,10 +58,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.84.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_CAPATH.md+1 -4
| @@ -15,6 +15,7 @@ TLS-backend: |
| - GnuTLS |
| - mbedTLS |
| - wolfSSL |
| + | Added-in: 7.84.0 |
| --- |
| |
| # NAME |
| @@ -60,10 +61,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.84.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_CERTINFO.md+4 -7
| @@ -15,6 +15,7 @@ TLS-backend: |
| - GnuTLS |
| - Schannel |
| - Secure Transport |
| + | Added-in: 7.19.1 |
| --- |
| |
| # NAME |
| @@ -91,14 +92,10 @@ int main(void) |
| |
| See also the *certinfo.c* example. |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| - | This option is only working in libcurl built with OpenSSL, GnuTLS, Schannel, |
| - | Secure Transport or mbedTLS. GnuTLS support added in 7.42.0. Schannel support |
| - | added in 7.50.0. Secure Transport support added in 7.79.0. mbedTLS support added |
| - | in 8.9.0. |
| - | |
| - | Added in 7.19.1 |
| + | GnuTLS support added in 7.42.0. Schannel support added in 7.50.0. Secure |
| + | Transport support added in 7.79.0. mbedTLS support added in 8.9.0. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLINFO_CONDITION_UNMET.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.19.4 |
| --- |
| |
| # NAME |
| @@ -69,10 +70,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.19.4 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_CONNECT_TIME.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.4.1 |
| --- |
| |
| # NAME |
| @@ -56,10 +57,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.4.1 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_CONNECT_TIME_T.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.61.0 |
| --- |
| |
| # NAME |
| @@ -59,10 +60,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.61.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_CONN_ID.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 8.2.0 |
| --- |
| |
| # NAME |
| @@ -59,10 +60,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 8.2.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_CONTENT_LENGTH_DOWNLOAD.md+3 -2
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.6.1 |
| --- |
| |
| # NAME |
| @@ -59,9 +60,9 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| - | Added in 7.6.1. Deprecated since 7.55.0. |
| + | Deprecated since 7.55.0. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLINFO_CONTENT_LENGTH_DOWNLOAD_T.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.55.0 |
| --- |
| |
| # NAME |
| @@ -56,10 +57,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.55.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_CONTENT_LENGTH_UPLOAD.md+3 -2
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.6.1 |
| --- |
| |
| # NAME |
| @@ -58,9 +59,9 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| - | Added in 7.6.1. Deprecated since 7.55.0. |
| + | Deprecated since 7.55.0. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLINFO_CONTENT_LENGTH_UPLOAD_T.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.55.0 |
| --- |
| |
| # NAME |
| @@ -55,10 +56,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.55.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_CONTENT_TYPE.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.9.4 |
| --- |
| |
| # NAME |
| @@ -64,10 +65,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.9.4 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_COOKIELIST.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.14.1 |
| --- |
| |
| # NAME |
| @@ -71,10 +72,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.14.1 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_EFFECTIVE_METHOD.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.72.0 |
| --- |
| |
| # NAME |
| @@ -61,10 +62,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.72.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_EFFECTIVE_URL.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.4 |
| --- |
| |
| # NAME |
| @@ -57,10 +58,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.4 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_FILETIME.md+1 -4
| @@ -12,6 +12,7 @@ Protocol: |
| - HTTP |
| - FTP |
| - SFTP |
| + | Added-in: 7.5 |
| --- |
| |
| # NAME |
| @@ -66,10 +67,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.5 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_FILETIME_T.md+2 -5
| @@ -1,7 +1,7 @@ |
| --- |
| c: Copyright (C) Daniel Stenberg, <[email protected]>, et al. |
| SPDX-License-Identifier: curl |
| - | Title: CURLINFO_FILETIME |
| + | Title: CURLINFO_FILETIME_T |
| Section: 3 |
| Source: libcurl |
| See-also: |
| @@ -12,6 +12,7 @@ Protocol: |
| - HTTP |
| - FTP |
| - SFTP |
| + | Added-in: 7.59.0 |
| --- |
| |
| # NAME |
| @@ -67,10 +68,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.59.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_FTP_ENTRY_PATH.md+3 -2
| @@ -9,6 +9,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - FTP |
| + | Added-in: 7.15.4 |
| --- |
| |
| # NAME |
| @@ -59,9 +60,9 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| - | Added in 7.15.4. Works for SFTP since 7.21.4 |
| + | Works for SFTP since 7.21.4 |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLINFO_HEADER_SIZE.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.4.1 |
| --- |
| |
| # NAME |
| @@ -54,10 +55,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.4.1 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_HTTPAUTH_AVAIL.md+2 -7
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.10.8 |
| --- |
| |
| # NAME |
| @@ -29,8 +30,7 @@ CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_HTTPAUTH_AVAIL, long *authp); |
| |
| Pass a pointer to a long to receive a bitmask indicating the authentication |
| method(s) available according to the previous response. The meaning of the |
| - | bits is explained in the CURLOPT_HTTPAUTH(3) option for |
| - | curl_easy_setopt(3). |
| + | bits is explained in the CURLOPT_HTTPAUTH(3) option for curl_easy_setopt(3). |
| |
| # EXAMPLE |
| |
| @@ -65,11 +65,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added RFC 2617 in 7.10.8 |
| - | Added RFC 7616 in 7.57.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_HTTP_CONNECTCODE.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.10.7 |
| --- |
| |
| # NAME |
| @@ -54,10 +55,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.10.7 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_HTTP_VERSION.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.50.0 |
| --- |
| |
| # NAME |
| @@ -50,10 +51,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.50.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_LASTSOCKET.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.15.2 |
| --- |
| |
| # NAME |
| @@ -71,10 +72,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.15.2 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_LOCAL_IP.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.21.0 |
| --- |
| |
| # NAME |
| @@ -61,10 +62,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.21.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_LOCAL_PORT.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLINFO_PRIMARY_PORT (3) |
| - curl_easy_getinfo (3) |
| - curl_easy_setopt (3) |
| + | Added-in: 7.21.0 |
| --- |
| |
| # NAME |
| @@ -57,10 +58,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.21.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_NAMELOOKUP_TIME.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.4.1 |
| --- |
| |
| # NAME |
| @@ -57,10 +58,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.4.1 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_NAMELOOKUP_TIME_T.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.61.0 |
| --- |
| |
| # NAME |
| @@ -58,10 +59,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.61.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_NUM_CONNECTS.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.12.3 |
| --- |
| |
| # NAME |
| @@ -54,10 +55,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.12.3 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_OS_ERRNO.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.12.2 |
| --- |
| |
| # NAME |
| @@ -59,10 +60,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.12.2 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_PRETRANSFER_TIME.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.4.1 |
| --- |
| |
| # NAME |
| @@ -62,10 +63,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.4.1 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_PRETRANSFER_TIME_T.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.61.0 |
| --- |
| |
| # NAME |
| @@ -64,10 +65,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.61.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_PRIMARY_IP.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.19.0 |
| --- |
| |
| # NAME |
| @@ -62,10 +63,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.19.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_PRIMARY_PORT.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.21.0 |
| --- |
| |
| # NAME |
| @@ -56,10 +57,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.21.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_PRIVATE.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.10.3 |
| --- |
| |
| # NAME |
| @@ -57,10 +58,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.10.3 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_PROTOCOL.md+3 -2
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.52.0 |
| --- |
| |
| # NAME |
| @@ -62,9 +63,9 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| - | Added in 7.52.0. Deprecated since 7.85.0. |
| + | Deprecated since 7.85.0. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLINFO_PROXYAUTH_AVAIL.md+2 -7
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.10.8 |
| --- |
| |
| # NAME |
| @@ -29,8 +30,7 @@ CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_PROXYAUTH_AVAIL, |
| |
| Pass a pointer to a long to receive a bitmask indicating the authentication |
| method(s) available according to the previous response. The meaning of the |
| - | bits is explained in the CURLOPT_PROXYAUTH(3) option for |
| - | curl_easy_setopt(3). |
| + | bits is explained in the CURLOPT_PROXYAUTH(3) option for curl_easy_setopt(3). |
| |
| # EXAMPLE |
| |
| @@ -66,11 +66,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added RFC 2617 in 7.10.8 |
| - | Added RFC 7616 in 7.57.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_PROXY_ERROR.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - libcurl-errors (3) |
| Protocol: |
| - All |
| + | Added-in: 7.73.0 |
| --- |
| |
| # NAME |
| @@ -94,10 +95,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.73.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_PROXY_SSL_VERIFYRESULT.md+1 -4
| @@ -13,6 +13,7 @@ Protocol: |
| TLS-backend: |
| - OpenSSL |
| - GnuTLS |
| + | Added-in: 7.52.0 |
| --- |
| |
| # NAME |
| @@ -67,10 +68,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.52.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_QUEUE_TIME_T.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 8.6.0 |
| --- |
| |
| # NAME |
| @@ -59,10 +60,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 8.6.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_REDIRECT_COUNT.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.9.7 |
| --- |
| |
| # NAME |
| @@ -51,10 +52,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.9.7 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_REDIRECT_TIME.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.9.7 |
| --- |
| |
| # NAME |
| @@ -59,10 +60,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.9.7 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_REDIRECT_TIME_T.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.61.0 |
| --- |
| |
| # NAME |
| @@ -61,10 +62,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.61.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_REDIRECT_URL.md+8 -11
| @@ -12,6 +12,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.18.2 |
| --- |
| |
| # NAME |
| @@ -28,14 +29,14 @@ CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_REDIRECT_URL, char **urlp); |
| |
| # DESCRIPTION |
| |
| - | Pass a pointer to a char pointer to receive the URL a redirect *would* |
| - | take you to if you would enable CURLOPT_FOLLOWLOCATION(3). This can come |
| - | handy if you think using the built-in libcurl redirect logic is not good enough |
| - | for you but you would still prefer to avoid implementing all the magic of |
| - | figuring out the new URL. |
| + | Pass a pointer to a char pointer to receive the URL a redirect *would* take |
| + | you to if you would enable CURLOPT_FOLLOWLOCATION(3). This can come handy if |
| + | you think using the built-in libcurl redirect logic is not good enough for you |
| + | but you would still prefer to avoid implementing all the magic of figuring out |
| + | the new URL. |
| |
| - | This URL is also set if the CURLOPT_MAXREDIRS(3) limit prevented a |
| - | redirect to happen (since 7.54.1). |
| + | This URL is also set if the CURLOPT_MAXREDIRS(3) limit prevented a redirect to |
| + | happen (since 7.54.1). |
| |
| # EXAMPLE |
| |
| @@ -58,10 +59,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.18.2 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_REFERER.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.76.0 |
| --- |
| |
| # NAME |
| @@ -56,10 +57,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.76.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_REQUEST_SIZE.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.4.1 |
| --- |
| |
| # NAME |
| @@ -52,10 +53,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.4.1 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_RESPONSE_CODE.md+4 -3
| @@ -13,6 +13,7 @@ Protocol: |
| - FTP |
| - SMTP |
| - LDAP |
| + | Added-in: 7.10.8 |
| --- |
| |
| # NAME |
| @@ -56,10 +57,10 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| - | Added in 7.10.8. CURLINFO_HTTP_CODE was added in 7.4.1. |
| - | Support for SMTP responses added in 7.25.0, for OpenLDAP in 7.81.0. |
| + | The former name, CURLINFO_HTTP_CODE, was added in 7.4.1. Support for SMTP |
| + | responses added in 7.25.0, for OpenLDAP in 7.81.0. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLINFO_RETRY_AFTER.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_header (3) |
| Protocol: |
| - All |
| + | Added-in: 7.66.0 |
| --- |
| |
| # NAME |
| @@ -60,10 +61,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.66.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_RTSP_CLIENT_CSEQ.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - RTSP |
| + | Added-in: 7.20.0 |
| --- |
| |
| # NAME |
| @@ -50,10 +51,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.20.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_RTSP_CSEQ_RECV.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - RTSP |
| + | Added-in: 7.20.0 |
| --- |
| |
| # NAME |
| @@ -50,10 +51,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.20.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_RTSP_SERVER_CSEQ.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - RTSP |
| + | Added-in: 7.20.0 |
| --- |
| |
| # NAME |
| @@ -54,10 +55,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.20.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_RTSP_SESSION_ID.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - RTSP |
| + | Added-in: 7.20.0 |
| --- |
| |
| # NAME |
| @@ -55,10 +56,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.20.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_SCHEME.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.52.0 |
| --- |
| |
| # NAME |
| @@ -60,10 +61,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.52.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_SIZE_DOWNLOAD.md+3 -2
| @@ -12,6 +12,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.4.1 |
| --- |
| |
| # NAME |
| @@ -62,9 +63,9 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| - | Added in 7.4.1. Deprecated since 7.55.0. |
| + | Deprecated since 7.55.0. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLINFO_SIZE_DOWNLOAD_T.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.55.0 |
| --- |
| |
| # NAME |
| @@ -59,10 +60,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.55.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_SIZE_UPLOAD.md+3 -2
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.4.1 |
| --- |
| |
| # NAME |
| @@ -58,9 +59,9 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| - | Added in 7.4.1. Deprecated since 7.55.0. |
| + | Deprecated since 7.55.0. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLINFO_SIZE_UPLOAD_T.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.55.0 |
| --- |
| |
| # NAME |
| @@ -55,10 +56,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.55.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_SPEED_DOWNLOAD.md+3 -2
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.4.1 |
| --- |
| |
| # NAME |
| @@ -58,9 +59,9 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| - | Added in 7.4.1. Deprecated since 7.55.0. |
| + | Deprecated since 7.55.0. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLINFO_SPEED_DOWNLOAD_T.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.55.0 |
| --- |
| |
| # NAME |
| @@ -56,10 +57,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.55.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_SPEED_UPLOAD.md+3 -2
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.4.1 |
| --- |
| |
| # NAME |
| @@ -56,9 +57,9 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| - | Added in 7.4.1. Deprecated since 7.55.0. |
| + | Deprecated since 7.55.0. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLINFO_SPEED_UPLOAD_T.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.55.0 |
| --- |
| |
| # NAME |
| @@ -54,10 +55,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.55.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_SSL_ENGINES.md+1 -4
| @@ -12,6 +12,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - OpenSSL |
| + | Added-in: 7.12.3 |
| --- |
| |
| # NAME |
| @@ -56,10 +57,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.12.3. Available in OpenSSL builds with "engine" support. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_SSL_VERIFYRESULT.md+1 -4
| @@ -13,6 +13,7 @@ Protocol: |
| TLS-backend: |
| - OpenSSL |
| - GnuTLS |
| + | Added-in: 7.5 |
| --- |
| |
| # NAME |
| @@ -66,10 +67,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.5. Only set by the OpenSSL/LibreSSL/BoringSSL and GnuTLS backends. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_STARTTRANSFER_TIME.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.9.2 |
| --- |
| |
| # NAME |
| @@ -60,10 +61,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.9.2 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_STARTTRANSFER_TIME_T.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.61.0 |
| --- |
| |
| # NAME |
| @@ -62,10 +63,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.61.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_TLS_SESSION.md+3 -3
| @@ -13,6 +13,7 @@ Protocol: |
| TLS-backend: |
| - OpenSSL |
| - GnuTLS |
| + | Added-in: 7.34.0 |
| --- |
| |
| # NAME |
| @@ -66,10 +67,9 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| - | Added in 7.34.0. Deprecated since 7.48.0 and supported by OpenSSL and GnuTLS |
| - | only up until this version was released. |
| + | Deprecated since 7.48.0 |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLINFO_TLS_SSL_PTR.md+2 -3
| @@ -18,6 +18,7 @@ TLS-backend: |
| - Schannel |
| - Secure Transport |
| - wolfSSL |
| + | Added-in: 7.48.0 |
| --- |
| |
| # NAME |
| @@ -166,9 +167,7 @@ int main(int argc, char **argv) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.48.0. |
| + | # NOTES |
| |
| This option supersedes CURLINFO_TLS_SESSION(3) which was added in 7.34.0. |
| This option is exactly the same as that option except in the case of OpenSSL. |
docs/libcurl/opts/CURLINFO_TOTAL_TIME.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.4.1 |
| --- |
| |
| # NAME |
| @@ -58,10 +59,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.4.1 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_TOTAL_TIME_T.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.61.0 |
| --- |
| # NAME |
| |
| @@ -59,10 +60,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.61.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_USED_PROXY.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 8.7.0 |
| --- |
| |
| # NAME |
| @@ -58,10 +59,6 @@ int main(int argc, char *argv[]) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 8.7.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLINFO_XFER_ID.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 8.2.0 |
| --- |
| |
| # NAME |
| @@ -59,10 +60,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 8.2.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLMOPT_PIPELINING (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.30.0 |
| --- |
| |
| # NAME |
| @@ -50,10 +51,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.30.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLMOPT_PIPELINING (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.30.0 |
| --- |
| |
| # NAME |
| @@ -49,10 +50,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.30.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLMOPT_MAXCONNECTS.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_MAXCONNECTS (3) |
| Protocol: |
| - All |
| + | Added-in: 7.16.3 |
| --- |
| |
| # NAME |
| @@ -63,10 +64,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.16.3 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLMOPT_MAX_CONCURRENT_STREAMS.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_MAXCONNECTS (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.67.0 |
| --- |
| |
| # NAME |
| @@ -48,10 +49,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.67.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLMOPT_MAX_HOST_CONNECTIONS.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLMOPT_MAX_TOTAL_CONNECTIONS (3) |
| Protocol: |
| - All |
| + | Added-in: 7.30.0 |
| --- |
| |
| # NAME |
| @@ -66,10 +67,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.30.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLMOPT_MAX_PIPELINE_LENGTH.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLMOPT_PIPELINING (3) |
| Protocol: |
| - All |
| + | Added-in: 7.30.0 |
| --- |
| |
| # NAME |
| @@ -53,10 +54,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.30.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLMOPT_MAX_TOTAL_CONNECTIONS.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLMOPT_MAX_HOST_CONNECTIONS (3) |
| Protocol: |
| - All |
| + | Added-in: 7.30.0 |
| --- |
| |
| # NAME |
| @@ -59,10 +60,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.30.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLMOPT_PIPELINING.md+4 -3
| @@ -13,6 +13,7 @@ See-also: |
| - CURLMOPT_PIPELINING_SITE_BL (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.16.0 |
| --- |
| |
| # NAME |
| @@ -65,10 +66,10 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| - | Added in 7.16.0. Multiplex support bit added in 7.43.0. HTTP/1 Pipelining |
| - | support was disabled in 7.62.0. |
| + | The multiplex support bit was added in 7.43.0. HTTP/1 Pipelining support was |
| + | disabled in 7.62.0. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLMOPT_PIPELINING_SERVER_BL.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLMOPT_PIPELINING_SITE_BL (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.30.0 |
| --- |
| |
| # NAME |
| @@ -59,10 +60,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.30.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLMOPT_PIPELINING_SITE_BL.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLMOPT_PIPELINING_SERVER_BL (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.30.0 |
| --- |
| |
| # NAME |
| @@ -55,10 +56,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.30.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLMOPT_PUSHDATA.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - RFC 7540 |
| Protocol: |
| - HTTP |
| + | Added-in: 7.44.0 |
| --- |
| |
| # NAME |
| @@ -76,10 +77,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.44.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - RFC 7540 |
| Protocol: |
| - HTTP |
| + | Added-in: 7.44.0 |
| --- |
| |
| # NAME |
| @@ -137,10 +138,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.44.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLMOPT_SOCKETDATA.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_multi_socket_action (3) |
| Protocol: |
| - All |
| + | Added-in: 7.15.4 |
| --- |
| |
| # NAME |
| @@ -71,10 +72,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.15.4 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLM_OK. |
docs/libcurl/opts/CURLMOPT_SOCKETFUNCTION.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_multi_socket_action (3) |
| Protocol: |
| - All |
| + | Added-in: 7.15.4 |
| --- |
| |
| # NAME |
| @@ -124,10 +125,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.15.4 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLM_OK. |
docs/libcurl/opts/CURLMOPT_TIMERDATA.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLMOPT_TIMERFUNCTION (3) |
| Protocol: |
| - All |
| + | Added-in: 7.16.0 |
| --- |
| |
| # NAME |
| @@ -64,10 +65,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.16.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLMOPT_TIMERFUNCTION.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLMOPT_TIMERDATA (3) |
| Protocol: |
| - All |
| + | Added-in: 7.16.0 |
| --- |
| |
| # NAME |
| @@ -92,10 +93,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.16.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_ABSTRACT_UNIX_SOCKET.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - unix (7) |
| Protocol: |
| - All |
| + | Added-in: 7.53.0 |
| --- |
| |
| # NAME |
| @@ -60,10 +61,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.53.0. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_ACCEPTTIMEOUT_MS.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_STDERR (3) |
| Protocol: |
| - FTP |
| + | Added-in: 7.24.0 |
| --- |
| |
| # NAME |
| @@ -50,10 +51,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.24.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_ACCEPT_ENCODING.md+10 -9
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_TRANSFER_ENCODING (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.21.6 |
| --- |
| |
| # NAME |
| @@ -71,6 +72,15 @@ sending the length of the non-compressed content is a common server mistake). |
| The application does not have to keep the string around after setting this |
| option. |
| |
| + | # NOTES |
| + | |
| + | This option was called CURLOPT_ENCODING before 7.21.6 |
| + | |
| + | The specific libcurl you are using must have been built with zlib to be able to |
| + | decompress gzip and deflate responses, with the brotli library to |
| + | decompress brotli responses and with the zstd library to decompress zstd |
| + | responses. |
| + | |
| # DEFAULT |
| |
| NULL |
| @@ -93,15 +103,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | This option was called CURLOPT_ENCODING before 7.21.6 |
| - | |
| - | The specific libcurl you are using must have been built with zlib to be able to |
| - | decompress gzip and deflate responses, with the brotli library to |
| - | decompress brotli responses and with the zstd library to decompress zstd |
| - | responses. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_ADDRESS_SCOPE.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_STDERR (3) |
| Protocol: |
| - All |
| + | Added-in: 7.19.0 |
| --- |
| |
| # NAME |
| @@ -51,10 +52,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.19.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_ALTSVC.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_RESOLVE (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.64.1 |
| --- |
| <!-- markdown-link-check-disable --> |
| # NAME |
| @@ -100,10 +101,6 @@ Boolean (1 or 0) if "persist" was set for this entry |
| |
| Integer priority value (not currently used) |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.64.1 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_ALTSVC_CTRL.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_RESOLVE (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.64.1 |
| --- |
| |
| # NAME |
| @@ -86,10 +87,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.64.1 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_APPEND.md+2 -1
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_UPLOAD (3) |
| Protocol: |
| - FTP |
| + | Added-in: 7.17.0 |
| --- |
| |
| # NAME |
| @@ -50,7 +51,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # HISTORY |
| |
| This option was known as CURLOPT_FTPAPPEND up to 7.16.4 |
| |
docs/libcurl/opts/CURLOPT_AUTOREFERER.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - CURLOPT_REFERER (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -66,10 +67,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Along with HTTP |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_AWS_SIGV4.md+9 -12
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_PROXYAUTH (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.75.0 |
| --- |
| |
| # NAME |
| @@ -93,19 +94,11 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.75.0 |
| - | |
| - | # RETURN VALUE |
| - | |
| - | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
| - | |
| # NOTES |
| |
| This option overrides the other auth types you might have set in |
| - | CURLOPT_HTTPAUTH(3) which should be highlighted as this makes this auth |
| - | method special. This method cannot be combined with other auth types. |
| + | CURLOPT_HTTPAUTH(3) which should be highlighted as this makes this auth method |
| + | special. This method cannot be combined with other auth types. |
| |
| A sha256 checksum of the request payload is used as input to the signature |
| calculation. For POST requests, this is a checksum of the provided |
| @@ -113,6 +106,10 @@ CURLOPT_POSTFIELDS(3). Otherwise, it is the checksum of an empty buffer. For |
| requests like PUT, you can provide your own checksum in an HTTP header named |
| **x-provider2-content-sha256**. |
| |
| - | For **aws:s3**, a **x-amz-content-sha256** header is added to every request |
| - | if not already present. For s3 requests with unknown payload, this header takes |
| + | For **aws:s3**, a **x-amz-content-sha256** header is added to every request if |
| + | not already present. For s3 requests with unknown payload, this header takes |
| the special value "UNSIGNED-PAYLOAD". |
| + | |
| + | # RETURN VALUE |
| + | |
| + | Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_BUFFERSIZE.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_WRITEFUNCTION (3) |
| Protocol: |
| - All |
| + | Added-in: 7.10 |
| --- |
| |
| # NAME |
| @@ -73,10 +74,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.10. Growing the buffer was added in 7.53.0. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_CAINFO.md+2 -1
| @@ -15,6 +15,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - All |
| + | Added-in: 7.4.2 |
| --- |
| |
| # NAME |
| @@ -75,7 +76,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| Schannel support added in libcurl 7.60. |
| |
docs/libcurl/opts/CURLOPT_CAINFO_BLOB.md+2 -3
| @@ -19,6 +19,7 @@ TLS-backend: |
| - wolfSSL |
| - Secure Transport |
| - Schannel |
| + | Added-in: 7.77.0 |
| --- |
| |
| # NAME |
| @@ -76,9 +77,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.77.0. |
| + | # NOTES |
| |
| This option is supported by the BearSSL (since 7.79.0), mbedTLS (since |
| 7.81.0), rustls (since 7.82.0), wolfSSL (since 8.2.0), OpenSSL, Secure |
docs/libcurl/opts/CURLOPT_CAPATH.md+1 -4
| @@ -16,6 +16,7 @@ TLS-backend: |
| - GnuTLS |
| - mbedTLS |
| - wolfSSL |
| + | Added-in: 7.9.8 |
| --- |
| |
| # NAME |
| @@ -66,10 +67,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | This option is supported by the OpenSSL, GnuTLS, mbedTLS and wolfSSL backends. |
| - | |
| # RETURN VALUE |
| |
| CURLE_OK if supported; or an error such as: |
docs/libcurl/opts/CURLOPT_CA_CACHE_TIMEOUT.md+2 -3
| @@ -17,6 +17,7 @@ TLS-backend: |
| - OpenSSL |
| - Schannel |
| - wolfSSL |
| + | Added-in: 7.87.0 |
| --- |
| |
| # NAME |
| @@ -74,9 +75,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | This option was added in curl 7.87.0. |
| + | # NOTES |
| |
| This option is supported by OpenSSL and its forks (since 7.87.0), Schannel |
| (since 8.5.0), wolfSSL (since 8.9.0) and GnuTLS (since 8.9.0). |
docs/libcurl/opts/CURLOPT_CERTINFO.md+2 -1
| @@ -17,6 +17,7 @@ TLS-backend: |
| - GnuTLS |
| - Schannel |
| - Secure Transport |
| + | Added-in: 7.19.1 |
| --- |
| |
| # NAME |
| @@ -82,7 +83,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| Schannel support added in 7.50.0. Secure Transport support added in 7.79.0. |
| mbedTLS support added in 8.9.0. |
docs/libcurl/opts/CURLOPT_CHUNK_BGN_FUNCTION.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_WILDCARDMATCH (3) |
| Protocol: |
| - FTP |
| + | Added-in: 7.21.0 |
| --- |
| |
| # NAME |
| @@ -141,10 +142,6 @@ int main() |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | This was added in 7.21.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_CHUNK_DATA.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_WILDCARDMATCH (3) |
| Protocol: |
| - FTP |
| + | Added-in: 7.21.0 |
| --- |
| |
| # NAME |
| @@ -91,10 +92,6 @@ int main() |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.21.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_CHUNK_END_FUNCTION.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_WILDCARDMATCH (3) |
| Protocol: |
| - FTP |
| + | Added-in: 7.21.0 |
| --- |
| |
| # NAME |
| @@ -71,10 +72,6 @@ int main() |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.21.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_CLOSESOCKETDATA.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_OPENSOCKETFUNCTION (3) |
| Protocol: |
| - All |
| + | Added-in: 7.21.7 |
| --- |
| |
| # NAME |
| @@ -64,10 +65,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.21.7 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_CLOSESOCKETFUNCTION.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_OPENSOCKETFUNCTION (3) |
| Protocol: |
| - All |
| + | Added-in: 7.21.7 |
| --- |
| |
| # NAME |
| @@ -75,10 +76,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.21.7 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_CONNECTTIMEOUT.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_TIMEOUT (3) |
| Protocol: |
| - All |
| + | Added-in: 7.7 |
| --- |
| |
| # NAME |
| @@ -76,10 +77,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK. Returns CURLE_BAD_FUNCTION_ARGUMENT if set to a negative |
docs/libcurl/opts/CURLOPT_CONNECTTIMEOUT_MS.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_TIMEOUT_MS (3) |
| Protocol: |
| - All |
| + | Added-in: 7.16.2 |
| --- |
| |
| # NAME |
| @@ -77,10 +78,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_CONNECT_ONLY.md+3 -2
| @@ -11,6 +11,7 @@ See-also: |
| - curl_easy_send (3) |
| Protocol: |
| - All |
| + | Added-in: 7.15.2 |
| --- |
| |
| # NAME |
| @@ -72,9 +73,9 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| - | Added in 7.15.2. WS and WSS support added in 7.86.0. |
| + | WS and WSS support added in 7.86.0. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLOPT_CONNECT_TO.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_URL (3) |
| Protocol: |
| - All |
| + | Added-in: 7.49.0 |
| --- |
| |
| # NAME |
| @@ -103,10 +104,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.49.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_CONV_FROM_NETWORK_FUNCTION.md+2 -1
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_CONV_TO_NETWORK_FUNCTION (3) |
| Protocol: |
| - All |
| + | Added-in: 7.15.4 |
| --- |
| |
| # NAME |
| @@ -100,7 +101,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| Not available and deprecated since 7.82.0. |
| |
docs/libcurl/opts/CURLOPT_CONV_FROM_UTF8_FUNCTION.md+2 -1
| @@ -9,6 +9,7 @@ Protocol: |
| See-also: |
| - CURLOPT_CONV_FROM_NETWORK_FUNCTION (3) |
| - CURLOPT_CONV_TO_NETWORK_FUNCTION (3) |
| + | Added-in: 7.15.4 |
| --- |
| |
| # NAME |
| @@ -93,7 +94,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| Not available and deprecated since 7.82.0. |
| |
docs/libcurl/opts/CURLOPT_CONV_TO_NETWORK_FUNCTION.md+2 -1
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_CONV_FROM_UTF8_FUNCTION (3) |
| Protocol: |
| - All |
| + | Added-in: 7.15.4 |
| --- |
| |
| # NAME |
| @@ -96,7 +97,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| Not available and deprecated since 7.82.0. |
| |
docs/libcurl/opts/CURLOPT_COOKIE.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - CURLOPT_HTTPHEADER (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -85,10 +86,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | If HTTP is enabled |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if HTTP is enabled, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_COOKIEFILE.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_COOKIESESSION (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -92,10 +93,6 @@ int main(void) |
| The cookie file format and general cookie concepts in curl are described |
| online here: https://curl.se/docs/http-cookies.html |
| |
| - | # AVAILABILITY |
| - | |
| - | As long as HTTP is supported |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_COOKIEJAR.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_COOKIELIST (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.9 |
| --- |
| |
| # NAME |
| @@ -74,10 +75,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Along with HTTP |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if HTTP is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_COOKIELIST.md+2 -1
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_COOKIEJAR (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.14.1 |
| --- |
| |
| # NAME |
| @@ -118,7 +119,7 @@ int main(void) |
| The cookie file format and general cookie concepts in curl are described |
| online here: https://curl.se/docs/http-cookies.html |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| **ALL** was added in 7.14.1 |
| |
docs/libcurl/opts/CURLOPT_COOKIESESSION.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_COOKIEJAR (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.9.7 |
| --- |
| |
| # NAME |
| @@ -64,10 +65,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Along with HTTP |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_COPYPOSTFIELDS.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_UPLOAD (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.17.1 |
| --- |
| |
| # NAME |
| @@ -66,10 +67,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.17.1 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_CRLF.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_CONV_TO_NETWORK_FUNCTION (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -51,10 +52,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | SMTP since 7.40.0, other protocols since they were introduced |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_CRLFILE.md+1 -4
| @@ -14,6 +14,7 @@ TLS-backend: |
| - GnuTLS |
| - mbedTLS |
| - OpenSSL |
| + | Added-in: 7.19.0 |
| --- |
| |
| # NAME |
| @@ -74,10 +75,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.19.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_CURLU.md+1 -4
| @@ -14,6 +14,7 @@ See-also: |
| - curl_url_strerror (3) |
| Protocol: |
| - All |
| + | Added-in: 7.63.0 |
| --- |
| |
| # NAME |
| @@ -68,10 +69,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.63.0. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_CUSTOMREQUEST.md+1 -4
| @@ -15,6 +15,7 @@ Protocol: |
| - IMAP |
| - POP3 |
| - SMTP |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -119,10 +120,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | IMAP is supported since 7.30.0, POP3 since 7.26.0 and SMTP since 7.34.0. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_DEBUGDATA.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_STDERR (3) |
| Protocol: |
| - All |
| + | Added-in: 7.9.6 |
| --- |
| |
| # NAME |
| @@ -75,10 +76,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_DEBUGFUNCTION.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - curl_global_trace (3) |
| Protocol: |
| - All |
| + | Added-in: 7.9.6 |
| --- |
| |
| # NAME |
| @@ -207,10 +208,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_DEFAULT_PROTOCOL.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_URL (3) |
| Protocol: |
| - All |
| + | Added-in: 7.45.0 |
| --- |
| |
| # NAME |
| @@ -74,10 +75,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.45.0 |
| - | |
| # RETURN VALUE |
| |
| CURLE_OK if the option is supported. |
docs/libcurl/opts/CURLOPT_DIRLISTONLY.md+2 -1
| @@ -11,6 +11,7 @@ Protocol: |
| - FTP |
| - SFTP |
| - POP3 |
| + | Added-in: 7.17.0 |
| --- |
| |
| # NAME |
| @@ -73,7 +74,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # HISTORY |
| |
| This option was known as CURLOPT_FTPLISTONLY up to 7.16.4. POP3 is supported |
| since 7.21.5. |
docs/libcurl/opts/CURLOPT_DISALLOW_USERNAME_IN_URL.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - libcurl-security (3) |
| Protocol: |
| - All |
| + | Added-in: 7.61.0 |
| --- |
| |
| # NAME |
| @@ -54,10 +55,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.61.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_DNS_CACHE_TIMEOUT.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - CURLOPT_RESOLVE (3) |
| Protocol: |
| - All |
| + | Added-in: 7.9.3 |
| --- |
| |
| # NAME |
| @@ -78,10 +79,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_DNS_INTERFACE.md+4 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_INTERFACE (3) |
| Protocol: |
| - All |
| + | Added-in: 7.33.0 |
| --- |
| |
| # NAME |
| @@ -55,11 +56,10 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| - | Added in 7.33.0. This option also requires that libcurl was built with a |
| - | resolver backend that supports this operation. The c-ares backend is the only |
| - | such one. |
| + | This option requires that libcurl was built with a resolver backend that |
| + | supports this operation. The c-ares backend is the only such one. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLOPT_DNS_LOCAL_IP4.md+2 -3
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_DNS_SERVERS (3) |
| Protocol: |
| - All |
| + | Added-in: 7.33.0 |
| --- |
| |
| # NAME |
| @@ -54,13 +55,11 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| This option requires that libcurl was built with a resolver backend that |
| supports this operation. The c-ares backend is the only such one. |
| |
| - | Added in 7.33.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, |
docs/libcurl/opts/CURLOPT_DNS_LOCAL_IP6.md+2 -3
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_DNS_SERVERS (3) |
| Protocol: |
| - All |
| + | Added-in: 7.33.0 |
| --- |
| |
| # NAME |
| @@ -54,13 +55,11 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| This option requires that libcurl was built with a resolver backend that |
| supports this operation. The c-ares backend is the only such one. |
| |
| - | Added in 7.33.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, |
docs/libcurl/opts/CURLOPT_DNS_SERVERS.md+2 -3
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_DNS_LOCAL_IP6 (3) |
| Protocol: |
| - All |
| + | Added-in: 7.24.0 |
| --- |
| |
| # NAME |
| @@ -59,13 +60,11 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| This option requires that libcurl was built with a resolver backend that |
| supports this operation. The c-ares backend is the only such one. |
| |
| - | Added in 7.24.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, |
docs/libcurl/opts/CURLOPT_DNS_SHUFFLE_ADDRESSES.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_IPRESOLVE (3) |
| Protocol: |
| - All |
| + | Added-in: 7.60.0 |
| --- |
| |
| # NAME |
| @@ -64,10 +65,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.60.0 |
| - | |
| # RETURN VALUE |
| |
| CURLE_OK or an error such as CURLE_UNKNOWN_OPTION. |
docs/libcurl/opts/CURLOPT_DNS_USE_GLOBAL_CACHE.md+3 -2
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_SHARE (3) |
| Protocol: |
| - All |
| + | Added-in: 7.9.3 |
| --- |
| |
| # NAME |
| @@ -57,9 +58,9 @@ int main(void) |
| |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| - | Deprecated since 7.11.1. Function removed in 7.62.0. |
| + | Deprecated since 7.11.1. Functionality removed in 7.62.0. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLOPT_DOH_SSL_VERIFYHOST.md+1 -6
| @@ -14,6 +14,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - All |
| + | Added-in: 7.76.0 |
| --- |
| |
| # NAME |
| @@ -79,12 +80,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.76.0 |
| - | |
| - | If built TLS enabled. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_DOH_SSL_VERIFYPEER.md+1 -6
| @@ -16,6 +16,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - All |
| + | Added-in: 7.76.0 |
| --- |
| |
| # NAME |
| @@ -91,12 +92,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.76.0 |
| - | |
| - | If built TLS enabled. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_DOH_SSL_VERIFYSTATUS.md+1 -4
| @@ -13,6 +13,7 @@ Protocol: |
| TLS-backend: |
| - OpenSSL |
| - GnuTLS |
| + | Added-in: 7.76.0 |
| --- |
| |
| # NAME |
| @@ -66,10 +67,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.76.0. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if OCSP stapling is supported by the SSL backend, otherwise |
docs/libcurl/opts/CURLOPT_DOH_URL.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_VERBOSE (3) |
| Protocol: |
| - All |
| + | Added-in: 7.62.0 |
| --- |
| |
| # NAME |
| @@ -80,10 +81,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.62.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK on success or CURLE_OUT_OF_MEMORY if there was insufficient |
docs/libcurl/opts/CURLOPT_ECH.md+1 -4
| @@ -11,6 +11,7 @@ Protocol: |
| TLS-backend: |
| - OpenSSL |
| - wolfSSL |
| + | Added-in: 8.8.0 |
| --- |
| |
| # NAME |
| @@ -84,10 +85,6 @@ if(curl) { |
| curl_easy_perform(curl); |
| } |
| ~~~ |
| - | # AVAILABILITY |
| - | |
| - | Added in 8.8.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK on success or CURLE_OUT_OF_MEMORY if there was insufficient |
docs/libcurl/opts/CURLOPT_EGDSOCKET.md+2 -1
| @@ -10,6 +10,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - OpenSSL |
| + | Added-in: 7.7 |
| --- |
| |
| # NAME |
| @@ -32,7 +33,7 @@ Deprecated option. It serves no purpose anymore. |
| |
| NULL |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| This option was deprecated in 7.84.0. |
| |
docs/libcurl/opts/CURLOPT_ERRORBUFFER.md+1 -4
| @@ -13,6 +13,7 @@ See-also: |
| - curl_url_strerror (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -90,10 +91,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_EXPECT_100_TIMEOUT_MS.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_POST (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.36.0 |
| --- |
| |
| # NAME |
| @@ -53,10 +54,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.36.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_FAILONERROR.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_KEEP_SENDING_ON_ERROR (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -63,10 +64,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Along with HTTP. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if HTTP is enabled, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_FILETIME.md+1 -4
| @@ -13,6 +13,7 @@ Protocol: |
| - SFTP |
| - FILE |
| - SMB |
| + | Added-in: 7.5 |
| --- |
| |
| # NAME |
| @@ -65,10 +66,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always, for SFTP since 7.49.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_FNMATCH_DATA.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_WILDCARDMATCH (3) |
| Protocol: |
| - FTP |
| + | Added-in: 7.21.0 |
| --- |
| |
| # NAME |
| @@ -69,10 +70,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.21.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_FNMATCH_FUNCTION.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_WILDCARDMATCH (3) |
| Protocol: |
| - FTP |
| + | Added-in: 7.21.0 |
| --- |
| |
| # NAME |
| @@ -77,10 +78,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.21.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_FOLLOWLOCATION.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - CURLOPT_REDIR_PROTOCOLS_STR (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -82,10 +83,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Along with HTTP |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_FORBID_REUSE.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_MAXLIFETIME_CONN (3) |
| Protocol: |
| - All |
| + | Added-in: 7.7 |
| --- |
| |
| # NAME |
| @@ -58,10 +59,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_FRESH_CONNECT.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_FORBID_REUSE (3) |
| - CURLOPT_MAXAGE_CONN (3) |
| - CURLOPT_MAXLIFETIME_CONN (3) |
| + | Added-in: 7.7 |
| --- |
| |
| # NAME |
| @@ -57,10 +58,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_FTPPORT.md+1 -4
| @@ -9,6 +9,7 @@ Protocol: |
| See-also: |
| - CURLOPT_FTP_USE_EPRT (3) |
| - CURLOPT_FTP_USE_EPSV (3) |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -87,10 +88,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Port range support was added in 7.19.5 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_FTPSSLAUTH.md+1 -4
| @@ -9,6 +9,7 @@ Protocol: |
| See-also: |
| - CURLOPT_FTP_SSL_CCC (3) |
| - CURLOPT_USE_SSL (3) |
| + | Added-in: 7.12.2 |
| --- |
| |
| # NAME |
| @@ -65,10 +66,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.12.2 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_FTP_ACCOUNT.md+1 -4
| @@ -9,6 +9,7 @@ Protocol: |
| See-also: |
| - CURLOPT_PASSWORD (3) |
| - CURLOPT_USERNAME (3) |
| + | Added-in: 7.13.0 |
| --- |
| |
| # NAME |
| @@ -55,10 +56,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.13.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_FTP_ALTERNATIVE_TO_USER.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_FTP_SKIP_PASV_IP (3) |
| - CURLOPT_SERVER_RESPONSE_TIMEOUT (3) |
| - CURLOPT_USERNAME (3) |
| + | Added-in: 7.15.5 |
| --- |
| |
| # NAME |
| @@ -58,10 +59,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.15.5 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_FTP_CREATE_MISSING_DIRS.md+1 -5
| @@ -9,6 +9,7 @@ Protocol: |
| See-also: |
| - CURLOPT_FTP_FILEMETHOD (3) |
| - CURLOPT_FTP_USE_EPSV (3) |
| + | Added-in: 7.10.7 |
| --- |
| |
| # NAME |
| @@ -75,11 +76,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.10.7. SFTP support added in 7.16.3. The retry option was added in |
| - | 7.19.4. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if the |
docs/libcurl/opts/CURLOPT_FTP_FILEMETHOD.md+1 -4
| @@ -9,6 +9,7 @@ Protocol: |
| See-also: |
| - CURLOPT_DIRLISTONLY (3) |
| - CURLOPT_FTP_SKIP_PASV_IP (3) |
| + | Added-in: 7.15.1 |
| --- |
| |
| # NAME |
| @@ -75,10 +76,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.15.1 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_FTP_SKIP_PASV_IP.md+1 -4
| @@ -9,6 +9,7 @@ Protocol: |
| See-also: |
| - CURLOPT_FTPPORT (3) |
| - CURLOPT_FTP_USE_EPRT (3) |
| + | Added-in: 7.15.0 |
| --- |
| |
| # NAME |
| @@ -61,10 +62,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.14.2 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_FTP_SSL_CCC.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_FTPSSLAUTH (3) |
| - CURLOPT_PROTOCOLS_STR (3) |
| - CURLOPT_USE_SSL (3) |
| + | Added-in: 7.16.1 |
| --- |
| |
| # NAME |
| @@ -67,10 +68,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.16.1 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_FTP_USE_EPRT.md+1 -4
| @@ -9,6 +9,7 @@ Protocol: |
| See-also: |
| - CURLOPT_FTPPORT (3) |
| - CURLOPT_FTP_USE_EPSV (3) |
| + | Added-in: 7.10.5 |
| --- |
| |
| # NAME |
| @@ -64,10 +65,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.10.5 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_FTP_USE_EPSV.md+1 -4
| @@ -9,6 +9,7 @@ Protocol: |
| See-also: |
| - CURLOPT_FTPPORT (3) |
| - CURLOPT_FTP_USE_EPRT (3) |
| + | Added-in: 7.9.2 |
| --- |
| |
| # NAME |
| @@ -62,10 +63,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Along with FTP |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if FTP is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_FTP_USE_PRET.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_FTP_USE_EPSV (3) |
| Protocol: |
| - FTP |
| + | Added-in: 7.20.0 |
| --- |
| |
| # NAME |
| @@ -55,10 +56,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.20.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_GSSAPI_DELEGATION.md+1 -4
| @@ -9,6 +9,7 @@ Protocol: |
| See-also: |
| - CURLOPT_HTTPAUTH (3) |
| - CURLOPT_PROXYAUTH (3) |
| + | Added-in: 7.22.0 |
| --- |
| |
| # NAME |
| @@ -54,10 +55,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.22.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_CONNECTTIMEOUT_MS (3) |
| - CURLOPT_LOW_SPEED_LIMIT (3) |
| - CURLOPT_TIMEOUT (3) |
| + | Added-in: 7.59.0 |
| --- |
| |
| # NAME |
| @@ -60,10 +61,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.59.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_HAPROXYPROTOCOL.md+1 -4
| @@ -8,6 +8,7 @@ See-also: |
| - CURLOPT_PROXY (3) |
| Protocol: |
| - All |
| + | Added-in: 7.60.0 |
| --- |
| |
| # NAME |
| @@ -53,10 +54,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Along with HTTP. Added in 7.60.0. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if HTTP is enabled, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_HAPROXY_CLIENT_IP.md+1 -4
| @@ -9,6 +9,7 @@ Protocol: |
| See-also: |
| - CURLOPT_HAPROXYPROTOCOL (3) |
| - CURLOPT_PROXY (3) |
| + | Added-in: 8.2.0 |
| --- |
| |
| # NAME |
| @@ -52,10 +53,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Along with HTTP. Added in 8.2.0. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if HTTP is enabled, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_HEADER.md+1 -4
| @@ -13,6 +13,7 @@ Protocol: |
| See-also: |
| - CURLOPT_HEADERFUNCTION (3) |
| - CURLOPT_HTTPHEADER (3) |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -69,10 +70,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Provided in all libcurl versions. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK. |
docs/libcurl/opts/CURLOPT_HEADERDATA.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_easy_header (3) |
| Protocol: |
| - All |
| + | Added-in: 7.10 |
| --- |
| |
| # NAME |
| @@ -78,10 +79,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_HEADERFUNCTION.md+1 -4
| @@ -14,6 +14,7 @@ Protocol: |
| - POP3 |
| - IMAP |
| - SMTP |
| + | Added-in: 7.7.2 |
| --- |
| |
| # NAME |
| @@ -124,10 +125,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_HEADEROPT.md+1 -4
| @@ -9,6 +9,7 @@ Protocol: |
| See-also: |
| - CURLOPT_HTTPHEADER (3) |
| - CURLOPT_PROXYHEADER (3) |
| + | Added-in: 7.37.0 |
| --- |
| |
| # NAME |
| @@ -70,10 +71,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.37.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_HSTS.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_ALTSVC (3) |
| - CURLOPT_HSTS_CTRL (3) |
| - CURLOPT_RESOLVE (3) |
| + | Added-in: 7.74.0 |
| --- |
| |
| # NAME |
| @@ -72,10 +73,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.74.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_HSTSREADDATA.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_HSTSREADFUNCTION (3) |
| - CURLOPT_HSTSWRITEDATA (3) |
| - CURLOPT_HSTSWRITEFUNCTION (3) |
| + | Added-in: 7.74.0 |
| --- |
| |
| # NAME |
| @@ -61,10 +62,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.74.0 |
| - | |
| # RETURN VALUE |
| |
| This returns CURLE_OK. |
docs/libcurl/opts/CURLOPT_HSTSREADFUNCTION.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_HSTSREADDATA (3) |
| - CURLOPT_HSTSWRITEFUNCTION (3) |
| - CURLOPT_HSTS_CTRL (3) |
| + | Added-in: 7.74.0 |
| --- |
| |
| # NAME |
| @@ -95,10 +96,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.74.0 |
| - | |
| # RETURN VALUE |
| |
| This returns CURLE_OK. |
docs/libcurl/opts/CURLOPT_HSTSWRITEDATA.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_HSTSREADDATA (3) |
| - CURLOPT_HSTSREADFUNCTION (3) |
| - CURLOPT_HSTSWRITEFUNCTION (3) |
| + | Added-in: 7.74.0 |
| --- |
| |
| # NAME |
| @@ -61,10 +62,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.74.0 |
| - | |
| # RETURN VALUE |
| |
| This returns CURLE_OK. |
docs/libcurl/opts/CURLOPT_HSTSWRITEFUNCTION.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_HSTSWRITEDATA (3) |
| - CURLOPT_HSTSWRITEFUNCTION (3) |
| - CURLOPT_HSTS_CTRL (3) |
| + | Added-in: 7.74.0 |
| --- |
| |
| # NAME |
| @@ -99,10 +100,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.74.0 |
| - | |
| # RETURN VALUE |
| |
| This returns CURLE_OK. |
docs/libcurl/opts/CURLOPT_HSTS_CTRL.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_CONNECT_TO (3) |
| - CURLOPT_HSTS (3) |
| - CURLOPT_RESOLVE (3) |
| + | Added-in: 7.74.0 |
| --- |
| |
| # NAME |
| @@ -67,10 +68,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.74.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_HTTP09_ALLOWED.md+1 -4
| @@ -9,6 +9,7 @@ Protocol: |
| See-also: |
| - CURLOPT_HTTP_VERSION (3) |
| - CURLOPT_SSLVERSION (3) |
| + | Added-in: 7.64.0 |
| --- |
| |
| # NAME |
| @@ -53,10 +54,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Option added in 7.64.0, present along with HTTP. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_HTTP200ALIASES.md+1 -4
| @@ -9,6 +9,7 @@ Protocol: |
| See-also: |
| - CURLOPT_HTTP09_ALLOWED (3) |
| - CURLOPT_HTTP_VERSION (3) |
| + | Added-in: 7.10.3 |
| --- |
| |
| # NAME |
| @@ -64,10 +65,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.10.3 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_HTTPAUTH.md+2 -3
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_PASSWORD (3) |
| - CURLOPT_PROXYAUTH (3) |
| - CURLOPT_USERNAME (3) |
| + | Added-in: 7.10.6 |
| --- |
| |
| # NAME |
| @@ -142,9 +143,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Option Added in 7.10.6. |
| + | # NOTES |
| |
| CURLAUTH_DIGEST_IE was added in 7.19.3 |
| |
docs/libcurl/opts/CURLOPT_HTTPGET.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_POST (3) |
| - CURLOPT_UPLOAD (3) |
| - curl_easy_reset (3) |
| + | Added-in: 7.8.1 |
| --- |
| |
| # NAME |
| @@ -60,10 +61,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Along with HTTP |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_HTTPHEADER.md+3 -2
| @@ -15,6 +15,7 @@ See-also: |
| - CURLOPT_MIMEPOST (3) |
| - CURLOPT_PROXYHEADER (3) |
| - curl_mime_init (3) |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -174,9 +175,9 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| - | As long as HTTP is enabled. Use in MIME mail added in 7.56.0. |
| + | Use for MIME mail added in 7.56.0. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLOPT_HTTPPOST.md+3 -2
| @@ -13,6 +13,7 @@ See-also: |
| - curl_formadd (3) |
| - curl_formfree (3) |
| - curl_mime_init (3) |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -89,9 +90,9 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| - | As long as HTTP is enabled. Deprecated in 7.56.0. |
| + | Deprecated in 7.56.0. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLOPT_HTTPPROXYTUNNEL.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_PROXY (3) |
| - CURLOPT_PROXYPORT (3) |
| - CURLOPT_PROXYTYPE (3) |
| + | Added-in: 7.3 |
| --- |
| |
| # NAME |
| @@ -64,10 +65,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_HTTP_CONTENT_DECODING.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_ACCEPT_ENCODING (3) |
| - CURLOPT_DEBUGFUNCTION (3) |
| - CURLOPT_STDERR (3) |
| + | Added-in: 7.16.2 |
| --- |
| |
| # NAME |
| @@ -51,10 +52,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.16.2 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_HTTP_TRANSFER_DECODING.md+6 -5
| @@ -9,6 +9,7 @@ Protocol: |
| See-also: |
| - CURLOPT_ACCEPT_ENCODING (3) |
| - CURLOPT_HTTP_CONTENT_DECODING (3) |
| + | Added-in: 7.16.2 |
| --- |
| |
| # NAME |
| @@ -30,6 +31,11 @@ Pass a long to tell libcurl how to act on transfer decoding. If set to zero, |
| transfer decoding is disabled, if set to 1 it is enabled (default). libcurl |
| does chunked transfer decoding by default unless this option is set to zero. |
| |
| + | # NOTES |
| + | |
| + | This option does not work with the hyper backend as that always has transfer |
| + | decoding enabled. |
| + | |
| # DEFAULT |
| |
| 1 |
| @@ -49,11 +55,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.16.2 Does not work with the hyper backend (it always has transfer |
| - | decoding enabled). |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_HTTP_VERSION.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_HTTP09_ALLOWED (3) |
| - CURLOPT_HTTP200ALIASES (3) |
| - CURLOPT_SSLVERSION (3) |
| + | Added-in: 7.9.1 |
| --- |
| |
| # NAME |
| @@ -108,10 +109,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Along with HTTP |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_IGNORE_CONTENT_LENGTH.md+4 -3
| @@ -10,6 +10,7 @@ Protocol: |
| See-also: |
| - CURLOPT_HTTP_VERSION (3) |
| - CURLOPT_MAXFILESIZE_LARGE (3) |
| + | Added-in: 7.14.1 |
| --- |
| |
| # NAME |
| @@ -62,10 +63,10 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| - | Added in 7.14.1. Support for FTP added in 7.46.0. This option is not working |
| - | for HTTP when libcurl is built to use the hyper backend. |
| + | Support for FTP added in 7.46.0. This option is not working for HTTP when |
| + | libcurl is built to use the hyper backend. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLOPT_INFILESIZE.md+2 -1
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_UPLOAD (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -74,7 +75,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| SMTP support added in 7.23.0 |
| |
docs/libcurl/opts/CURLOPT_INFILESIZE_LARGE.md+2 -1
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_UPLOAD (3) |
| Protocol: |
| - All |
| + | Added-in: 7.11.0 |
| --- |
| |
| # NAME |
| @@ -70,7 +71,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| SMTP support added in 7.23.0 |
| |
docs/libcurl/opts/CURLOPT_INTERFACE.md+2 -1
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_SOCKOPTFUNCTION (3) |
| - CURLOPT_TCP_NODELAY (3) |
| - CURLOPT_LOCALPORT (3) |
| + | Added-in: 7.3 |
| --- |
| |
| # NAME |
| @@ -73,7 +74,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| The `if!` and `host!` syntax was added in 7.24.0. |
| |
docs/libcurl/opts/CURLOPT_INTERLEAVEDATA.md+1 -4
| @@ -9,6 +9,7 @@ Protocol: |
| See-also: |
| - CURLOPT_INTERLEAVEFUNCTION (3) |
| - CURLOPT_RTSP_REQUEST (3) |
| + | Added-in: 7.20.0 |
| --- |
| |
| # NAME |
| @@ -61,10 +62,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.20.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_INTERLEAVEFUNCTION.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_RTSP_REQUEST (3) |
| Protocol: |
| - RTSP |
| + | Added-in: 7.20.0 |
| --- |
| |
| # NAME |
| @@ -91,10 +92,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.20.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_IOCTLDATA.md+3 -2
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_SEEKFUNCTION (3) |
| Protocol: |
| - All |
| + | Added-in: 7.12.3 |
| --- |
| |
| # NAME |
| @@ -61,9 +62,9 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| - | Added in 7.12.3. Deprecated since 7.18.0. |
| + | Deprecated since 7.18.0. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLOPT_IOCTLFUNCTION.md+3 -2
| @@ -9,6 +9,7 @@ Protocol: |
| See-also: |
| - CURLOPT_IOCTLDATA (3) |
| - CURLOPT_SEEKFUNCTION (3) |
| + | Added-in: 7.12.3 |
| --- |
| |
| # NAME |
| @@ -92,9 +93,9 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| - | Added in 7.12.3. Deprecated since 7.18.0. |
| + | Deprecated since 7.18.0. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLOPT_IPRESOLVE.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_SSLVERSION (3) |
| Protocol: |
| - All |
| + | Added-in: 7.10.8 |
| --- |
| |
| # NAME |
| @@ -72,10 +73,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_ISSUERCERT.md+1 -4
| @@ -13,6 +13,7 @@ Protocol: |
| TLS-backend: |
| - OpenSSL |
| - GnuTLS |
| + | Added-in: 7.19.0 |
| --- |
| |
| # NAME |
| @@ -68,10 +69,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | If built TLS enabled |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_ISSUERCERT_BLOB.md+1 -4
| @@ -13,6 +13,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - OpenSSL |
| + | Added-in: 7.71.0 |
| --- |
| |
| # NAME |
| @@ -82,10 +83,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.71.0. This option is supported by the OpenSSL backends. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_KEEP_SENDING_ON_ERROR.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_HTTPHEADER (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.51.0 |
| --- |
| |
| # NAME |
| @@ -57,10 +58,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Along with HTTP. Added in 7.51.0. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if HTTP is enabled, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_KEYPASSWD.md+2 -1
| @@ -14,6 +14,7 @@ TLS-backend: |
| - mbedTLS |
| - Schannel |
| - wolfSSL |
| + | Added-in: 7.17.0 |
| --- |
| |
| # NAME |
| @@ -60,7 +61,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| This option was known as CURLOPT_SSLKEYPASSWD up to 7.16.4 and |
| CURLOPT_SSLCERTPASSWD up to 7.9.2. |
docs/libcurl/opts/CURLOPT_KRBLEVEL.md+2 -1
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_USE_SSL (3) |
| Protocol: |
| - FTP |
| + | Added-in: 7.16.4 |
| --- |
| |
| # NAME |
| @@ -54,7 +55,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| This option was known as CURLOPT_KRB4LEVEL up to 7.16.3 |
| |
docs/libcurl/opts/CURLOPT_LOCALPORT.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_LOCALPORTRANGE (3) |
| Protocol: |
| - All |
| + | Added-in: 7.15.2 |
| --- |
| |
| # NAME |
| @@ -53,10 +54,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.15.2 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_LOCALPORTRANGE.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_LOCALPORT (3) |
| Protocol: |
| - All |
| + | Added-in: 7.15.2 |
| --- |
| |
| # NAME |
| @@ -56,10 +57,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.15.2 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_LOGIN_OPTIONS.md+3 -2
| @@ -12,6 +12,7 @@ Protocol: |
| - LDAP |
| - POP3 |
| - SMTP |
| + | Added-in: 7.34.0 |
| --- |
| |
| # NAME |
| @@ -67,9 +68,9 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| - | Added in 7.34.0. Support for OpenLDAP added in 7.82.0. |
| + | Support for OpenLDAP added in 7.82.0. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLOPT_LOW_SPEED_LIMIT.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_TIMEOUT (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -59,10 +60,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_LOW_SPEED_TIME.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_TIMEOUT (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -56,10 +57,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_MAIL_AUTH.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_MAIL_RCPT (3) |
| Protocol: |
| - SMTP |
| + | Added-in: 7.25.0 |
| --- |
| |
| # NAME |
| @@ -64,10 +65,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.25.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_MAIL_FROM.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_MAIL_RCPT (3) |
| Protocol: |
| - SMTP |
| + | Added-in: 7.20.0 |
| --- |
| |
| # NAME |
| @@ -57,10 +58,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.20.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_MAIL_RCPT.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_MAIL_FROM (3) |
| Protocol: |
| - SMTP |
| + | Added-in: 7.20.0 |
| --- |
| |
| # NAME |
| @@ -68,10 +69,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.20.0. The **VRFY** and **EXPN** logic was added in 7.34.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_MAIL_RCPT_ALLOWFAILS.md+4 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_MAIL_RCPT (3) |
| Protocol: |
| - SMTP |
| + | Added-in: 8.2.0 |
| --- |
| |
| # NAME |
| @@ -68,11 +69,10 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # HISTORY |
| |
| - | This option was called CURLOPT_MAIL_RCPT_ALLLOWFAILS before 8.2.0 |
| - | |
| - | Added in 7.69.0. |
| + | This option was called CURLOPT_MAIL_RCPT_ALLLOWFAILS (with three instead of |
| + | two letter L) before 8.2.0 |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLOPT_MAXAGE_CONN.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_TIMEOUT (3) |
| Protocol: |
| - All |
| + | Added-in: 7.65.0 |
| --- |
| |
| # NAME |
| @@ -60,10 +61,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.65.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK. |
docs/libcurl/opts/CURLOPT_MAXCONNECTS.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_MAXREDIRS (3) |
| Protocol: |
| - All |
| + | Added-in: 7.7 |
| --- |
| |
| # NAME |
| @@ -64,10 +65,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_MAXFILESIZE.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_MAX_RECV_SPEED_LARGE (3) |
| Protocol: |
| - All |
| + | Added-in: 7.10.8 |
| --- |
| |
| # NAME |
| @@ -60,10 +61,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the size passed is valid or CURLE_BAD_FUNCTION_ARGUMENT if |
docs/libcurl/opts/CURLOPT_MAXFILESIZE_LARGE.md+1 -4
| @@ -11,6 +11,7 @@ Protocol: |
| - FTP |
| - HTTP |
| - MQTT |
| + | Added-in: 7.11.0 |
| --- |
| |
| # NAME |
| @@ -62,10 +63,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.11.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_MAXLIFETIME_CONN.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_TIMEOUT (3) |
| Protocol: |
| - All |
| + | Added-in: 7.80.0 |
| --- |
| |
| # NAME |
| @@ -62,10 +63,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.80.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK. |
docs/libcurl/opts/CURLOPT_MAXREDIRS.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_FOLLOWLOCATION (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.5 |
| --- |
| |
| # NAME |
| @@ -61,10 +62,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Along with HTTP |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_MAX_RECV_SPEED_LARGE.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_TIMEOUT (3) |
| Protocol: |
| - All |
| + | Added-in: 7.15.5 |
| --- |
| |
| # NAME |
| @@ -59,10 +60,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.15.5 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_MAX_SEND_SPEED_LARGE.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_MAX_RECV_SPEED_LARGE (3) |
| Protocol: |
| - All |
| + | Added-in: 7.15.5 |
| --- |
| |
| # NAME |
| @@ -61,10 +62,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.15.5 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_MIMEPOST.md+1 -4
| @@ -13,6 +13,7 @@ Protocol: |
| - HTTP |
| - SMTP |
| - IMAP |
| + | Added-in: 7.56.0 |
| --- |
| |
| # NAME |
| @@ -72,10 +73,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.56.0 |
| - | |
| # RETURN VALUE |
| |
| This returns CURLE_OK. |
docs/libcurl/opts/CURLOPT_MIME_OPTIONS.md+1 -4
| @@ -11,6 +11,7 @@ Protocol: |
| - HTTP |
| - IMAP |
| - SMTP |
| + | Added-in: 7.81.0 |
| --- |
| |
| # NAME |
| @@ -88,10 +89,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Option added in 7.81.0. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_NETRC.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_USERPWD (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -132,10 +133,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_NETRC_FILE.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_USERNAME (3) |
| Protocol: |
| - All |
| + | Added-in: 7.11.0 |
| --- |
| |
| # NAME |
| @@ -54,10 +55,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.10.9 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_NEW_DIRECTORY_PERMS.md+1 -4
| @@ -12,6 +12,7 @@ Protocol: |
| - SFTP |
| - SCP |
| - FILE |
| + | Added-in: 7.16.4 |
| --- |
| |
| # NAME |
| @@ -55,10 +56,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.16.4 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_NEW_FILE_PERMS.md+1 -4
| @@ -11,6 +11,7 @@ Protocol: |
| - SFTP |
| - SCP |
| - FILE |
| + | Added-in: 7.16.4 |
| --- |
| |
| # NAME |
| @@ -51,10 +52,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.16.4 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_NOBODY.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - CURLOPT_UPLOAD (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -67,10 +68,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_NOPROGRESS.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_XFERINFOFUNCTION (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -54,10 +55,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK. |
docs/libcurl/opts/CURLOPT_NOPROXY.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_PROXY (3) |
| - CURLOPT_PROXYAUTH (3) |
| - CURLOPT_PROXYTYPE (3) |
| + | Added-in: 7.19.4 |
| --- |
| |
| # NAME |
| @@ -78,10 +79,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.19.4 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_NOSIGNAL.md+1 -4
| @@ -8,6 +8,7 @@ See-also: |
| - CURLOPT_TIMEOUT (3) |
| Protocol: |
| - All |
| + | Added-in: 7.10 |
| --- |
| |
| # NAME |
| @@ -65,10 +66,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.10 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_OPENSOCKETDATA.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_SOCKOPTFUNCTION (3) |
| Protocol: |
| - All |
| + | Added-in: 7.17.1 |
| --- |
| |
| # NAME |
| @@ -81,10 +82,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.17.1 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_OPENSOCKETFUNCTION.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_SOCKOPTFUNCTION (3) |
| Protocol: |
| - All |
| + | Added-in: 7.17.1 |
| --- |
| |
| # NAME |
| @@ -121,10 +122,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.17.1. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_PASSWORD.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_USERPWD (3) |
| Protocol: |
| - All |
| + | Added-in: 7.19.1 |
| --- |
| |
| # NAME |
| @@ -59,10 +60,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.19.1 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_PATH_AS_IS.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_url_set (3) |
| Protocol: |
| - All |
| + | Added-in: 7.42.0 |
| --- |
| |
| # NAME |
| @@ -64,10 +65,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.42.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_PINNEDPUBLICKEY.md+2 -1
| @@ -18,6 +18,7 @@ TLS-backend: |
| - mbedTLS |
| - Secure Transport |
| - Schannel |
| + | Added-in: 7.39.0 |
| --- |
| |
| # NAME |
| @@ -116,7 +117,7 @@ footer: |
| -----END PUBLIC KEY----- |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| ## PEM/DER support |
| |
docs/libcurl/opts/CURLOPT_PIPEWAIT.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_FRESH_CONNECT (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.43.0 |
| --- |
| |
| # NAME |
| @@ -67,10 +68,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.43.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_PORT.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_URL (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -61,10 +62,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_POST.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_HTTPPOST (3) |
| - CURLOPT_POSTFIELDS (3) |
| - CURLOPT_UPLOAD (3) |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -91,10 +92,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Along with HTTP |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_POSTFIELDS.md+1 -4
| @@ -13,6 +13,7 @@ See-also: |
| Protocol: |
| - HTTP |
| - MQTT |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -115,10 +116,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_POSTFIELDSIZE.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_POSTFIELDSIZE_LARGE (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.2 |
| --- |
| |
| # NAME |
| @@ -60,10 +61,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Along with HTTP |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_POSTFIELDSIZE_LARGE.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_POSTFIELDSIZE (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.11.1 |
| --- |
| |
| # NAME |
| @@ -61,10 +62,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Along with HTTP |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_POSTQUOTE.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| Protocol: |
| - FTP |
| - SFTP |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -62,10 +63,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | If support for the protocols are built-in. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_POSTREDIR.md+4 -3
| @@ -12,6 +12,7 @@ See-also: |
| - CURLOPT_POSTFIELDS (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.19.1 |
| --- |
| |
| # NAME |
| @@ -69,10 +70,10 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # HISTORY |
| |
| - | Added in 7.17.1. This option was known as CURLOPT_POST301 up to 7.19.0 as it |
| - | only supported the 301 then. CURL_REDIR_POST_303 was added in 7.26.0. |
| + | This option was known as CURLOPT_POST301 up to 7.19.0 as it only supported the |
| + | 301 then. CURL_REDIR_POST_303 was added in 7.26.0. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLOPT_PREQUOTE.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_QUOTE (3) |
| Protocol: |
| - FTP |
| + | Added-in: 7.9.5 |
| --- |
| |
| # NAME |
| @@ -65,10 +66,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Along with the protocol support |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_PREREQDATA.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_PREREQFUNCTION (3) |
| Protocol: |
| - All |
| + | Added-in: 7.80.0 |
| --- |
| |
| # NAME |
| @@ -62,10 +63,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.80.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_PREREQFUNCTION.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_PREREQDATA (3) |
| Protocol: |
| - All |
| + | Added-in: 7.80.0 |
| --- |
| |
| # NAME |
| @@ -114,10 +115,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.80.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_PRE_PROXY.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_PROXY (3) |
| Protocol: |
| - All |
| + | Added-in: 7.52.0 |
| --- |
| |
| # NAME |
| @@ -72,10 +73,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.52.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if proxies are supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_PRIVATE.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_VERBOSE (3) |
| Protocol: |
| - All |
| + | Added-in: 7.10.3 |
| --- |
| |
| # NAME |
| @@ -61,10 +62,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.10.3 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_PROGRESSDATA.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_XFERINFOFUNCTION (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -69,10 +70,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_PROGRESSFUNCTION.md+2 -1
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_XFERINFOFUNCTION (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -114,7 +115,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| Deprecated since 7.32.0. |
| |
docs/libcurl/opts/CURLOPT_PROTOCOLS.md+3 -2
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_URL (3) |
| Protocol: |
| - All |
| + | Added-in: 7.19.4 |
| --- |
| |
| # NAME |
| @@ -93,9 +94,9 @@ int main(int argc, char **argv) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| - | Added in 7.19.4. Deprecated since 7.85.0. |
| + | Deprecated since 7.85.0. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLOPT_PROTOCOLS_STR.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - curl_version_info (3) |
| Protocol: |
| - All |
| + | Added-in: 7.85.0 |
| --- |
| |
| # NAME |
| @@ -75,10 +76,6 @@ int main(int argc, char **argv) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.85.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_UNKNOWN_OPTION if the option is not implemented, |
docs/libcurl/opts/CURLOPT_PROXY.md+2 -1
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_PROXYTYPE (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -126,7 +127,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| Since 7.14.1 the proxy environment variable names can include the protocol |
| scheme. |
docs/libcurl/opts/CURLOPT_PROXYAUTH.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - CURLOPT_PROXYUSERPWD (3) |
| Protocol: |
| - All |
| + | Added-in: 7.10.7 |
| --- |
| |
| # NAME |
| @@ -64,10 +65,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.10.7 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_PROXYHEADER.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_HTTPHEADER (3) |
| Protocol: |
| - All |
| + | Added-in: 7.37.0 |
| --- |
| |
| # NAME |
| @@ -69,10 +70,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.37.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_PROXYPASSWORD.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_PROXYUSERNAME (3) |
| Protocol: |
| - All |
| + | Added-in: 7.19.1 |
| --- |
| |
| # NAME |
| @@ -58,10 +59,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.19.1 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_PROXYPORT.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_PROXYTYPE (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -57,10 +58,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_PROXYTYPE.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_PROXYPORT (3) |
| Protocol: |
| - All |
| + | Added-in: 7.10 |
| --- |
| |
| # NAME |
| @@ -90,10 +91,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_PROXYUSERNAME.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_USERNAME (3) |
| Protocol: |
| - All |
| + | Added-in: 7.19.1 |
| --- |
| |
| # NAME |
| @@ -61,10 +62,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.19.1 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_PROXYUSERPWD.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_PROXYUSERNAME (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -59,10 +60,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if proxies are supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_PROXY_CAINFO.md+2 -3
| @@ -18,6 +18,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - All |
| + | Added-in: 7.52.0 |
| --- |
| |
| # NAME |
| @@ -79,9 +80,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.52.0 |
| + | # NOTES |
| |
| For TLS backends that do not support certificate files, the |
| CURLOPT_PROXY_CAINFO(3) option is ignored. Refer to |
docs/libcurl/opts/CURLOPT_PROXY_CAINFO_BLOB.md+1 -7
| @@ -21,6 +21,7 @@ TLS-backend: |
| - rustls |
| - Secure Transport |
| - Schannel |
| + | Added-in: 7.77.0 |
| --- |
| |
| # NAME |
| @@ -82,13 +83,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.77.0. |
| - | |
| - | This option is supported by the rustls (since 7.82.0), OpenSSL, Secure |
| - | Transport and Schannel backends. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_PROXY_CAPATH.md+1 -6
| @@ -16,6 +16,7 @@ TLS-backend: |
| - OpenSSL |
| - GnuTLS |
| - mbedTLS |
| + | Added-in: 7.52.0 |
| --- |
| |
| # NAME |
| @@ -65,12 +66,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.52.0 |
| - | |
| - | mbedTLS support added in 7.56.0. |
| - | |
| # RETURN VALUE |
| |
| CURLE_OK if supported; or an error such as: |
docs/libcurl/opts/CURLOPT_PROXY_CRLFILE.md+1 -4
| @@ -15,6 +15,7 @@ TLS-backend: |
| - GnuTLS |
| - mbedTLS |
| - OpenSSL |
| + | Added-in: 7.52.0 |
| --- |
| |
| # NAME |
| @@ -75,10 +76,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.52.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_PROXY_ISSUERCERT.md+1 -4
| @@ -15,6 +15,7 @@ Protocol: |
| TLS-backend: |
| - OpenSSL |
| - GnuTLS |
| + | Added-in: 7.71.0 |
| --- |
| |
| # NAME |
| @@ -73,10 +74,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.71.0. This option is supported by the OpenSSL and GnuTLS backends. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_PROXY_ISSUERCERT_BLOB.md+1 -4
| @@ -14,6 +14,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - OpenSSL |
| + | Added-in: 7.71.0 |
| --- |
| |
| # NAME |
| @@ -85,10 +86,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.71.0. This option is supported by the OpenSSL backends. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_PROXY_KEYPASSWD.md+1 -4
| @@ -16,6 +16,7 @@ TLS-backend: |
| - mbedTLS |
| - Schannel |
| - wolfSSL |
| + | Added-in: 7.52.0 |
| --- |
| |
| # NAME |
| @@ -63,10 +64,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.52.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_PROXY_PINNEDPUBLICKEY.md+2 -1
| @@ -17,6 +17,7 @@ TLS-backend: |
| - GnuTLS |
| - mbedTLS |
| - wolfSSL |
| + | Added-in: 7.52.0 |
| --- |
| |
| # NAME |
| @@ -109,7 +110,7 @@ footer: |
| -----END PUBLIC KEY----- |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| PEM/DER support: |
| |
docs/libcurl/opts/CURLOPT_PROXY_SERVICE_NAME.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_SERVICE_NAME (3) |
| Protocol: |
| - All |
| + | Added-in: 7.43.0 |
| --- |
| |
| # NAME |
| @@ -53,10 +54,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.43.0 for HTTP proxies, 7.49.0 for SOCKS5 proxies. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_PROXY_SSLCERT.md+1 -4
| @@ -17,6 +17,7 @@ TLS-backend: |
| - Schannel |
| - Secure Transport |
| - wolfSSL |
| + | Added-in: 7.52.0 |
| --- |
| |
| # NAME |
| @@ -74,10 +75,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.52.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_PROXY_SSLCERTTYPE.md+1 -6
| @@ -17,6 +17,7 @@ TLS-backend: |
| - Schannel |
| - Secure Transport |
| - wolfSSL |
| + | Added-in: 7.52.0 |
| --- |
| |
| # NAME |
| @@ -68,12 +69,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.52.0 |
| - | |
| - | If built TLS enabled. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_PROXY_SSLCERT_BLOB.md+1 -4
| @@ -15,6 +15,7 @@ TLS-backend: |
| - OpenSSL |
| - Schannel |
| - Secure Transport |
| + | Added-in: 7.71.0 |
| --- |
| |
| # NAME |
| @@ -76,10 +77,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.71.0. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_PROXY_SSLKEY.md+1 -6
| @@ -17,6 +17,7 @@ TLS-backend: |
| - mbedTLS |
| - Schannel |
| - wolfSSL |
| + | Added-in: 7.52.0 |
| --- |
| |
| # NAME |
| @@ -68,12 +69,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.52.0 |
| - | |
| - | If built TLS enabled. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_PROXY_SSLKEYTYPE.md+1 -4
| @@ -14,6 +14,7 @@ TLS-backend: |
| - OpenSSL |
| - BearSSL |
| - wolfSSL |
| + | Added-in: 7.52.0 |
| --- |
| |
| # NAME |
| @@ -58,10 +59,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.52.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_PROXY_SSLKEY_BLOB.md+1 -4
| @@ -12,6 +12,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - OpenSSL |
| + | Added-in: 7.71.0 |
| --- |
| |
| # NAME |
| @@ -76,10 +77,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.71.0. This option is supported by the OpenSSL backends. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_PROXY_SSLVERSION.md+1 -4
| @@ -13,6 +13,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - All |
| + | Added-in: 7.52.0 |
| --- |
| |
| # NAME |
| @@ -121,10 +122,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.52.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_PROXY_SSL_CIPHER_LIST.md+1 -6
| @@ -20,6 +20,7 @@ TLS-backend: |
| - wolfSSL |
| - GnuTLS |
| - mbedTLS |
| + | Added-in: 7.52.0 |
| --- |
| |
| # NAME |
| @@ -86,12 +87,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.52.0, in 7.83.0 for BearSSL, in 8.8.0 for mbedTLS |
| - | |
| - | If built TLS enabled. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_PROXY_SSL_OPTIONS.md+1 -4
| @@ -13,6 +13,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - All |
| + | Added-in: 7.52.0 |
| --- |
| |
| # NAME |
| @@ -110,10 +111,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.52.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_PROXY_SSL_VERIFYHOST.md+1 -6
| @@ -13,6 +13,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - All |
| + | Added-in: 7.52.0 |
| --- |
| |
| # NAME |
| @@ -81,12 +82,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.52.0. |
| - | |
| - | If built TLS enabled. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if TLS is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_PROXY_SSL_VERIFYPEER.md+1 -6
| @@ -12,6 +12,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - All |
| + | Added-in: 7.52.0 |
| --- |
| |
| # NAME |
| @@ -83,12 +84,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.52.0 |
| - | |
| - | If built TLS enabled. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_PROXY_TLS13_CIPHERS.md+1 -5
| @@ -15,6 +15,7 @@ Protocol: |
| TLS-backend: |
| - OpenSSL |
| - Schannel |
| + | Added-in: 7.61.0 |
| --- |
| |
| # NAME |
| @@ -69,11 +70,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.61.0. |
| - | Available when built with OpenSSL \>= 1.1.1. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if supported, CURLE_NOT_BUILT_IN otherwise. |
docs/libcurl/opts/CURLOPT_PROXY_TLSAUTH_PASSWORD.md+1 -4
| @@ -14,6 +14,7 @@ Protocol: |
| TLS-backend: |
| - OpenSSL |
| - GnuTLS |
| + | Added-in: 7.52.0 |
| --- |
| |
| # NAME |
| @@ -62,10 +63,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.52.0. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_PROXY_TLSAUTH_TYPE.md+1 -7
| @@ -14,6 +14,7 @@ Protocol: |
| TLS-backend: |
| - OpenSSL |
| - GnuTLS |
| + | Added-in: 7.52.0 |
| --- |
| |
| # NAME |
| @@ -66,13 +67,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.52.0 |
| - | |
| - | You need to build libcurl with GnuTLS or OpenSSL with TLS-SRP support for this |
| - | to work. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_PROXY_TLSAUTH_USERNAME.md+1 -4
| @@ -14,6 +14,7 @@ Protocol: |
| TLS-backend: |
| - OpenSSL |
| - GnuTLS |
| + | Added-in: 7.52.0 |
| --- |
| |
| # NAME |
| @@ -62,10 +63,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.52.0. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_PROXY_TRANSFER_MODE.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_TRANSFERTEXT (3) |
| Protocol: |
| - All |
| + | Added-in: 7.18.0 |
| --- |
| |
| # NAME |
| @@ -57,10 +58,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.18.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if the |
docs/libcurl/opts/CURLOPT_PUT.md+3 -2
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_UPLOAD (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -78,9 +79,9 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| - | Deprecated since 7.12.1. Do not use. |
| + | Deprecated since 7.12.1. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLOPT_QUICK_EXIT.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_RESOLVE (3) |
| Protocol: |
| - All |
| + | Added-in: 7.87.0 |
| --- |
| |
| # NAME |
| @@ -51,10 +52,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.87.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_QUOTE.md+2 -1
| @@ -12,6 +12,7 @@ See-also: |
| Protocol: |
| - FTP |
| - SFTP |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -151,7 +152,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| SFTP support added in 7.16.3. *-prefix for SFTP added in 7.24.0 |
| |
docs/libcurl/opts/CURLOPT_RANDOM_FILE.md+3 -2
| @@ -10,6 +10,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - OpenSSL |
| + | Added-in: 7.7 |
| --- |
| |
| # NAME |
| @@ -32,9 +33,9 @@ Deprecated option. It serves no purpose anymore. |
| |
| NULL, not used |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| - | This option was deprecated in 7.84.0. |
| + | Deprecated since 7.84.0. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLOPT_RANGE.md+2 -1
| @@ -15,6 +15,7 @@ Protocol: |
| - FILE |
| - RTSP |
| - SFTP |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -76,7 +77,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| FILE since 7.18.0, RTSP since 7.20.0 |
| |
docs/libcurl/opts/CURLOPT_READDATA.md+2 -1
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_WRITEFUNCTION (3) |
| Protocol: |
| - All |
| + | Added-in: 7.9.7 |
| --- |
| |
| # NAME |
| @@ -65,7 +66,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| This option was once known by the older name CURLOPT_INFILE, the name |
| CURLOPT_READDATA(3) was introduced in 7.9.7. |
docs/libcurl/opts/CURLOPT_READFUNCTION.md+2 -1
| @@ -13,6 +13,7 @@ See-also: |
| - CURLOPT_WRITEFUNCTION (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -111,7 +112,7 @@ int main(int argc, char **argv) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| CURL_READFUNC_PAUSE return code was added in 7.18.0 and CURL_READFUNC_ABORT |
| was added in 7.12.1. |
docs/libcurl/opts/CURLOPT_REDIR_PROTOCOLS.md+3 -3
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_REDIR_PROTOCOLS_STR (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.19.4 |
| --- |
| |
| # NAME |
| @@ -103,10 +104,9 @@ int main(int argc, char **argv) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| - | Added in 7.19.4, before then it would follow all protocols. Deprecated |
| - | since 7.85.0. |
| + | Deprecated since 7.85.0. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLOPT_REDIR_PROTOCOLS_STR.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - CURLOPT_REDIR_PROTOCOLS (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.85.0 |
| --- |
| |
| # NAME |
| @@ -81,10 +82,6 @@ int main(int argc, char **argv) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.85.0. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_UNKNOWN_OPTION if the option is not implemented, |
docs/libcurl/opts/CURLOPT_REFERER.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_USERAGENT (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -55,10 +56,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | If built with HTTP support |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if HTTP support is enabled, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_REQUEST_TARGET.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_URL (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.55.0 |
| --- |
| |
| # NAME |
| @@ -56,10 +57,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.55.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_RESOLVE.md+2 -1
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_IPRESOLVE (3) |
| Protocol: |
| - All |
| + | Added-in: 7.21.3 |
| --- |
| |
| # NAME |
| @@ -101,7 +102,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| Added in 7.21.3. Removal support added in 7.42.0. |
| |
docs/libcurl/opts/CURLOPT_RESOLVER_START_DATA.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_RESOLVER_START_FUNCTION (3) |
| Protocol: |
| - All |
| + | Added-in: 7.59.0 |
| --- |
| |
| # NAME |
| @@ -59,10 +60,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.59.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_RESOLVER_START_FUNCTION.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_RESOLVER_START_DATA (3) |
| Protocol: |
| - All |
| + | Added-in: 7.59.0 |
| --- |
| |
| # NAME |
| @@ -77,10 +78,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.59.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_RESUME_FROM.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_RESUME_FROM_LARGE (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -69,10 +70,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_RESUME_FROM_LARGE.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_RESUME_FROM (3) |
| Protocol: |
| - All |
| + | Added-in: 7.11.0 |
| --- |
| |
| # NAME |
| @@ -68,10 +69,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.11.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_RTSP_CLIENT_CSEQ.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_RTSP_SERVER_CSEQ (3) |
| Protocol: |
| - RTSP |
| + | Added-in: 7.20.0 |
| --- |
| |
| # NAME |
| @@ -51,10 +52,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.20.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_RTSP_REQUEST.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_RTSP_STREAM_URI (3) |
| Protocol: |
| - RTSP |
| + | Added-in: 7.20.0 |
| --- |
| |
| # NAME |
| @@ -128,10 +129,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.20.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_RTSP_SERVER_CSEQ.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_RTSP_STREAM_URI (3) |
| Protocol: |
| - RTSP |
| + | Added-in: 7.20.0 |
| --- |
| |
| # NAME |
| @@ -50,10 +51,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.20.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_RTSP_SESSION_ID.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_RTSP_STREAM_URI (3) |
| Protocol: |
| - RTSP |
| + | Added-in: 7.20.0 |
| --- |
| |
| # NAME |
| @@ -56,10 +57,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.20.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_RTSP_STREAM_URI.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_RTSP_TRANSPORT (3) |
| Protocol: |
| - RTSP |
| + | Added-in: 7.20.0 |
| --- |
| |
| # NAME |
| @@ -60,10 +61,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.20.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_RTSP_TRANSPORT.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_RTSP_SESSION_ID (3) |
| Protocol: |
| - RTSP |
| + | Added-in: 7.20.0 |
| --- |
| |
| # NAME |
| @@ -56,10 +57,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.20.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_SASL_AUTHZID.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_USERPWD (3) |
| Protocol: |
| - IMAP |
| + | Added-in: 7.66.0 |
| --- |
| |
| # NAME |
| @@ -61,10 +62,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.66.0. Support for OpenLDAP added in 7.82.0. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_SASL_IR.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| Protocol: |
| - SMTP |
| - IMAP |
| + | Added-in: 7.31.0 |
| --- |
| |
| # NAME |
| @@ -62,10 +63,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.31.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_SEEKDATA.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_STDERR (3) |
| Protocol: |
| - All |
| + | Added-in: 7.18.0 |
| --- |
| |
| # NAME |
| @@ -61,8 +62,4 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.18.0 |
| - | |
| # RETURN VALUE |
docs/libcurl/opts/CURLOPT_SEEKFUNCTION.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_STDERR (3) |
| Protocol: |
| - All |
| + | Added-in: 7.18.0 |
| --- |
| |
| # NAME |
| @@ -91,10 +92,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.18.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_SERVER_RESPONSE_TIMEOUT.md+1 -7
| @@ -15,6 +15,7 @@ Protocol: |
| - SMTP |
| - SFTP |
| - SCP |
| + | Added-in: 7.20.0 |
| --- |
| |
| # NAME |
| @@ -64,13 +65,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.10.8. Used under this name since 7.20.0 |
| - | |
| - | Support for SSH is predicated on a new enough (1.11.0) version of libssh2 |
| - | being available when compiling libcurl. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if supported, and CURLE_UNKNOWN_OPTION if not. Returns |
docs/libcurl/opts/CURLOPT_SERVER_RESPONSE_TIMEOUT_MS.md+1 -4
| @@ -15,6 +15,7 @@ Protocol: |
| - SMTP |
| - SFTP |
| - SCP |
| + | Added-in: 8.6.0 |
| --- |
| |
| # NAME |
| @@ -66,10 +67,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 8.6.0. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if supported, and CURLE_UNKNOWN_OPTION if not. Returns |
docs/libcurl/opts/CURLOPT_SERVICE_NAME.md+1 -5
| @@ -15,6 +15,7 @@ Protocol: |
| - POP3 |
| - SMTP |
| - LDAP |
| + | Added-in: 7.43.0 |
| --- |
| |
| # NAME |
| @@ -58,11 +59,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.43.0 for HTTP, 7.49.0 for FTP, IMAP, POP3 and SMTP, |
| - | 7.82.0 for OpenLDAP. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_SHARE.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLSHOPT_SHARE (3) |
| Protocol: |
| - All |
| + | Added-in: 7.10 |
| --- |
| |
| # NAME |
| @@ -77,10 +78,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_SOCKOPTDATA.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_SOCKOPTFUNCTION (3) |
| Protocol: |
| - All |
| + | Added-in: 7.16.0 |
| --- |
| |
| # NAME |
| @@ -64,10 +65,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.16.0 |
| - | |
| # RETURN VALUE |
| |
| Returns *CURLE_OK* if the option is supported, and *CURLE_UNKNOWN_OPTION* if not. |
docs/libcurl/opts/CURLOPT_SOCKOPTFUNCTION.md+1 -5
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_SOCKOPTDATA (3) |
| Protocol: |
| - All |
| + | Added-in: 7.16.0 |
| --- |
| |
| # NAME |
| @@ -120,11 +121,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.16.0. The *CURL_SOCKOPT_ALREADY_CONNECTED* return code was |
| - | added in 7.21.5. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_SOCKS5_AUTH.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_PROXYTYPE (3) |
| Protocol: |
| - All |
| + | Added-in: 7.55.0 |
| --- |
| |
| # NAME |
| @@ -57,10 +58,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.55.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_SOCKS5_GSSAPI_NEC.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_PROXY_SERVICE_NAME (3) |
| Protocol: |
| - All |
| + | Added-in: 7.19.4 |
| --- |
| |
| # NAME |
| @@ -52,10 +53,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.19.4 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_SOCKS5_GSSAPI_SERVICE.md+3 -2
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_PROXYTYPE (3) |
| Protocol: |
| - All |
| + | Added-in: 7.19.4 |
| --- |
| |
| # NAME |
| @@ -56,9 +57,9 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| - | Added in 7.19.4, deprecated in 7.49.0 |
| + | Deprecated since 7.49.0 |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLOPT_SSH_AUTH_TYPES.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| Protocol: |
| - SFTP |
| - SCP |
| + | Added-in: 7.16.1 |
| --- |
| |
| # NAME |
| @@ -57,10 +58,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | CURLSSH_AUTH_HOST was added in 7.16.1, CURLSSH_AUTH_AGENT was added in 7.28.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_SSH_COMPRESSION.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| Protocol: |
| - SFTP |
| - SCP |
| + | Added-in: 7.56.0 |
| --- |
| |
| # NAME |
| @@ -53,10 +54,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.56.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_SSH_HOSTKEYDATA.md+4 -3
| @@ -1,7 +1,7 @@ |
| --- |
| c: Copyright (C) Daniel Stenberg, <[email protected]>, et al. |
| SPDX-License-Identifier: curl |
| - | Title: CURLOPT_SSH_KEYDATA |
| + | Title: CURLOPT_SSH_HOSTKEYDATA |
| Section: 3 |
| Source: libcurl |
| See-also: |
| @@ -9,6 +9,7 @@ See-also: |
| Protocol: |
| - SFTP |
| - SCP |
| + | Added-in: 7.84.0 |
| --- |
| |
| # NAME |
| @@ -63,9 +64,9 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| - | Added in 7.84.0, works only with libssh2 backend. |
| + | Works only with the libssh2 backend. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLOPT_SSH_HOSTKEYFUNCTION.md+3 -2
| @@ -10,6 +10,7 @@ See-also: |
| Protocol: |
| - SFTP |
| - SCP |
| + | Added-in: 7.84.0 |
| --- |
| |
| # NAME |
| @@ -88,9 +89,9 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| - | Added in 7.84.0 , work only with libssh2 backend. |
| + | Work only with the libssh2 backend. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLOPT_SSH_HOST_PUBLIC_KEY_MD5.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| Protocol: |
| - SFTP |
| - SCP |
| + | Added-in: 7.17.1 |
| --- |
| |
| # NAME |
| @@ -60,10 +61,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.17.1 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256.md+2 -2
| @@ -11,6 +11,7 @@ See-also: |
| Protocol: |
| - SFTP |
| - SCP |
| + | Added-in: 7.80.0 |
| --- |
| |
| # NAME |
| @@ -53,9 +54,8 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| - | Added in 7.80.0 |
| Requires the libssh2 backend. |
| |
| # RETURN VALUE |
docs/libcurl/opts/CURLOPT_SSH_KEYDATA.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| Protocol: |
| - SFTP |
| - SCP |
| + | Added-in: 7.19.6 |
| --- |
| |
| # NAME |
| @@ -65,10 +66,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.19.6 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_SSH_KEYFUNCTION.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| Protocol: |
| - SFTP |
| - SCP |
| + | Added-in: 7.19.6 |
| --- |
| |
| # NAME |
| @@ -142,10 +143,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.19.6 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_SSH_KNOWNHOSTS.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| Protocol: |
| - SFTP |
| - SCP |
| + | Added-in: 7.19.6 |
| --- |
| |
| # NAME |
| @@ -57,10 +58,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.19.6 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_SSH_PRIVATE_KEYFILE.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| Protocol: |
| - SFTP |
| - SCP |
| + | Added-in: 7.16.1 |
| --- |
| |
| # NAME |
| @@ -65,10 +66,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.16.1 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_SSH_PUBLIC_KEYFILE.md+2 -1
| @@ -10,6 +10,7 @@ See-also: |
| Protocol: |
| - SFTP |
| - SCP |
| + | Added-in: 7.16.1 |
| --- |
| |
| # NAME |
| @@ -60,7 +61,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| The "" trick was added in 7.26.0 |
| |
docs/libcurl/opts/CURLOPT_SSLCERT.md+1 -4
| @@ -17,6 +17,7 @@ TLS-backend: |
| - Schannel |
| - Secure Transport |
| - wolfSSL |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -83,10 +84,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | If built TLS enabled. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_SSLCERTTYPE.md+1 -4
| @@ -16,6 +16,7 @@ TLS-backend: |
| - Schannel |
| - Secure Transport |
| - wolfSSL |
| + | Added-in: 7.9.3 |
| --- |
| |
| # NAME |
| @@ -66,10 +67,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | If built TLS enabled. Added in 7.9.3 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_SSLCERT_BLOB.md+1 -5
| @@ -15,6 +15,7 @@ TLS-backend: |
| - Secure Transport |
| - Schannel |
| - mbedTLS |
| + | Added-in: 7.71.0 |
| --- |
| |
| # NAME |
| @@ -75,11 +76,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.71.0. This option is supported by the OpenSSL, Secure Transport, |
| - | Schannel and mbedTLS (since 7.78.0) backends. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_SSLENGINE.md+1 -4
| @@ -12,6 +12,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - OpenSSL |
| + | Added-in: 7.9.3 |
| --- |
| |
| # NAME |
| @@ -54,10 +55,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Only if OpenSSL is built with engine support. |
| - | |
| # RETURN VALUE |
| |
| CURLE_OK - Engine found. |
docs/libcurl/opts/CURLOPT_SSLENGINE_DEFAULT.md+1 -4
| @@ -11,6 +11,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - OpenSSL |
| + | Added-in: 7.9.3 |
| --- |
| |
| # NAME |
| @@ -53,10 +54,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Only if the SSL backend is OpenSSL built with engine support. |
| - | |
| # RETURN VALUE |
| |
| CURLE_OK - Engine set as default. |
docs/libcurl/opts/CURLOPT_SSLKEY.md+1 -4
| @@ -15,6 +15,7 @@ TLS-backend: |
| - mbedTLS |
| - Schannel |
| - wolfSSL |
| + | Added-in: 7.9.3 |
| --- |
| |
| # NAME |
| @@ -64,10 +65,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | If built TLS enabled. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_SSLKEYTYPE.md+1 -4
| @@ -14,6 +14,7 @@ TLS-backend: |
| - OpenSSL |
| - BearSSL |
| - wolfSSL |
| + | Added-in: 7.9.3 |
| --- |
| |
| # NAME |
| @@ -64,10 +65,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | If built TLS enabled. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_SSLKEY_BLOB.md+1 -4
| @@ -11,6 +11,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - OpenSSL |
| + | Added-in: 7.71.0 |
| --- |
| |
| # NAME |
| @@ -77,10 +78,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.71.0. This option is supported by the OpenSSL backends. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_SSLVERSION.md+2 -1
| @@ -13,6 +13,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -133,7 +134,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # HISTORY |
| |
| SSLv2 and SSLv3 are refused completely since curl 7.77.0 |
| |
docs/libcurl/opts/CURLOPT_SSL_CIPHER_LIST.md+2 -3
| @@ -20,6 +20,7 @@ TLS-backend: |
| - wolfSSL |
| - GnuTLS |
| - mbedTLS |
| + | Added-in: 7.9 |
| --- |
| |
| # NAME |
| @@ -87,12 +88,10 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| Added in 7.9, in 7.83.0 for BearSSL, in 8.8.0 for mbedTLS |
| |
| - | If built TLS enabled. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_SSL_CTX_DATA.md+2 -1
| @@ -14,6 +14,7 @@ TLS-backend: |
| - wolfSSL |
| - mbedTLS |
| - BearSSL |
| + | Added-in: 7.10.6 |
| --- |
| |
| # NAME |
| @@ -113,7 +114,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # HISTORY |
| |
| Added in 7.11.0 for OpenSSL, in 7.42.0 for wolfSSL, in 7.54.0 for mbedTLS, |
| in 7.83.0 in BearSSL. |
docs/libcurl/opts/CURLOPT_SSL_CTX_FUNCTION.md+1 -5
| @@ -15,6 +15,7 @@ TLS-backend: |
| - wolfSSL |
| - mbedTLS |
| - BearSSL |
| + | Added-in: 7.10.6 |
| --- |
| |
| # NAME |
| @@ -157,11 +158,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | OpenSSL (added in 7.11.0), wolfSSL (added in 7.42.0), mbedTLS (added in |
| - | 7.54.0) or BearSSL (added in 7.83.0) |
| - | |
| # RETURN VALUE |
| |
| CURLE_OK if supported; or an error such as: |
docs/libcurl/opts/CURLOPT_SSL_EC_CURVES.md+1 -4
| @@ -13,6 +13,7 @@ Protocol: |
| TLS-backend: |
| - OpenSSL |
| - wolfSSL |
| + | Added-in: 7.73.0 |
| --- |
| |
| # NAME |
| @@ -53,10 +54,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.73.0. Supported by the OpenSSL backend. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_SSL_ENABLE_ALPN.md+1 -4
| @@ -11,6 +11,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - All |
| + | Added-in: 7.36.0 |
| --- |
| |
| # NAME |
| @@ -51,10 +52,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.36.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_SSL_ENABLE_NPN.md+4 -3
| @@ -11,6 +11,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - All |
| + | Added-in: 7.36.0 |
| --- |
| |
| # NAME |
| @@ -27,7 +28,7 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SSL_ENABLE_NPN, long npn); |
| |
| # DESCRIPTION |
| |
| - | Deprecated in 7.86.0. Setting this option has no function. |
| + | Deprecated since 7.86.0. Setting this option has no function. |
| |
| Pass a long as parameter, 0 or 1 where 1 is for enable and 0 for disable. This |
| option enables/disables NPN in the SSL handshake (if the SSL backend libcurl |
| @@ -53,9 +54,9 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # DEPRECATED |
| |
| - | Added in 7.36.0. Deprecated in 7.86.0. |
| + | Deprecated since 7.86.0. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLOPT_SSL_FALSESTART.md+1 -5
| @@ -10,6 +10,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - Secure Transport |
| + | Added-in: 7.42.0 |
| --- |
| |
| # NAME |
| @@ -51,11 +52,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.42.0. This option is currently only supported by the Secure |
| - | Transport (on iOS 7.0 or later, or OS X 10.9 or later) TLS backend. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if false start is supported by the SSL backend, otherwise |
docs/libcurl/opts/CURLOPT_SSL_OPTIONS.md+1 -4
| @@ -12,6 +12,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - All |
| + | Added-in: 7.25.0 |
| --- |
| |
| # NAME |
| @@ -107,10 +108,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.25.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_SSL_SESSIONID_CACHE.md+1 -4
| @@ -13,6 +13,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - All |
| + | Added-in: 7.16.0 |
| --- |
| |
| # NAME |
| @@ -57,10 +58,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.16.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_SSL_VERIFYHOST.md+1 -4
| @@ -12,6 +12,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - All |
| + | Added-in: 7.8.1 |
| --- |
| |
| # NAME |
| @@ -103,10 +104,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | If built TLS enabled. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if TLS is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_SSL_VERIFYPEER.md+1 -4
| @@ -15,6 +15,7 @@ Protocol: |
| - TLS |
| TLS-backend: |
| - All |
| + | Added-in: 7.4.2 |
| --- |
| |
| # NAME |
| @@ -89,10 +90,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | If built TLS enabled. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_SSL_VERIFYSTATUS.md+1 -5
| @@ -13,6 +13,7 @@ Protocol: |
| TLS-backend: |
| - OpenSSL |
| - GnuTLS |
| + | Added-in: 7.41.0 |
| --- |
| |
| # NAME |
| @@ -58,11 +59,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.41.0. This option is currently only supported by the OpenSSL and |
| - | GnuTLS TLS backends. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if OCSP stapling is supported by the SSL backend, otherwise |
docs/libcurl/opts/CURLOPT_STDERR.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_VERBOSE (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -54,10 +55,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_STREAM_DEPENDS.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_STREAM_WEIGHT (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.46.0 |
| --- |
| |
| # NAME |
| @@ -66,10 +67,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.46.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_STREAM_DEPENDS_E.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_STREAM_WEIGHT (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.46.0 |
| --- |
| |
| # NAME |
| @@ -69,10 +70,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.46.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_STREAM_WEIGHT.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_STREAM_DEPENDS_E (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.46.0 |
| --- |
| |
| # NAME |
| @@ -70,10 +71,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.46.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_SUPPRESS_CONNECT_HEADERS.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_PROXY (3) |
| Protocol: |
| - All |
| + | Added-in: 7.54.0 |
| --- |
| |
| # NAME |
| @@ -92,10 +93,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.54.0 |
| - | |
| # RETURN VALUE |
| |
| CURLE_OK or an error such as CURLE_UNKNOWN_OPTION. |
docs/libcurl/opts/CURLOPT_TCP_FASTOPEN.md+3 -3
| @@ -8,6 +8,7 @@ See-also: |
| - CURLOPT_SSL_FALSESTART (3) |
| Protocol: |
| - All |
| + | Added-in: 7.49.0 |
| --- |
| |
| # NAME |
| @@ -51,10 +52,9 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| - | Added in 7.49.0. This option is currently only supported on Linux and macOS |
| - | 10.11 or later. |
| + | This option is only supported on Linux and macOS 10.11 or later. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLOPT_TCP_KEEPALIVE.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - CURLOPT_TCP_KEEPCNT (3) |
| Protocol: |
| - TCP |
| + | Added-in: 7.25.0 |
| --- |
| |
| # NAME |
| @@ -64,10 +65,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.25.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_TCP_KEEPCNT.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_TCP_KEEPINTVL (3) |
| Protocol: |
| - TCP |
| + | Added-in: 8.9.0 |
| --- |
| |
| # NAME |
| @@ -64,10 +65,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in v8.9.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_TCP_KEEPIDLE.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_TCP_KEEPCNT (3) |
| Protocol: |
| - TCP |
| + | Added-in: 7.25.0 |
| --- |
| |
| # NAME |
| @@ -63,10 +64,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.25.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_TCP_KEEPINTVL.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_TCP_KEEPCNT (3) |
| Protocol: |
| - TCP |
| + | Added-in: 7.25.0 |
| --- |
| |
| # NAME |
| @@ -62,10 +63,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_TCP_NODELAY.md+3 -2
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_TCP_KEEPALIVE (3) |
| Protocol: |
| - TCP |
| + | Added-in: 7.11.2 |
| --- |
| |
| # NAME |
| @@ -60,9 +61,9 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # HISTORY |
| |
| - | Always. The default was changed to 1 from 0 in 7.50.2. |
| + | The default was changed to 1 from 0 in 7.50.2. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLOPT_TELNETOPTIONS.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_QUOTE (3) |
| Protocol: |
| - TELNET |
| + | Added-in: 7.7 |
| --- |
| |
| # NAME |
| @@ -55,10 +56,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Along with TELNET |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if TELNET is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_TFTP_BLKSIZE.md+1 -4
| @@ -8,6 +8,7 @@ See-also: |
| - CURLOPT_MAXFILESIZE (3) |
| Protocol: |
| - TFTP |
| + | Added-in: 7.19.4 |
| --- |
| |
| # NAME |
| @@ -52,10 +53,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.19.4 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_TFTP_NO_OPTIONS.md+1 -4
| @@ -8,6 +8,7 @@ See-also: |
| - CURLOPT_TFTP_BLKSIZE (3) |
| Protocol: |
| - TFTP |
| + | Added-in: 7.48.0 |
| --- |
| |
| # NAME |
| @@ -67,10 +68,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.48.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_TIMECONDITION.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_TIMEVALUE (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -61,10 +62,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_TIMEOUT.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_TIMEOUT_MS (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -78,10 +79,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK. Returns CURLE_BAD_FUNCTION_ARGUMENT if set to a negative |
docs/libcurl/opts/CURLOPT_TIMEOUT_MS.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_TIMEOUT (3) |
| Protocol: |
| - All |
| + | Added-in: 7.16.2 |
| --- |
| |
| # NAME |
| @@ -53,10 +54,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_TIMEVALUE.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_TIMEVALUE_LARGE (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -58,10 +59,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_TIMEVALUE_LARGE.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_TIMEVALUE (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.59.0 |
| --- |
| |
| # NAME |
| @@ -60,10 +61,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.59.0. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_TLS13_CIPHERS.md+2 -1
| @@ -16,6 +16,7 @@ Protocol: |
| TLS-backend: |
| - OpenSSL |
| - Schannel |
| + | Added-in: 7.61.0 |
| --- |
| |
| # NAME |
| @@ -70,7 +71,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # NOTES |
| |
| Added in 7.61.0 for OpenSSL. Available when built with OpenSSL \>= 1.1.1. |
| |
docs/libcurl/opts/CURLOPT_TLSAUTH_PASSWORD.md+1 -4
| @@ -13,6 +13,7 @@ Protocol: |
| TLS-backend: |
| - OpenSSL |
| - GnuTLS |
| + | Added-in: 7.21.4 |
| --- |
| |
| # NAME |
| @@ -61,10 +62,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.21.4, for the OpenSSL and GnuTLS backends only |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_TLSAUTH_TYPE.md+1 -5
| @@ -12,6 +12,7 @@ Protocol: |
| TLS-backend: |
| - OpenSSL |
| - GnuTLS |
| + | Added-in: 7.21.4 |
| --- |
| |
| # NAME |
| @@ -62,11 +63,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | You need to build libcurl with GnuTLS or OpenSSL with TLS-SRP support for this |
| - | to work. Added in 7.21.4 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_TLSAUTH_USERNAME.md+1 -4
| @@ -12,6 +12,7 @@ Protocol: |
| TLS-backend: |
| - OpenSSL |
| - GnuTLS |
| + | Added-in: 7.21.4 |
| --- |
| |
| # NAME |
| @@ -60,10 +61,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.21.4, for the OpenSSL and GnuTLS backends only |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_TRAILERDATA.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_WRITEFUNCTION (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.64.0 |
| --- |
| |
| # NAME |
| @@ -48,10 +49,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | This option was added in curl 7.64.0 and is present if HTTP support is enabled |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK. |
docs/libcurl/opts/CURLOPT_TRAILERFUNCTION.md+1 -3
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_WRITEFUNCTION (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.64.0 |
| --- |
| |
| # NAME |
| @@ -99,9 +100,6 @@ int main(void) |
| } |
| } |
| ~~~ |
| - | # AVAILABILITY |
| - | |
| - | This option was added in curl 7.64.0 and is present if HTTP support is enabled. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLOPT_TRANSFERTEXT.md+1 -4
| @@ -8,6 +8,7 @@ See-also: |
| - CURLOPT_CRLF (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1.1 |
| --- |
| |
| # NAME |
| @@ -54,10 +55,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Along with FTP |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if FTP is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_TRANSFER_ENCODING.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_HTTP_TRANSFER_DECODING (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.21.6 |
| --- |
| |
| # NAME |
| @@ -57,10 +58,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.21.6 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_UNIX_SOCKET_PATH.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - unix (7) |
| Protocol: |
| - All |
| + | Added-in: 7.40.0 |
| --- |
| |
| # NAME |
| @@ -75,10 +76,6 @@ you can use the proc filesystem to bypass the limitation: |
| /* Be sure to keep dirfd valid until you discard the handle */ |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.40.0. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_UNRESTRICTED_AUTH.md+1 -4
| @@ -12,6 +12,7 @@ See-also: |
| - CURLOPT_USERPWD (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.10.4 |
| --- |
| |
| # NAME |
| @@ -67,10 +68,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Along with HTTP |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_UPKEEP_INTERVAL_MS.md+1 -4
| @@ -8,6 +8,7 @@ See-also: |
| - CURLOPT_TCP_KEEPALIVE (3) |
| Protocol: |
| - All |
| + | Added-in: 7.62.0 |
| --- |
| |
| # NAME |
| @@ -71,10 +72,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.62.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_UPLOAD.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_READFUNCTION (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -86,10 +87,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_UPLOAD_BUFFERSIZE.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_TCP_NODELAY (3) |
| Protocol: |
| - All |
| + | Added-in: 7.62.0 |
| --- |
| |
| # NAME |
| @@ -69,10 +70,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.62.0. |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_URL.md+1 -4
| @@ -16,6 +16,7 @@ See-also: |
| - curl_url_set (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -129,10 +130,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | POP3 and SMTP were added in 7.31.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK on success or CURLE_OUT_OF_MEMORY if there was insufficient |
docs/libcurl/opts/CURLOPT_USERAGENT.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_REQUEST_TARGET (3) |
| Protocol: |
| - HTTP |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -54,10 +55,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | As long as HTTP is supported |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if HTTP is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_USERNAME.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_USERPWD (3) |
| Protocol: |
| - All |
| + | Added-in: 7.19.1 |
| --- |
| |
| # NAME |
| @@ -79,10 +80,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.19.1 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or |
docs/libcurl/opts/CURLOPT_USERPWD.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_USERNAME (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -85,10 +86,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK on success or |
docs/libcurl/opts/CURLOPT_USE_SSL.md+5 -4
| @@ -13,6 +13,7 @@ Protocol: |
| - SMTP |
| - POP3 |
| - IMAP |
| + | Added-in: 7.17.0 |
| --- |
| |
| # NAME |
| @@ -76,11 +77,11 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # HISTORY |
| |
| - | Added in 7.11.0. This option was known as CURLOPT_FTP_SSL up to 7.16.4, and |
| - | the constants were known as CURLFTPSSL_* |
| - | Handled by LDAP since 7.81.0. Fully supported by the OpenLDAP backend only. |
| + | This option was known as CURLOPT_FTP_SSL up to 7.16.4, and the constants were |
| + | known as CURLFTPSSL_* Handled by LDAP since 7.81.0. Fully supported by the |
| + | OpenLDAP backend only. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLOPT_VERBOSE.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_global_trace (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -60,10 +61,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Always |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_WILDCARDMATCH.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - CURLOPT_URL (3) |
| Protocol: |
| - FTP |
| + | Added-in: 7.21.0 |
| --- |
| |
| # NAME |
| @@ -100,10 +101,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.21.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_WRITEDATA.md+6 -5
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_WRITEFUNCTION (3) |
| Protocol: |
| - All |
| + | Added-in: 7.9.7 |
| --- |
| |
| # NAME |
| @@ -47,14 +48,14 @@ By default, this is a FILE * to stdout. |
| |
| A common technique is to use the write callback to store the incoming data |
| into a dynamically growing allocated buffer, and then this |
| - | CURLOPT_WRITEDATA(3) is used to point to a struct or the buffer to store |
| - | data in. Like in the getinmemory example: |
| + | CURLOPT_WRITEDATA(3) is used to point to a struct or the buffer to store data |
| + | in. Like in the getinmemory example: |
| https://curl.se/libcurl/c/getinmemory.html |
| |
| - | # AVAILABILITY |
| + | # HISTORY |
| |
| - | Available in all libcurl versions. This option was formerly known as |
| - | CURLOPT_FILE, the name CURLOPT_WRITEDATA(3) was added in 7.9.7. |
| + | This option was formerly known as CURLOPT_FILE, the name CURLOPT_WRITEDATA(3) |
| + | was added in 7.9.7. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLOPT_WRITEFUNCTION.md+2 -1
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_WRITEDATA (3) |
| Protocol: |
| - All |
| + | Added-in: 7.1 |
| --- |
| |
| # NAME |
| @@ -125,7 +126,7 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # HISTORY |
| |
| Support for the CURL_WRITEFUNC_PAUSE return code was added in version 7.18.0. |
| |
docs/libcurl/opts/CURLOPT_WS_OPTIONS.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - curl_ws_send (3) |
| Protocol: |
| - WS |
| + | Added-in: 7.86.0 |
| --- |
| |
| # NAME |
| @@ -64,10 +65,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.86.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. |
docs/libcurl/opts/CURLOPT_XFERINFODATA.md+1 -4
| @@ -10,6 +10,7 @@ See-also: |
| - CURLOPT_XFERINFOFUNCTION (3) |
| Protocol: |
| - All |
| + | Added-in: 7.32.0 |
| --- |
| |
| # NAME |
| @@ -69,10 +70,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.32.0 |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK |
docs/libcurl/opts/CURLOPT_XFERINFOFUNCTION.md+1 -4
| @@ -9,6 +9,7 @@ See-also: |
| - CURLOPT_XFERINFODATA (3) |
| Protocol: |
| - All |
| + | Added-in: 7.32.0 |
| --- |
| |
| # NAME |
| @@ -112,10 +113,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.32.0. This callback replaces CURLOPT_PROGRESSFUNCTION(3) |
| - | |
| # RETURN VALUE |
| |
| Returns CURLE_OK. |
docs/libcurl/opts/CURLOPT_XOAUTH2_BEARER.md+3 -2
| @@ -13,6 +13,7 @@ Protocol: |
| - LDAP |
| - POP3 |
| - SMTP |
| + | Added-in: 7.33.0 |
| --- |
| |
| # NAME |
| @@ -59,9 +60,9 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| + | # HISTORY |
| |
| - | Added in 7.33.0. Support for OpenLDAP added in 7.82.0. |
| + | Support for OpenLDAP added in 7.82.0. |
| |
| # RETURN VALUE |
| |
docs/libcurl/opts/CURLSHOPT_LOCKFUNC.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_share_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.10.3 |
| --- |
| |
| # NAME |
| @@ -64,10 +65,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.10 |
| - | |
| # RETURN VALUE |
| |
| CURLSHE_OK (zero) means that the option was set properly, non-zero means an |
docs/libcurl/opts/CURLSHOPT_SHARE.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_share_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.10.3 |
| --- |
| |
| # NAME |
| @@ -104,10 +105,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.10 |
| - | |
| # RETURN VALUE |
| |
| CURLSHE_OK (zero) means that the option was set properly, non-zero means an |
docs/libcurl/opts/CURLSHOPT_UNLOCKFUNC.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_share_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.10.3 |
| --- |
| |
| # NAME |
| @@ -59,10 +60,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.10 |
| - | |
| # RETURN VALUE |
| |
| CURLSHE_OK (zero) means that the option was set properly, non-zero means an |
docs/libcurl/opts/CURLSHOPT_UNSHARE.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_share_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.10.3 |
| --- |
| |
| # NAME |
| @@ -71,10 +72,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.10 |
| - | |
| # RETURN VALUE |
| |
| CURLSHE_OK (zero) means that the option was set properly, non-zero means an |
docs/libcurl/opts/CURLSHOPT_USERDATA.md+1 -4
| @@ -11,6 +11,7 @@ See-also: |
| - curl_share_setopt (3) |
| Protocol: |
| - All |
| + | Added-in: 7.10.3 |
| --- |
| |
| # NAME |
| @@ -49,10 +50,6 @@ int main(void) |
| } |
| ~~~ |
| |
| - | # AVAILABILITY |
| - | |
| - | Added in 7.10 |
| - | |
| # RETURN VALUE |
| |
| CURLSHE_OK (zero) means that the option was set properly, non-zero means an |
docs/mk-ca-bundle.md+1 -0
| @@ -6,6 +6,7 @@ Section: 1 |
| Source: mk-ca-bundle |
| See-also: |
| - curl (1) |
| + | Added-in: n/a |
| --- |
| |
| # NAME |
scripts/cd2nroff+29 -2
| @@ -197,6 +197,7 @@ sub single { |
| my $tlslist; |
| my $section; |
| my $source; |
| + | my $addedin; |
| my $spdx; |
| my $start = 0; |
| my $title; |
| @@ -247,6 +248,14 @@ sub single { |
| elsif(/^TLS-backend:/i) { |
| $list = 3; # 3 for TLS backend |
| } |
| + | elsif(/^Added-in: *(.*)/i) { |
| + | $addedin=$1; |
| + | if(($addedin !~ /^[0-9.]+[0-9]\z/) && |
| + | ($addedin ne "n/a")) { |
| + | print STDERR "$f:$line:1:ERROR: invalid version number in Added-in line: $addedin\n"; |
| + | return 2; |
| + | } |
| + | } |
| elsif(/^ +- (.*)/i) { |
| # the only lists we support are see-also and protocol |
| if($list == 1) { |
| @@ -274,11 +283,19 @@ sub single { |
| elsif(/^---/) { |
| # end of the header section |
| if(!$title) { |
| - | print STDERR "ERROR: no 'Title:' in $f\n"; |
| + | print STDERR "$f:$line:1:ERROR: no 'Title:' in $f\n"; |
| return 1; |
| } |
| if(!$section) { |
| - | print STDERR "ERROR: no 'Section:' in $f\n"; |
| + | print STDERR "$f:$line:1:ERROR: no 'Section:' in $f\n"; |
| + | return 2; |
| + | } |
| + | if(!$source) { |
| + | print STDERR "$f:$line:1:ERROR: no 'Source:' in $f\n"; |
| + | return 2; |
| + | } |
| + | if(!$addedin) { |
| + | print STDERR "$f:$line:1:ERROR: no 'Added-in:' in $f\n"; |
| return 2; |
| } |
| if(!$seealso[0]) { |
| @@ -427,6 +444,9 @@ sub single { |
| if($word eq "PROTOCOLS") { |
| print STDERR "$f:$line:1:WARN: PROTOCOLS section in source file\n"; |
| } |
| + | elsif($word eq "AVAILABILITY") { |
| + | print STDERR "$f:$line:1:WARN: AVAILABILITY section in source file\n"; |
| + | } |
| elsif($word eq "EXAMPLE") { |
| # insert the generated PROTOCOLS section before EXAMPLE |
| push @desc, outprotocols(@proto); |
| @@ -435,6 +455,13 @@ sub single { |
| push @desc, outtls(@tls); |
| } |
| } |
| + | elsif($word eq "RETURN VALUE") { |
| + | if($addedin ne "n/a") { |
| + | # insert the generated AVAILABILITY section before RETURN VALUE |
| + | push @desc, ".SH AVAILABILITY\n"; |
| + | push @desc, "Added in curl $addedin\n"; |
| + | } |
| + | } |
| push @desc, ".SH $word\n"; |
| $header = 1; |
| } |
tests/Makefile.am+1 -0
| @@ -41,6 +41,7 @@ TESTSCRIPTS = \ |
| test1276.pl \ |
| test1477.pl \ |
| test1486.pl \ |
| + | test1488.pl \ |
| test1544.pl \ |
| test971.pl |
| |
tests/data/Makefile.inc+1 -1
| @@ -189,7 +189,7 @@ test1455 test1456 test1457 test1458 test1459 test1460 test1461 test1462 \ |
| test1463 test1464 test1465 test1466 test1467 test1468 test1469 test1470 \ |
| test1471 test1472 test1473 test1474 test1475 test1476 test1477 test1478 \ |
| test1479 test1480 test1481 test1482 test1483 test1484 test1485 test1486 \ |
| - | test1487 \ |
| + | test1487 test1488 \ |
| \ |
| test1500 test1501 test1502 test1503 test1504 test1505 test1506 test1507 \ |
| test1508 test1509 test1510 test1511 test1512 test1513 test1514 test1515 \ |
tests/data/test1488+31 -0
| @@ -0,0 +1,31 @@ |
| + | <testcase> |
| + | <info> |
| + | <keywords> |
| + | documentation |
| + | symbols-in-versions |
| + | manpages |
| + | </keywords> |
| + | </info> |
| + | |
| + | # |
| + | # Client-side |
| + | <client> |
| + | <server> |
| + | none |
| + | </server> |
| + | |
| + | <name> |
| + | symbols-in-versions and manpages agree on added-in versions |
| + | </name> |
| + | |
| + | <command type="perl"> |
| + | %SRCDIR/test1488.pl %SRCDIR/.. ../include/curl |
| + | </command> |
| + | </client> |
| + | |
| + | <verify> |
| + | <stdout> |
| + | OK |
| + | </stdout> |
| + | </verify> |
| + | </testcase> |
tests/test1222.pl+1 -1
| @@ -208,7 +208,7 @@ sub scan_man_page { |
| s/\s+/ /g; |
| s/\\f.//g; # Remove font formatting. |
| s/\s+/ /g; # One line with single space only. |
| - | if($sh =~ /DESCRIPTION|AVAILABILITY/) { |
| + | if($sh =~ /DESCRIPTION|DEPRECATED/) { |
| while($_ =~ /(?:deprecated|obsoleted?)\b\s*(?:in\b|since\b)?\s*(?:version\b|curl\b|libcurl\b)?\s*(\d[0-9.]*\d)?\b\s*(.*)$/i) { |
| # Flag deprecation status. |
| if($version ne "X" && $version ne "?") { |
tests/test1488.pl+128 -0
| @@ -0,0 +1,128 @@ |
| + | #!/usr/bin/env perl |
| + | #*************************************************************************** |
| + | # _ _ ____ _ |
| + | # Project ___| | | | _ \| | |
| + | # / __| | | | |_) | | |
| + | # | (__| |_| | _ <| |___ |
| + | # \___|\___/|_| \_\_____| |
| + | # |
| + | # Copyright (C) Daniel Stenberg, <[email protected]>, et al. |
| + | # |
| + | # This software is licensed as described in the file COPYING, which |
| + | # you should have received as part of this distribution. The terms |
| + | # are also available at https://curl.se/docs/copyright.html. |
| + | # |
| + | # You may opt to use, copy, modify, merge, publish, distribute and/or sell |
| + | # copies of the Software, and permit persons to whom the Software is |
| + | # furnished to do so, under the terms of the COPYING file. |
| + | # |
| + | # This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY |
| + | # KIND, either express or implied. |
| + | # |
| + | # SPDX-License-Identifier: curl |
| + | # |
| + | ########################################################################### |
| + | # |
| + | # This script grew out of help from Przemyslaw Iskra and Balint Szilakszi |
| + | # a late evening in the #curl IRC channel. |
| + | # |
| + | |
| + | use strict; |
| + | use warnings; |
| + | use vars qw($Cpreprocessor); |
| + | |
| + | # |
| + | # configurehelp perl module is generated by configure script |
| + | # |
| + | my $rc = eval { |
| + | require configurehelp; |
| + | configurehelp->import(qw( |
| + | $Cpreprocessor |
| + | )); |
| + | 1; |
| + | }; |
| + | # Set default values if configure has not generated a configurehelp.pm file. |
| + | # This is the case with cmake. |
| + | if (!$rc) { |
| + | $Cpreprocessor = 'cpp'; |
| + | } |
| + | |
| + | # we may get the dir root pointed out |
| + | my $root=$ARGV[0] || "."; |
| + | |
| + | # need an include directory when building out-of-tree |
| + | my $i = ($ARGV[1]) ? "-I$ARGV[1] " : ''; |
| + | my $error; |
| + | |
| + | |
| + | my @syms; |
| + | my %manpage; |
| + | my %symadded; |
| + | |
| + | sub checkmanpage { |
| + | my ($m) = @_; |
| + | |
| + | open(my $mh, "<", "$m"); |
| + | my $line = 1; |
| + | my $title; |
| + | my $addedin; |
| + | while(<$mh>) { |
| + | if(/^Title: (.*)/i) { |
| + | $title = $1; |
| + | } |
| + | elsif(/^Added-in: (.*)/i) { |
| + | $addedin = $1; |
| + | } |
| + | if($addedin && $title) { |
| + | if($manpage{$title}) { |
| + | print "$title is a duplicate symbol in file $m\n"; |
| + | $error++; |
| + | } |
| + | $manpage{$title} = $addedin; |
| + | last; |
| + | } |
| + | $line++; |
| + | } |
| + | close($mh); |
| + | } |
| + | |
| + | sub scanman_md_dir { |
| + | my ($d) = @_; |
| + | opendir(my $dh, $d) || |
| + | die "Can't opendir: $!"; |
| + | my @mans = grep { /.md\z/ } readdir($dh); |
| + | closedir $dh; |
| + | for my $m (@mans) { |
| + | checkmanpage("$d/$m"); |
| + | } |
| + | } |
| + | |
| + | scanman_md_dir("$root/docs/libcurl"); |
| + | scanman_md_dir("$root/docs/libcurl/opts"); |
| + | |
| + | open my $s, "<", "$root/docs/libcurl/symbols-in-versions"; |
| + | while(<$s>) { |
| + | if(/(^[^ \n]+) +(.*)/) { |
| + | my ($sym, $rest)=($1, $2); |
| + | my @a=split(/ +/, $rest); |
| + | push @syms, $sym; |
| + | |
| + | $symadded{$sym}=$a[0]; |
| + | } |
| + | } |
| + | close $s; |
| + | |
| + | my $ignored=0; |
| + | for my $e (sort @syms) { |
| + | if( $manpage{$e} ) { |
| + | |
| + | if( $manpage{$e} ne $symadded{$e} ) { |
| + | printf "%s.md says version %s, but SIV says %s\n", |
| + | $e, $manpage{$e}, $symadded{$e}; |
| + | $error++; |
| + | } |
| + | |
| + | } |
| + | } |
| + | print "OK\n" if(!$error); |
| + | exit $error; |