]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curldown: fixups
authorDaniel Stenberg <daniel@haxx.se>
Thu, 18 Jul 2024 23:06:06 +0000 (01:06 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 19 Jul 2024 15:03:25 +0000 (17:03 +0200)
- make DEFAULT sections less repetitive

- make historic mentions use HISTORY

- generate the protocols section on `# %PROTOCOLS%` instead of guessing
  where to put it

- generate the availability section on `# %AVAILABILITY%` instead of
  guessing where to put it

- make the protocols section more verbose

Closes #14227

488 files changed:
docs/CURLDOWN.md
docs/libcurl/curl_easy_cleanup.md
docs/libcurl/curl_easy_duphandle.md
docs/libcurl/curl_easy_escape.md
docs/libcurl/curl_easy_getinfo.md
docs/libcurl/curl_easy_header.md
docs/libcurl/curl_easy_init.md
docs/libcurl/curl_easy_nextheader.md
docs/libcurl/curl_easy_option_by_id.md
docs/libcurl/curl_easy_option_by_name.md
docs/libcurl/curl_easy_option_next.md
docs/libcurl/curl_easy_pause.md
docs/libcurl/curl_easy_perform.md
docs/libcurl/curl_easy_recv.md
docs/libcurl/curl_easy_reset.md
docs/libcurl/curl_easy_send.md
docs/libcurl/curl_easy_setopt.md
docs/libcurl/curl_easy_strerror.md
docs/libcurl/curl_easy_unescape.md
docs/libcurl/curl_easy_upkeep.md
docs/libcurl/curl_escape.md
docs/libcurl/curl_formadd.md
docs/libcurl/curl_formfree.md
docs/libcurl/curl_formget.md
docs/libcurl/curl_free.md
docs/libcurl/curl_getdate.md
docs/libcurl/curl_getenv.md
docs/libcurl/curl_global_cleanup.md
docs/libcurl/curl_global_init.md
docs/libcurl/curl_global_init_mem.md
docs/libcurl/curl_global_sslset.md
docs/libcurl/curl_global_trace.md
docs/libcurl/curl_mime_addpart.md
docs/libcurl/curl_mime_data.md
docs/libcurl/curl_mime_data_cb.md
docs/libcurl/curl_mime_encoder.md
docs/libcurl/curl_mime_filedata.md
docs/libcurl/curl_mime_filename.md
docs/libcurl/curl_mime_free.md
docs/libcurl/curl_mime_headers.md
docs/libcurl/curl_mime_init.md
docs/libcurl/curl_mime_name.md
docs/libcurl/curl_mime_subparts.md
docs/libcurl/curl_mime_type.md
docs/libcurl/curl_mprintf.md
docs/libcurl/curl_multi_add_handle.md
docs/libcurl/curl_multi_assign.md
docs/libcurl/curl_multi_cleanup.md
docs/libcurl/curl_multi_fdset.md
docs/libcurl/curl_multi_get_handles.md
docs/libcurl/curl_multi_info_read.md
docs/libcurl/curl_multi_init.md
docs/libcurl/curl_multi_perform.md
docs/libcurl/curl_multi_poll.md
docs/libcurl/curl_multi_remove_handle.md
docs/libcurl/curl_multi_setopt.md
docs/libcurl/curl_multi_socket.md
docs/libcurl/curl_multi_socket_action.md
docs/libcurl/curl_multi_socket_all.md
docs/libcurl/curl_multi_strerror.md
docs/libcurl/curl_multi_timeout.md
docs/libcurl/curl_multi_wait.md
docs/libcurl/curl_multi_waitfds.md
docs/libcurl/curl_multi_wakeup.md
docs/libcurl/curl_pushheader_byname.md
docs/libcurl/curl_pushheader_bynum.md
docs/libcurl/curl_share_cleanup.md
docs/libcurl/curl_share_init.md
docs/libcurl/curl_share_setopt.md
docs/libcurl/curl_share_strerror.md
docs/libcurl/curl_slist_append.md
docs/libcurl/curl_slist_free_all.md
docs/libcurl/curl_strequal.md
docs/libcurl/curl_strnequal.md
docs/libcurl/curl_unescape.md
docs/libcurl/curl_url.md
docs/libcurl/curl_url_cleanup.md
docs/libcurl/curl_url_dup.md
docs/libcurl/curl_url_get.md
docs/libcurl/curl_url_set.md
docs/libcurl/curl_url_strerror.md
docs/libcurl/curl_version.md
docs/libcurl/curl_version_info.md
docs/libcurl/curl_ws_meta.md
docs/libcurl/curl_ws_recv.md
docs/libcurl/curl_ws_send.md
docs/libcurl/opts/CURLINFO_ACTIVESOCKET.md
docs/libcurl/opts/CURLINFO_APPCONNECT_TIME.md
docs/libcurl/opts/CURLINFO_APPCONNECT_TIME_T.md
docs/libcurl/opts/CURLINFO_CAINFO.md
docs/libcurl/opts/CURLINFO_CAPATH.md
docs/libcurl/opts/CURLINFO_CERTINFO.md
docs/libcurl/opts/CURLINFO_CONDITION_UNMET.md
docs/libcurl/opts/CURLINFO_CONNECT_TIME.md
docs/libcurl/opts/CURLINFO_CONNECT_TIME_T.md
docs/libcurl/opts/CURLINFO_CONN_ID.md
docs/libcurl/opts/CURLINFO_CONTENT_LENGTH_DOWNLOAD.md
docs/libcurl/opts/CURLINFO_CONTENT_LENGTH_DOWNLOAD_T.md
docs/libcurl/opts/CURLINFO_CONTENT_LENGTH_UPLOAD.md
docs/libcurl/opts/CURLINFO_CONTENT_LENGTH_UPLOAD_T.md
docs/libcurl/opts/CURLINFO_CONTENT_TYPE.md
docs/libcurl/opts/CURLINFO_COOKIELIST.md
docs/libcurl/opts/CURLINFO_EFFECTIVE_METHOD.md
docs/libcurl/opts/CURLINFO_EFFECTIVE_URL.md
docs/libcurl/opts/CURLINFO_FILETIME.md
docs/libcurl/opts/CURLINFO_FILETIME_T.md
docs/libcurl/opts/CURLINFO_FTP_ENTRY_PATH.md
docs/libcurl/opts/CURLINFO_HEADER_SIZE.md
docs/libcurl/opts/CURLINFO_HTTPAUTH_AVAIL.md
docs/libcurl/opts/CURLINFO_HTTP_CONNECTCODE.md
docs/libcurl/opts/CURLINFO_HTTP_VERSION.md
docs/libcurl/opts/CURLINFO_LASTSOCKET.md
docs/libcurl/opts/CURLINFO_LOCAL_IP.md
docs/libcurl/opts/CURLINFO_LOCAL_PORT.md
docs/libcurl/opts/CURLINFO_NAMELOOKUP_TIME.md
docs/libcurl/opts/CURLINFO_NAMELOOKUP_TIME_T.md
docs/libcurl/opts/CURLINFO_NUM_CONNECTS.md
docs/libcurl/opts/CURLINFO_OS_ERRNO.md
docs/libcurl/opts/CURLINFO_PRETRANSFER_TIME.md
docs/libcurl/opts/CURLINFO_PRETRANSFER_TIME_T.md
docs/libcurl/opts/CURLINFO_PRIMARY_IP.md
docs/libcurl/opts/CURLINFO_PRIMARY_PORT.md
docs/libcurl/opts/CURLINFO_PRIVATE.md
docs/libcurl/opts/CURLINFO_PROTOCOL.md
docs/libcurl/opts/CURLINFO_PROXYAUTH_AVAIL.md
docs/libcurl/opts/CURLINFO_PROXY_ERROR.md
docs/libcurl/opts/CURLINFO_PROXY_SSL_VERIFYRESULT.md
docs/libcurl/opts/CURLINFO_QUEUE_TIME_T.md
docs/libcurl/opts/CURLINFO_REDIRECT_COUNT.md
docs/libcurl/opts/CURLINFO_REDIRECT_TIME.md
docs/libcurl/opts/CURLINFO_REDIRECT_TIME_T.md
docs/libcurl/opts/CURLINFO_REDIRECT_URL.md
docs/libcurl/opts/CURLINFO_REFERER.md
docs/libcurl/opts/CURLINFO_REQUEST_SIZE.md
docs/libcurl/opts/CURLINFO_RESPONSE_CODE.md
docs/libcurl/opts/CURLINFO_RETRY_AFTER.md
docs/libcurl/opts/CURLINFO_RTSP_CLIENT_CSEQ.md
docs/libcurl/opts/CURLINFO_RTSP_CSEQ_RECV.md
docs/libcurl/opts/CURLINFO_RTSP_SERVER_CSEQ.md
docs/libcurl/opts/CURLINFO_RTSP_SESSION_ID.md
docs/libcurl/opts/CURLINFO_SCHEME.md
docs/libcurl/opts/CURLINFO_SIZE_DOWNLOAD.md
docs/libcurl/opts/CURLINFO_SIZE_DOWNLOAD_T.md
docs/libcurl/opts/CURLINFO_SIZE_UPLOAD.md
docs/libcurl/opts/CURLINFO_SIZE_UPLOAD_T.md
docs/libcurl/opts/CURLINFO_SPEED_DOWNLOAD.md
docs/libcurl/opts/CURLINFO_SPEED_DOWNLOAD_T.md
docs/libcurl/opts/CURLINFO_SPEED_UPLOAD.md
docs/libcurl/opts/CURLINFO_SPEED_UPLOAD_T.md
docs/libcurl/opts/CURLINFO_SSL_ENGINES.md
docs/libcurl/opts/CURLINFO_SSL_VERIFYRESULT.md
docs/libcurl/opts/CURLINFO_STARTTRANSFER_TIME.md
docs/libcurl/opts/CURLINFO_STARTTRANSFER_TIME_T.md
docs/libcurl/opts/CURLINFO_TLS_SESSION.md
docs/libcurl/opts/CURLINFO_TLS_SSL_PTR.md
docs/libcurl/opts/CURLINFO_TOTAL_TIME.md
docs/libcurl/opts/CURLINFO_TOTAL_TIME_T.md
docs/libcurl/opts/CURLINFO_USED_PROXY.md
docs/libcurl/opts/CURLINFO_XFER_ID.md
docs/libcurl/opts/CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE.md
docs/libcurl/opts/CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE.md
docs/libcurl/opts/CURLMOPT_MAXCONNECTS.md
docs/libcurl/opts/CURLMOPT_MAX_CONCURRENT_STREAMS.md
docs/libcurl/opts/CURLMOPT_MAX_HOST_CONNECTIONS.md
docs/libcurl/opts/CURLMOPT_MAX_PIPELINE_LENGTH.md
docs/libcurl/opts/CURLMOPT_MAX_TOTAL_CONNECTIONS.md
docs/libcurl/opts/CURLMOPT_PIPELINING.md
docs/libcurl/opts/CURLMOPT_PIPELINING_SERVER_BL.md
docs/libcurl/opts/CURLMOPT_PIPELINING_SITE_BL.md
docs/libcurl/opts/CURLMOPT_PUSHDATA.md
docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.md
docs/libcurl/opts/CURLMOPT_SOCKETDATA.md
docs/libcurl/opts/CURLMOPT_SOCKETFUNCTION.md
docs/libcurl/opts/CURLMOPT_TIMERDATA.md
docs/libcurl/opts/CURLMOPT_TIMERFUNCTION.md
docs/libcurl/opts/CURLOPT_ABSTRACT_UNIX_SOCKET.md
docs/libcurl/opts/CURLOPT_ACCEPTTIMEOUT_MS.md
docs/libcurl/opts/CURLOPT_ACCEPT_ENCODING.md
docs/libcurl/opts/CURLOPT_ADDRESS_SCOPE.md
docs/libcurl/opts/CURLOPT_ALTSVC.md
docs/libcurl/opts/CURLOPT_ALTSVC_CTRL.md
docs/libcurl/opts/CURLOPT_APPEND.md
docs/libcurl/opts/CURLOPT_AUTOREFERER.md
docs/libcurl/opts/CURLOPT_AWS_SIGV4.md
docs/libcurl/opts/CURLOPT_BUFFERSIZE.md
docs/libcurl/opts/CURLOPT_CAINFO.md
docs/libcurl/opts/CURLOPT_CAINFO_BLOB.md
docs/libcurl/opts/CURLOPT_CAPATH.md
docs/libcurl/opts/CURLOPT_CA_CACHE_TIMEOUT.md
docs/libcurl/opts/CURLOPT_CERTINFO.md
docs/libcurl/opts/CURLOPT_CHUNK_BGN_FUNCTION.md
docs/libcurl/opts/CURLOPT_CHUNK_DATA.md
docs/libcurl/opts/CURLOPT_CHUNK_END_FUNCTION.md
docs/libcurl/opts/CURLOPT_CLOSESOCKETDATA.md
docs/libcurl/opts/CURLOPT_CLOSESOCKETFUNCTION.md
docs/libcurl/opts/CURLOPT_CONNECTTIMEOUT.md
docs/libcurl/opts/CURLOPT_CONNECTTIMEOUT_MS.md
docs/libcurl/opts/CURLOPT_CONNECT_ONLY.md
docs/libcurl/opts/CURLOPT_CONNECT_TO.md
docs/libcurl/opts/CURLOPT_CONV_FROM_NETWORK_FUNCTION.md
docs/libcurl/opts/CURLOPT_CONV_FROM_UTF8_FUNCTION.md
docs/libcurl/opts/CURLOPT_CONV_TO_NETWORK_FUNCTION.md
docs/libcurl/opts/CURLOPT_COOKIE.md
docs/libcurl/opts/CURLOPT_COOKIEFILE.md
docs/libcurl/opts/CURLOPT_COOKIEJAR.md
docs/libcurl/opts/CURLOPT_COOKIELIST.md
docs/libcurl/opts/CURLOPT_COOKIESESSION.md
docs/libcurl/opts/CURLOPT_COPYPOSTFIELDS.md
docs/libcurl/opts/CURLOPT_CRLF.md
docs/libcurl/opts/CURLOPT_CRLFILE.md
docs/libcurl/opts/CURLOPT_CURLU.md
docs/libcurl/opts/CURLOPT_CUSTOMREQUEST.md
docs/libcurl/opts/CURLOPT_DEBUGDATA.md
docs/libcurl/opts/CURLOPT_DEBUGFUNCTION.md
docs/libcurl/opts/CURLOPT_DEFAULT_PROTOCOL.md
docs/libcurl/opts/CURLOPT_DIRLISTONLY.md
docs/libcurl/opts/CURLOPT_DISALLOW_USERNAME_IN_URL.md
docs/libcurl/opts/CURLOPT_DNS_CACHE_TIMEOUT.md
docs/libcurl/opts/CURLOPT_DNS_INTERFACE.md
docs/libcurl/opts/CURLOPT_DNS_LOCAL_IP4.md
docs/libcurl/opts/CURLOPT_DNS_LOCAL_IP6.md
docs/libcurl/opts/CURLOPT_DNS_SERVERS.md
docs/libcurl/opts/CURLOPT_DNS_SHUFFLE_ADDRESSES.md
docs/libcurl/opts/CURLOPT_DNS_USE_GLOBAL_CACHE.md
docs/libcurl/opts/CURLOPT_DOH_SSL_VERIFYHOST.md
docs/libcurl/opts/CURLOPT_DOH_SSL_VERIFYPEER.md
docs/libcurl/opts/CURLOPT_DOH_SSL_VERIFYSTATUS.md
docs/libcurl/opts/CURLOPT_DOH_URL.md
docs/libcurl/opts/CURLOPT_ECH.md
docs/libcurl/opts/CURLOPT_EGDSOCKET.md
docs/libcurl/opts/CURLOPT_ERRORBUFFER.md
docs/libcurl/opts/CURLOPT_EXPECT_100_TIMEOUT_MS.md
docs/libcurl/opts/CURLOPT_FAILONERROR.md
docs/libcurl/opts/CURLOPT_FILETIME.md
docs/libcurl/opts/CURLOPT_FNMATCH_DATA.md
docs/libcurl/opts/CURLOPT_FNMATCH_FUNCTION.md
docs/libcurl/opts/CURLOPT_FOLLOWLOCATION.md
docs/libcurl/opts/CURLOPT_FORBID_REUSE.md
docs/libcurl/opts/CURLOPT_FRESH_CONNECT.md
docs/libcurl/opts/CURLOPT_FTPPORT.md
docs/libcurl/opts/CURLOPT_FTPSSLAUTH.md
docs/libcurl/opts/CURLOPT_FTP_ACCOUNT.md
docs/libcurl/opts/CURLOPT_FTP_ALTERNATIVE_TO_USER.md
docs/libcurl/opts/CURLOPT_FTP_CREATE_MISSING_DIRS.md
docs/libcurl/opts/CURLOPT_FTP_FILEMETHOD.md
docs/libcurl/opts/CURLOPT_FTP_SKIP_PASV_IP.md
docs/libcurl/opts/CURLOPT_FTP_SSL_CCC.md
docs/libcurl/opts/CURLOPT_FTP_USE_EPRT.md
docs/libcurl/opts/CURLOPT_FTP_USE_EPSV.md
docs/libcurl/opts/CURLOPT_FTP_USE_PRET.md
docs/libcurl/opts/CURLOPT_GSSAPI_DELEGATION.md
docs/libcurl/opts/CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS.md
docs/libcurl/opts/CURLOPT_HAPROXYPROTOCOL.md
docs/libcurl/opts/CURLOPT_HAPROXY_CLIENT_IP.md
docs/libcurl/opts/CURLOPT_HEADER.md
docs/libcurl/opts/CURLOPT_HEADERDATA.md
docs/libcurl/opts/CURLOPT_HEADERFUNCTION.md
docs/libcurl/opts/CURLOPT_HEADEROPT.md
docs/libcurl/opts/CURLOPT_HSTS.md
docs/libcurl/opts/CURLOPT_HSTSREADDATA.md
docs/libcurl/opts/CURLOPT_HSTSREADFUNCTION.md
docs/libcurl/opts/CURLOPT_HSTSWRITEDATA.md
docs/libcurl/opts/CURLOPT_HSTSWRITEFUNCTION.md
docs/libcurl/opts/CURLOPT_HSTS_CTRL.md
docs/libcurl/opts/CURLOPT_HTTP09_ALLOWED.md
docs/libcurl/opts/CURLOPT_HTTP200ALIASES.md
docs/libcurl/opts/CURLOPT_HTTPAUTH.md
docs/libcurl/opts/CURLOPT_HTTPGET.md
docs/libcurl/opts/CURLOPT_HTTPHEADER.md
docs/libcurl/opts/CURLOPT_HTTPPOST.md
docs/libcurl/opts/CURLOPT_HTTPPROXYTUNNEL.md
docs/libcurl/opts/CURLOPT_HTTP_CONTENT_DECODING.md
docs/libcurl/opts/CURLOPT_HTTP_TRANSFER_DECODING.md
docs/libcurl/opts/CURLOPT_HTTP_VERSION.md
docs/libcurl/opts/CURLOPT_IGNORE_CONTENT_LENGTH.md
docs/libcurl/opts/CURLOPT_INFILESIZE.md
docs/libcurl/opts/CURLOPT_INFILESIZE_LARGE.md
docs/libcurl/opts/CURLOPT_INTERFACE.md
docs/libcurl/opts/CURLOPT_INTERLEAVEDATA.md
docs/libcurl/opts/CURLOPT_INTERLEAVEFUNCTION.md
docs/libcurl/opts/CURLOPT_IOCTLDATA.md
docs/libcurl/opts/CURLOPT_IOCTLFUNCTION.md
docs/libcurl/opts/CURLOPT_IPRESOLVE.md
docs/libcurl/opts/CURLOPT_ISSUERCERT.md
docs/libcurl/opts/CURLOPT_ISSUERCERT_BLOB.md
docs/libcurl/opts/CURLOPT_KEEP_SENDING_ON_ERROR.md
docs/libcurl/opts/CURLOPT_KEYPASSWD.md
docs/libcurl/opts/CURLOPT_KRBLEVEL.md
docs/libcurl/opts/CURLOPT_LOCALPORT.md
docs/libcurl/opts/CURLOPT_LOCALPORTRANGE.md
docs/libcurl/opts/CURLOPT_LOGIN_OPTIONS.md
docs/libcurl/opts/CURLOPT_LOW_SPEED_LIMIT.md
docs/libcurl/opts/CURLOPT_LOW_SPEED_TIME.md
docs/libcurl/opts/CURLOPT_MAIL_AUTH.md
docs/libcurl/opts/CURLOPT_MAIL_FROM.md
docs/libcurl/opts/CURLOPT_MAIL_RCPT.md
docs/libcurl/opts/CURLOPT_MAIL_RCPT_ALLOWFAILS.md
docs/libcurl/opts/CURLOPT_MAXAGE_CONN.md
docs/libcurl/opts/CURLOPT_MAXCONNECTS.md
docs/libcurl/opts/CURLOPT_MAXFILESIZE.md
docs/libcurl/opts/CURLOPT_MAXFILESIZE_LARGE.md
docs/libcurl/opts/CURLOPT_MAXLIFETIME_CONN.md
docs/libcurl/opts/CURLOPT_MAXREDIRS.md
docs/libcurl/opts/CURLOPT_MAX_RECV_SPEED_LARGE.md
docs/libcurl/opts/CURLOPT_MAX_SEND_SPEED_LARGE.md
docs/libcurl/opts/CURLOPT_MIMEPOST.md
docs/libcurl/opts/CURLOPT_MIME_OPTIONS.md
docs/libcurl/opts/CURLOPT_NETRC.md
docs/libcurl/opts/CURLOPT_NETRC_FILE.md
docs/libcurl/opts/CURLOPT_NEW_DIRECTORY_PERMS.md
docs/libcurl/opts/CURLOPT_NEW_FILE_PERMS.md
docs/libcurl/opts/CURLOPT_NOBODY.md
docs/libcurl/opts/CURLOPT_NOPROGRESS.md
docs/libcurl/opts/CURLOPT_NOPROXY.md
docs/libcurl/opts/CURLOPT_NOSIGNAL.md
docs/libcurl/opts/CURLOPT_OPENSOCKETDATA.md
docs/libcurl/opts/CURLOPT_OPENSOCKETFUNCTION.md
docs/libcurl/opts/CURLOPT_PASSWORD.md
docs/libcurl/opts/CURLOPT_PATH_AS_IS.md
docs/libcurl/opts/CURLOPT_PINNEDPUBLICKEY.md
docs/libcurl/opts/CURLOPT_PIPEWAIT.md
docs/libcurl/opts/CURLOPT_PORT.md
docs/libcurl/opts/CURLOPT_POST.md
docs/libcurl/opts/CURLOPT_POSTFIELDS.md
docs/libcurl/opts/CURLOPT_POSTFIELDSIZE.md
docs/libcurl/opts/CURLOPT_POSTFIELDSIZE_LARGE.md
docs/libcurl/opts/CURLOPT_POSTQUOTE.md
docs/libcurl/opts/CURLOPT_POSTREDIR.md
docs/libcurl/opts/CURLOPT_PREQUOTE.md
docs/libcurl/opts/CURLOPT_PREREQDATA.md
docs/libcurl/opts/CURLOPT_PREREQFUNCTION.md
docs/libcurl/opts/CURLOPT_PRE_PROXY.md
docs/libcurl/opts/CURLOPT_PRIVATE.md
docs/libcurl/opts/CURLOPT_PROGRESSDATA.md
docs/libcurl/opts/CURLOPT_PROGRESSFUNCTION.md
docs/libcurl/opts/CURLOPT_PROTOCOLS.md
docs/libcurl/opts/CURLOPT_PROTOCOLS_STR.md
docs/libcurl/opts/CURLOPT_PROXY.md
docs/libcurl/opts/CURLOPT_PROXYAUTH.md
docs/libcurl/opts/CURLOPT_PROXYHEADER.md
docs/libcurl/opts/CURLOPT_PROXYPASSWORD.md
docs/libcurl/opts/CURLOPT_PROXYPORT.md
docs/libcurl/opts/CURLOPT_PROXYTYPE.md
docs/libcurl/opts/CURLOPT_PROXYUSERNAME.md
docs/libcurl/opts/CURLOPT_PROXYUSERPWD.md
docs/libcurl/opts/CURLOPT_PROXY_CAINFO.md
docs/libcurl/opts/CURLOPT_PROXY_CAINFO_BLOB.md
docs/libcurl/opts/CURLOPT_PROXY_CAPATH.md
docs/libcurl/opts/CURLOPT_PROXY_CRLFILE.md
docs/libcurl/opts/CURLOPT_PROXY_ISSUERCERT.md
docs/libcurl/opts/CURLOPT_PROXY_ISSUERCERT_BLOB.md
docs/libcurl/opts/CURLOPT_PROXY_KEYPASSWD.md
docs/libcurl/opts/CURLOPT_PROXY_PINNEDPUBLICKEY.md
docs/libcurl/opts/CURLOPT_PROXY_SERVICE_NAME.md
docs/libcurl/opts/CURLOPT_PROXY_SSLCERT.md
docs/libcurl/opts/CURLOPT_PROXY_SSLCERTTYPE.md
docs/libcurl/opts/CURLOPT_PROXY_SSLCERT_BLOB.md
docs/libcurl/opts/CURLOPT_PROXY_SSLKEY.md
docs/libcurl/opts/CURLOPT_PROXY_SSLKEYTYPE.md
docs/libcurl/opts/CURLOPT_PROXY_SSLKEY_BLOB.md
docs/libcurl/opts/CURLOPT_PROXY_SSLVERSION.md
docs/libcurl/opts/CURLOPT_PROXY_SSL_CIPHER_LIST.md
docs/libcurl/opts/CURLOPT_PROXY_SSL_OPTIONS.md
docs/libcurl/opts/CURLOPT_PROXY_SSL_VERIFYHOST.md
docs/libcurl/opts/CURLOPT_PROXY_SSL_VERIFYPEER.md
docs/libcurl/opts/CURLOPT_PROXY_TLS13_CIPHERS.md
docs/libcurl/opts/CURLOPT_PROXY_TLSAUTH_PASSWORD.md
docs/libcurl/opts/CURLOPT_PROXY_TLSAUTH_TYPE.md
docs/libcurl/opts/CURLOPT_PROXY_TLSAUTH_USERNAME.md
docs/libcurl/opts/CURLOPT_PROXY_TRANSFER_MODE.md
docs/libcurl/opts/CURLOPT_PUT.md
docs/libcurl/opts/CURLOPT_QUICK_EXIT.md
docs/libcurl/opts/CURLOPT_QUOTE.md
docs/libcurl/opts/CURLOPT_RANDOM_FILE.md
docs/libcurl/opts/CURLOPT_RANGE.md
docs/libcurl/opts/CURLOPT_READDATA.md
docs/libcurl/opts/CURLOPT_READFUNCTION.md
docs/libcurl/opts/CURLOPT_REDIR_PROTOCOLS.md
docs/libcurl/opts/CURLOPT_REDIR_PROTOCOLS_STR.md
docs/libcurl/opts/CURLOPT_REFERER.md
docs/libcurl/opts/CURLOPT_REQUEST_TARGET.md
docs/libcurl/opts/CURLOPT_RESOLVE.md
docs/libcurl/opts/CURLOPT_RESOLVER_START_DATA.md
docs/libcurl/opts/CURLOPT_RESOLVER_START_FUNCTION.md
docs/libcurl/opts/CURLOPT_RESUME_FROM.md
docs/libcurl/opts/CURLOPT_RESUME_FROM_LARGE.md
docs/libcurl/opts/CURLOPT_RTSP_CLIENT_CSEQ.md
docs/libcurl/opts/CURLOPT_RTSP_REQUEST.md
docs/libcurl/opts/CURLOPT_RTSP_SERVER_CSEQ.md
docs/libcurl/opts/CURLOPT_RTSP_SESSION_ID.md
docs/libcurl/opts/CURLOPT_RTSP_STREAM_URI.md
docs/libcurl/opts/CURLOPT_RTSP_TRANSPORT.md
docs/libcurl/opts/CURLOPT_SASL_AUTHZID.md
docs/libcurl/opts/CURLOPT_SASL_IR.md
docs/libcurl/opts/CURLOPT_SEEKDATA.md
docs/libcurl/opts/CURLOPT_SEEKFUNCTION.md
docs/libcurl/opts/CURLOPT_SERVER_RESPONSE_TIMEOUT.md
docs/libcurl/opts/CURLOPT_SERVER_RESPONSE_TIMEOUT_MS.md
docs/libcurl/opts/CURLOPT_SERVICE_NAME.md
docs/libcurl/opts/CURLOPT_SHARE.md
docs/libcurl/opts/CURLOPT_SOCKOPTDATA.md
docs/libcurl/opts/CURLOPT_SOCKOPTFUNCTION.md
docs/libcurl/opts/CURLOPT_SOCKS5_AUTH.md
docs/libcurl/opts/CURLOPT_SOCKS5_GSSAPI_NEC.md
docs/libcurl/opts/CURLOPT_SOCKS5_GSSAPI_SERVICE.md
docs/libcurl/opts/CURLOPT_SSH_AUTH_TYPES.md
docs/libcurl/opts/CURLOPT_SSH_COMPRESSION.md
docs/libcurl/opts/CURLOPT_SSH_HOSTKEYDATA.md
docs/libcurl/opts/CURLOPT_SSH_HOSTKEYFUNCTION.md
docs/libcurl/opts/CURLOPT_SSH_HOST_PUBLIC_KEY_MD5.md
docs/libcurl/opts/CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256.md
docs/libcurl/opts/CURLOPT_SSH_KEYDATA.md
docs/libcurl/opts/CURLOPT_SSH_KEYFUNCTION.md
docs/libcurl/opts/CURLOPT_SSH_KNOWNHOSTS.md
docs/libcurl/opts/CURLOPT_SSH_PRIVATE_KEYFILE.md
docs/libcurl/opts/CURLOPT_SSH_PUBLIC_KEYFILE.md
docs/libcurl/opts/CURLOPT_SSLCERT.md
docs/libcurl/opts/CURLOPT_SSLCERTTYPE.md
docs/libcurl/opts/CURLOPT_SSLCERT_BLOB.md
docs/libcurl/opts/CURLOPT_SSLENGINE.md
docs/libcurl/opts/CURLOPT_SSLENGINE_DEFAULT.md
docs/libcurl/opts/CURLOPT_SSLKEY.md
docs/libcurl/opts/CURLOPT_SSLKEYTYPE.md
docs/libcurl/opts/CURLOPT_SSLKEY_BLOB.md
docs/libcurl/opts/CURLOPT_SSLVERSION.md
docs/libcurl/opts/CURLOPT_SSL_CIPHER_LIST.md
docs/libcurl/opts/CURLOPT_SSL_CTX_DATA.md
docs/libcurl/opts/CURLOPT_SSL_CTX_FUNCTION.md
docs/libcurl/opts/CURLOPT_SSL_EC_CURVES.md
docs/libcurl/opts/CURLOPT_SSL_ENABLE_ALPN.md
docs/libcurl/opts/CURLOPT_SSL_ENABLE_NPN.md
docs/libcurl/opts/CURLOPT_SSL_FALSESTART.md
docs/libcurl/opts/CURLOPT_SSL_OPTIONS.md
docs/libcurl/opts/CURLOPT_SSL_SESSIONID_CACHE.md
docs/libcurl/opts/CURLOPT_SSL_VERIFYHOST.md
docs/libcurl/opts/CURLOPT_SSL_VERIFYPEER.md
docs/libcurl/opts/CURLOPT_SSL_VERIFYSTATUS.md
docs/libcurl/opts/CURLOPT_STDERR.md
docs/libcurl/opts/CURLOPT_STREAM_DEPENDS.md
docs/libcurl/opts/CURLOPT_STREAM_DEPENDS_E.md
docs/libcurl/opts/CURLOPT_STREAM_WEIGHT.md
docs/libcurl/opts/CURLOPT_SUPPRESS_CONNECT_HEADERS.md
docs/libcurl/opts/CURLOPT_TCP_FASTOPEN.md
docs/libcurl/opts/CURLOPT_TCP_KEEPALIVE.md
docs/libcurl/opts/CURLOPT_TCP_KEEPCNT.md
docs/libcurl/opts/CURLOPT_TCP_KEEPIDLE.md
docs/libcurl/opts/CURLOPT_TCP_KEEPINTVL.md
docs/libcurl/opts/CURLOPT_TCP_NODELAY.md
docs/libcurl/opts/CURLOPT_TELNETOPTIONS.md
docs/libcurl/opts/CURLOPT_TFTP_BLKSIZE.md
docs/libcurl/opts/CURLOPT_TFTP_NO_OPTIONS.md
docs/libcurl/opts/CURLOPT_TIMECONDITION.md
docs/libcurl/opts/CURLOPT_TIMEOUT.md
docs/libcurl/opts/CURLOPT_TIMEOUT_MS.md
docs/libcurl/opts/CURLOPT_TIMEVALUE.md
docs/libcurl/opts/CURLOPT_TIMEVALUE_LARGE.md
docs/libcurl/opts/CURLOPT_TLS13_CIPHERS.md
docs/libcurl/opts/CURLOPT_TLSAUTH_PASSWORD.md
docs/libcurl/opts/CURLOPT_TLSAUTH_TYPE.md
docs/libcurl/opts/CURLOPT_TLSAUTH_USERNAME.md
docs/libcurl/opts/CURLOPT_TRAILERDATA.md
docs/libcurl/opts/CURLOPT_TRAILERFUNCTION.md
docs/libcurl/opts/CURLOPT_TRANSFERTEXT.md
docs/libcurl/opts/CURLOPT_TRANSFER_ENCODING.md
docs/libcurl/opts/CURLOPT_UNIX_SOCKET_PATH.md
docs/libcurl/opts/CURLOPT_UNRESTRICTED_AUTH.md
docs/libcurl/opts/CURLOPT_UPKEEP_INTERVAL_MS.md
docs/libcurl/opts/CURLOPT_UPLOAD.md
docs/libcurl/opts/CURLOPT_UPLOAD_BUFFERSIZE.md
docs/libcurl/opts/CURLOPT_URL.md
docs/libcurl/opts/CURLOPT_USERAGENT.md
docs/libcurl/opts/CURLOPT_USERNAME.md
docs/libcurl/opts/CURLOPT_USERPWD.md
docs/libcurl/opts/CURLOPT_USE_SSL.md
docs/libcurl/opts/CURLOPT_VERBOSE.md
docs/libcurl/opts/CURLOPT_WILDCARDMATCH.md
docs/libcurl/opts/CURLOPT_WRITEDATA.md
docs/libcurl/opts/CURLOPT_WRITEFUNCTION.md
docs/libcurl/opts/CURLOPT_WS_OPTIONS.md
docs/libcurl/opts/CURLOPT_XFERINFODATA.md
docs/libcurl/opts/CURLOPT_XFERINFOFUNCTION.md
docs/libcurl/opts/CURLOPT_XOAUTH2_BEARER.md
docs/libcurl/opts/CURLSHOPT_LOCKFUNC.md
docs/libcurl/opts/CURLSHOPT_SHARE.md
docs/libcurl/opts/CURLSHOPT_UNLOCKFUNC.md
docs/libcurl/opts/CURLSHOPT_UNSHARE.md
docs/libcurl/opts/CURLSHOPT_USERDATA.md
scripts/cd2nroff

index 2527b77a9f995b914bc08e759277414218cf7a89..18c1cbc3cc1bfc7a177f3a4f6344649e906525f8 100644 (file)
@@ -148,6 +148,14 @@ readable.
 To make sure curldown documents render correctly as markdown, all literal
 occurrences of `<` or `>` need to be escaped by a leading backslash.
 
+## Generating contents
+
+`# %PROTOCOLS%` - inserts a **PROTOCOLS** section based on the metadata
+provided in the header.
+
+`# %AVAILABILITY%` - inserts an **AVAILABILITY** section based on the metadata
+provided in the header.
+
 ## Symbols
 
 All mentioned curl symbols that have their own man pages, like
index 05dfd3b88488ce8e23dbe014be7cb8169baa9434..fc653e3a56d783fdedb7cdb912e8127cc9b45e2b 100644 (file)
@@ -53,6 +53,8 @@ before it is closed.
 Passing in a NULL pointer in *handle* makes this function return immediately
 with no action.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -70,6 +72,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 None
index 504668d2517df16ce9cbf4b106b8a33d9f47ce49..45e738f301bfc28bbda01d48b409e7aba158fed8 100644 (file)
@@ -47,6 +47,8 @@ data from the main filename to populate the cache.
 In multi-threaded programs, this function must be called in a synchronous way,
 the input handle may not be in use when cloned.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -65,6 +67,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 If this function returns NULL, something went wrong and no valid handle was
index 42b228ac9af6108fe7312016d560326842d4c64b..2683d6af52335e4953b418561dec6a1fa65f4c0c 100644 (file)
@@ -64,6 +64,8 @@ To create a proper URL from strings that are not already URL encoded, we
 recommend using libcurl's URL API: set the pieces with curl_url_set(3) and get
 the final correct URL with curl_url_get(3).
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -81,6 +83,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 A pointer to a null-terminated string or NULL if it failed.
index 8fb34dbddf44b29ce88d150c3cdf170ee2f0b8fa..ce328d6c56c34943ecac71e0a19d5b3ead1086aa 100644 (file)
@@ -385,6 +385,8 @@ An overview of the time values available from curl_easy_getinfo(3)
  CURLINFO_PRETRANSFER_TIME_T(3), CURLINFO_STARTTRANSFER_TIME_T(3),
  CURLINFO_TOTAL_TIME_T(3), CURLINFO_REDIRECT_TIME_T(3)
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -411,6 +413,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 If the operation was successful, CURLE_OK is returned. Otherwise an
index 0ec9ac6987f76781d9f6f23c61f4347704a4249e..7a911116dee17324994f915e0d882330d3563de6 100644 (file)
@@ -137,6 +137,8 @@ response that might happen before the "real" response.
 
 The header is an HTTP/2 or HTTP/3 pseudo header
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -154,6 +156,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 This function returns a CURLHcode indicating success or error.
index 110176d670516a147cdbfc97204977604fd734ba..3a5d2be41a6f74a778866b1113ffd7246ae39371 100644 (file)
@@ -51,6 +51,8 @@ You are strongly advised to not allow this automatic behavior, by calling
 curl_global_init(3) yourself properly. See the description in libcurl(3) of
 global environment requirements for details of how to use this function.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -66,6 +68,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 If this function returns NULL, something went wrong and you cannot use the
index b4b72451d93072e1d2ca9c2256086934db3dafb2..2dbdf61ccdbdcf35bb2c156e4800b0ca012dcbed 100644 (file)
@@ -61,6 +61,8 @@ The memory for the struct this points to, is owned and managed by libcurl and
 is associated with the easy handle. Applications must copy the data if they
 want it to survive subsequent API calls or the life-time of the easy handle.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -90,6 +92,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 This function returns the next header, or NULL when there are no more
index 1561e85dddb1650b4b7a1e0466acefa910df5442..87cdeeb213f316c1f6d9c3ccd679283d5592f284 100644 (file)
@@ -36,6 +36,8 @@ well.
 
 If libcurl has no option with the given id, this function returns NULL.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -48,6 +50,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 A pointer to the *curl_easyoption* struct for the option or NULL.
index 521559fe7b8e0f88919d23ca107be10f50f87e84..d237bd354bed5e9bf5123e0545a2980f6c364fa6 100644 (file)
@@ -35,6 +35,8 @@ insensitive.
 
 If libcurl has no option with the given name, this function returns NULL.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -47,6 +49,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 A pointer to the *curl_easyoption* struct for the option or NULL.
index 0f7bc7b2207207959c5ff48410f3d54dcaab8d8c..836dee2d7ed6eabc111f9b021d61c93039c31efa 100644 (file)
@@ -67,6 +67,8 @@ struct curl_easyoption {
 };
 ~~~
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -82,6 +84,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 A pointer to the *curl_easyoption* struct for the next option or NULL if
index 0d241ae8b61ad3bc63b97a9c28cdf48c191a950a..fa8159acd291936646cedeba4889421658a3e557 100644 (file)
@@ -98,6 +98,8 @@ buffering 32 megabyte of data for a paused stream.
 When such a paused stream is unpaused again, any buffered data is delivered
 first.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -132,6 +134,8 @@ 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%
+
 # RETURN VALUE
 
 CURLE_OK (zero) means that the option was set properly, and a non-zero return
index 5e4c74398da371b14b6b57f87c52516910674c5a..4c4c5668e5688742882c94d9731fadfd51598cc8 100644 (file)
@@ -59,6 +59,8 @@ CURLOPT_POSTFIELDS(3).
 While the **easy_handle** is added to a multi handle, it cannot be used by
 curl_easy_perform(3).
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -74,6 +76,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLE_OK (0) means everything was OK, non-zero means an error occurred as
index 2ad86e06d20cff1fe9de7646de03d70e47b10524..94491b63c3db8a29b7e97cfc839a5387641ef104 100644 (file)
@@ -58,6 +58,8 @@ Furthermore if you wait on the socket and it tells you there is data to read,
 curl_easy_recv(3) may return **CURLE_AGAIN** if the only data that was
 read was for internal SSL processing, and no other data is available.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -86,6 +88,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 On success, returns **CURLE_OK**, stores the received data into
index d781b40f3fb5bec8f65b0230b32c6d253844079f..3f4e7ae7f8fff8ebedc4e9d1411b9c4c8e422db0 100644 (file)
@@ -36,6 +36,8 @@ It does not change the following information kept in the handle: live
 connections, the Session ID cache, the DNS cache, the cookies, the shares or
 the alt-svc cache.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -50,6 +52,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Nothing
index c7c5f3338bbee91c6b3a0795e389f45b62231946..04d295a4554806090b97214ef192d14b7eb7ff8d 100644 (file)
@@ -53,6 +53,8 @@ Furthermore if you wait on the socket and it tells you it is writable,
 curl_easy_send(3) may return **CURLE_AGAIN** if the only data that was sent
 was for internal SSL processing, and no other data could be sent.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -79,6 +81,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 On success, returns **CURLE_OK** and stores the number of bytes actually
index 48a6611b33f49f617a7fac64e183b6c9b1356d9d..e9df2469b5493867bdb410c716ed4a7a4da48038 100644 (file)
@@ -1327,6 +1327,8 @@ Callback for progress meter. See CURLOPT_XFERINFOFUNCTION(3)
 
 OAuth2 bearer token. See CURLOPT_XOAUTH2_BEARER(3)
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -1342,6 +1344,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 *CURLE_OK* (zero) means that the option was set properly, non-zero means an
index 57f024c9e06702a9332eda471596948b220451cb..37040a1c1e7a4e3526371436b584aebbe1c56ba6 100644 (file)
@@ -34,6 +34,8 @@ CURLcode error code passed in the argument *errornum*.
 Typically applications also appreciate CURLOPT_ERRORBUFFER(3) for more
 specific error descriptions generated at runtime.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -53,6 +55,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 A pointer to a null-terminated string.
index d0c4bd1dbde610922d86d2218cc2d569c4819d38..b6b25993c57d27b2eac19fc80e7896f788d1ae95 100644 (file)
@@ -47,6 +47,8 @@ TPF, but it was otherwise ignored.
 
 You must curl_free(3) the returned string when you are done with it.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -67,6 +69,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 A pointer to a null-terminated string or NULL if it failed.
index a582f663802318de291589242f941a5fda564eca..c2d798d2dedd5d314e1978ab985dc287fdce4dee 100644 (file)
@@ -39,6 +39,8 @@ This function must be explicitly called in order to perform the upkeep work.
 The connection upkeep interval is set with
 CURLOPT_UPKEEP_INTERVAL_MS(3).
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -69,6 +71,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 On success, returns **CURLE_OK**.
index 714ec5d09d3e71b26f9b3a66118448cbf271dce4..6dce68ec6d3c293046a96fc9ad66fff9abb7aed0 100644 (file)
@@ -38,6 +38,8 @@ on **string** to find out the size.
 
 You must curl_free(3) the returned string when you are done with it.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -56,6 +58,8 @@ int main(void)
 Since 7.15.4, curl_easy_escape(3) should be used. This function might be
 removed in a future release.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 A pointer to a null-terminated string or NULL if it failed.
index 96401324d4ead8d266241d7c8408fe7081d400ec..6e0993bb002734238e5930411de9de32d1bbd673 100644 (file)
@@ -203,6 +203,8 @@ for the curl handle.
 
 See example below.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -309,6 +311,8 @@ effective data size can then not be automatically determined, resulting in a
 chunked encoding transfer. Backslashes and double quotes in field and
 filenames are now escaped before transmission.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 0 means everything was OK, non-zero means an error occurred corresponding to a
index ce2d9e9ceed2ea40d0d631fe6f5270e83ffe4d75..e431f3aca58d98b28a32adb4e57d5385b8e175ed 100644 (file)
@@ -43,6 +43,8 @@ curl_formadd(3) and may be NULL.
 Passing in a NULL pointer in *form* makes this function return immediately
 with no action.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -74,6 +76,8 @@ int main(void)
 
 Deprecated in 7.56.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 None
index 04ac97b96dcb64e381160c7d92b814403d4ee3ad..4724bba6204e695b304fff7c3018647d4959f83f 100644 (file)
@@ -46,6 +46,8 @@ 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!
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -66,6 +68,8 @@ size_t print_httppost(struct curl_httppost *post)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 0 means everything was OK, non-zero means an error occurred
index 611b48810fa605830ece1ee52894df32d8bad895..f59e1218fc5a478d9722d493227388ceed613593 100644 (file)
@@ -33,6 +33,8 @@ differences in memory management between your application and libcurl.
 Passing in a NULL pointer in *ptr* makes this function return immediately
 with no action.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -46,6 +48,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 None
index fda9187e93e4f2ada2f37e881a331a6131da3226..00b4f9b73ebb1c92e54f5906d27a4349b6836a94 100644 (file)
@@ -75,6 +75,8 @@ If a decimal number of the form YYYYMMDD appears, then YYYY is read as the
 year, MM as the month number and DD as the day of the month, for the specified
 calendar date.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -114,6 +116,8 @@ RFC 1036) and ANSI C's *asctime()* format.
 
 These formats are the only ones RFC 7231 says HTTP applications may use.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 This function returns -1 when it fails to parse the date string. Otherwise it
index 08fe186cad5ae491866129dacedf6cf991d29312..c6f0c268f5c4d47de5a72cc4dfe7b0d3c1ae2ea3 100644 (file)
@@ -31,6 +31,8 @@ systems libcurl builds on (including win32).
 
 You must curl_free(3) the returned string when you are done with it.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -44,6 +46,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 A pointer to a null-terminated string or NULL if it failed to find the
index 66f2f19b526fd3eb736a93fe68734804550d5a4f..60a761ed5c505b2a78a6f0a80778a006389fab0a 100644 (file)
@@ -60,6 +60,8 @@ depending on how OpenSSL was built and loaded as a library. It is possible in
 some rare circumstances a memory leak could occur unless you implement your own
 OpenSSL thread cleanup. Refer to libcurl-thread(3).
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -73,6 +75,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 None
index ee626a43003442c70b1d763b1c77f1d9e43c8a26..4ce880f9e228cfcfea62204236b262b62e2d3bc2 100644 (file)
@@ -110,6 +110,8 @@ Before 7.69.0: when this flag is set, curl acknowledges EINTR condition when
 connecting or when waiting for data. Otherwise, curl waits until full timeout
 elapses. (Added in 7.30.0)
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -123,6 +125,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 If this function returns non-zero, something went wrong and you cannot use the
index b44e2c367c32f115a929c34544499be9643c4a6e..6f49abfad7e39fc3a5aae11e1b495c9e12ae3348 100644 (file)
@@ -71,6 +71,8 @@ to that man page for documentation.
 Manipulating these gives considerable powers to the application to severely
 screw things up for libcurl. Take care!
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -88,6 +90,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLE_OK (0) means everything was OK, non-zero means an error occurred as
index 53aab2857cf670bf1c084e7014e3081752bcdb82..42123d71c6aaa7c2948ca911fc2a69d8a6ac881f 100644 (file)
@@ -101,6 +101,8 @@ typedef enum {
 } curl_sslbackend;
 ~~~
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -120,6 +122,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 If this function returns *CURLSSLSET_OK*, the backend was successfully
index d3742861530bfc5c89fd27b4e4c9fd13889f548a..a76462570ae573705641c89c165251e7b8dd2be3 100644 (file)
@@ -109,6 +109,8 @@ Traces reading of upload data from the application in order to send it to the se
 
 Traces writing of download data, received from the server, to the application.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -132,6 +134,8 @@ of an enabled component appears at the beginning in brackets.
 ...
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 If this function returns non-zero, something went wrong and the configuration
index 1adb610c4985440a558fbb76e7ab4b0148766ad4..9a21295d57bd3a80f4276cfb6439e44d2bd4dc66 100644 (file)
@@ -43,6 +43,8 @@ subsequently be populated using functions from the mime API.
 *mime* is the handle of the mime structure in which the new part must be
 appended.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -66,6 +68,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 A mime part structure handle, or NULL upon failure.
index f93b1df2a1e2ac228498480798ec43ad43cdb755..5db64a951d2f3637fc44e71cde9861c0c39925cc 100644 (file)
@@ -50,6 +50,8 @@ last call is retained. It is possible to unassign part's contents by setting
 Setting large data is memory consuming: one might consider using
 curl_mime_data_cb(3) in such a case.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -72,6 +74,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLE_OK or a CURL error code upon failure.
index c721d543c65ef2347218689e02b08ef6b343d5eb..f85e23e96186f9dbdc03b0dded7bc1e4cd4bf9af 100644 (file)
@@ -98,6 +98,8 @@ the pointed item to be shared between the original and the copied handle. In
 particular, special attention should be given to the *freefunc* procedure
 code since it then gets called twice with the same argument.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 Sending a huge data string causes the same amount of memory to be allocated:
@@ -164,6 +166,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLE_OK or a CURL error code upon failure.
index 6a76cef49c684ea8abf08e1ad6aba12ca6844fc0..1479bd7ffbd34ede22af16b3f8e853d021326b7e 100644 (file)
@@ -71,6 +71,8 @@ Encoding should not be applied to multiparts, thus the use of this function on
 a part with content set with curl_mime_subparts(3) is strongly
 discouraged.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -96,6 +98,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLE_OK or a CURL error code upon failure.
index 6986bf01d70f7de6b87bbe909a3034dd1c3215ef..079330ed91129ff59136b488de8dac55d130c53b 100644 (file)
@@ -56,6 +56,8 @@ part is transferred using chunks by HTTP but is rejected by IMAP.
 Setting a part's contents multiple times is valid: only the value set by the
 last call is retained.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -81,6 +83,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLE_OK or a CURL error code upon failure. CURLE_READ_ERROR is only an
index 860332ead4bf04e37846827ef373d1a0acc5b7fc..cfaeada8e8cb25ad8145ece43297ed7e96f523c9 100644 (file)
@@ -44,6 +44,8 @@ The remote filename string is copied into the part, thus the associated
 storage may safely be released or reused after call. Setting a part's file
 name multiple times is valid: only the value set by the last call is retained.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -75,6 +77,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLE_OK or a CURL error code upon failure.
index d28be2e71b5cd10744fc40956e0e6874f00206f5..851b1c5218cb1b272619f50ee94e9520a2036bca 100644 (file)
@@ -43,6 +43,8 @@ curl_mime_init(3) and may be NULL.
 Passing in a NULL pointer in *mime* makes this function return immediately
 with no action.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -61,6 +63,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 None
index 9b79256f9b3e732a45e62d857ca9d4bbcd63c308..9962661122853c893ad045daa5b43e7ae468028a 100644 (file)
@@ -43,6 +43,8 @@ freed explicitly.
 Setting a part's custom headers list multiple times is valid: only the value
 set by the last call is retained.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -74,6 +76,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLE_OK or a CURL error code upon failure.
index 153456b6435aaa2c10bd91b6c6b64103342900a4..7d1513dfbb21bf1aff2e64969a236ab83b88d92a 100644 (file)
@@ -42,6 +42,8 @@ reporting. Since 7.87.0, it does not need to be the final target handle.
 Using a mime handle is the recommended way to post an HTTP form, format and
 send a multi-part email with SMTP or upload such an email to an IMAP server.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -68,6 +70,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 A mime struct handle, or NULL upon failure.
index ab98615f76709b44b842743a74e2c6f464f17477..862784431f46294a794328aa02a55fc65ce6aa99 100644 (file)
@@ -41,6 +41,8 @@ safely be released or reused after call. Setting a part's name multiple times
 is valid: only the value set by the last call is retained. It is possible to
 reset the name of a part by setting *name* to NULL.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -63,6 +65,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLE_OK or a CURL error code upon failure.
index 495c74fd17dc336025a6da227379d0ca9f5301ef..8056a3350d8c42dc593b23e4e60a2078ae7e8820 100644 (file)
@@ -42,6 +42,8 @@ Setting a part's contents multiple times is valid: only the value set by the
 last call is retained. It is possible to unassign previous part's contents by
 setting *subparts* to NULL.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -79,6 +81,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLE_OK or a CURL error code upon failure.
index 73f0b2a18fb9b61d1c295f8e1ec7865436e9b5d1..76f3d710deb23192966ee4dc0fdf8c99b07a2bc5 100644 (file)
@@ -54,6 +54,8 @@ extension, or application/octet-stream by default.
 
 - text/plain in other cases.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -82,6 +84,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLE_OK or a CURL error code upon failure.
index 4d6d5e9c6ed3acc5dd526f74b3d52fd93d1fdf65..ef88e4ed2b58f9bd713ced3a6dd3bc8467f10e15 100644 (file)
@@ -264,6 +264,8 @@ by the corresponding argument.
 
 A '%' symbol is written. No argument is converted.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -276,6 +278,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 The **curl_maprintf** and **curl_mvaprintf** functions return a pointer to
index 9a09970e1ad15d7341649dca0554f42a6b9b2648..9082e9c485de706f2894d11ffa599c25e594f92e 100644 (file)
@@ -64,6 +64,8 @@ first the easy handle and then the multi handle:
 
 3 - curl_multi_cleanup(3)
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -82,6 +84,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLMcode type, general libcurl multi interface error code.
index 90d3e4c52943030d470df5be8932b2772b71a7a6..50729100490dd731ebd7a2f602c938e60a998033 100644 (file)
@@ -48,6 +48,8 @@ functionality.
 
 It is acceptable to call this function from your multi callback functions.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -75,6 +77,8 @@ 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.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 The standard CURLMcode for multi interface error codes.
index f7eb44b3cf242f5ef134140e0aead5b3398d6512..1c08c679b925d309626d35948f0a13024b1a96bb 100644 (file)
@@ -44,6 +44,8 @@ removed
 Passing in a NULL pointer in *multi_handle* makes this function return
 CURLM_BAD_HANDLE immediately with no other action.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -58,6 +60,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLMcode type, general libcurl multi interface error code. On success,
index 20cd562be402d2f38a34bea1b82c314a8aee3801..e1b86941198992af66e794f5cee882f26bf75613 100644 (file)
@@ -79,6 +79,8 @@ which can cause crashes, or worse. The effect of NOT storing it might possibly
 save you from the crash, but makes your program NOT wait for sockets it should
 wait for...
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -113,6 +115,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 **CURLMcode** type, general libcurl multi interface error code. See
index 44f76e5c380a1ff4ec00843065206fdb2e6b2ac2..f94436a889ba914ade35a6dd8ef5141a18aa0e19 100644 (file)
@@ -43,6 +43,8 @@ The order of the easy handles within the array is not guaranteed.
 
 The returned array must be freed with a call to curl_free(3) after use.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -71,6 +73,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns NULL on failure. Otherwise it returns a pointer to an allocated array.
index 10337ff27942cd7187d9c7e9e9cd26b6325a5e96..3a8af88d046b1519062d2b030aa9fbd56649b05a 100644 (file)
@@ -67,6 +67,8 @@ that just completed.
 
 At this point, there are no other **msg** types defined.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -94,6 +96,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 A pointer to a filled-in struct, or NULL if it failed or ran out of
index dda3af8e2e218575bef9eaf096ea92084ede2459..7c3dac8431c76fbd486518c925e29e7414444ebc 100644 (file)
@@ -34,6 +34,8 @@ all the other multi-functions, sometimes referred to as a multi handle in some
 places in the documentation. This init call MUST have a corresponding call to
 curl_multi_cleanup(3) when the operation is complete.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -50,6 +52,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 If this function returns NULL, something went wrong and you cannot use the
index 7a936de264ae983628574cbff0ba6165e47d0342..9b854d146568d76b6f71fd053887673776ca4a04 100644 (file)
@@ -61,6 +61,8 @@ they cannot be continued. curl_multi_perform(3) should not be called
 again on the same multi handle after an error has been returned, unless first
 removing all the handles and adding new ones.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -89,6 +91,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLMcode type, general libcurl multi interface error code.
index 98404b92bff3fabd5580573403600196858d1f1c..2c2ccee6e7eed8e5a32b0a61b9a2eb7d74be7532 100644 (file)
@@ -87,6 +87,8 @@ priority read events such as out of band data.
 Bit flag to curl_waitfd.events indicating the socket should poll on write
 events such as the socket being clear to write without blocking.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -133,6 +135,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLMcode type, general libcurl multi interface error code. See
index cc5817b22b55589085d6beda43443bd3435d6b6b..ac43a592eee189b292aec9beb1a4e7691fba6c57 100644 (file)
@@ -47,6 +47,8 @@ libcurl keeps the connection alive in the connection pool associated with the
 multi handle, ready to get reused for a future transfer using this multi
 handle.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -67,6 +69,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLMcode type, general libcurl multi interface error code.
index 7b2cc95d6c1f327ea1f604ed3e021b1ea3075ce5..3f326be7681db9eefd03bde2cbcc2fbeaae37a44 100644 (file)
@@ -104,6 +104,8 @@ Custom pointer to pass to timer callback. See CURLMOPT_TIMERDATA(3)
 
 Callback to receive timeout values. See CURLMOPT_TIMERFUNCTION(3)
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -118,6 +120,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 The standard CURLMcode for multi interface error codes. Note that it returns a
index c8f67d18f498b0033d094fe2c1decb6a5285bbe4..53fe2f7ee2840f51663e6958bd327cd62942cb39 100644 (file)
@@ -57,6 +57,8 @@ callback is far better than relying on polling the timeout value.
 Usage of curl_multi_socket(3) is deprecated, whereas the function is
 equivalent to curl_multi_socket_action(3) with **ev_bitmask** set to 0.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -76,6 +78,8 @@ int main(void)
 
 curl_multi_socket(3) is deprecated, use curl_multi_socket_action(3) instead!
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLMcode type, general libcurl multi interface error code.
index c2f5832f0df25ebdd906795121f62fbf25652b92..536bf3cb6e219c77086a616e3ab5bef19b87da74 100644 (file)
@@ -96,6 +96,8 @@ callback has been told.
 socket(s) that got action. If no activity is detected and the timeout expires,
 call curl_multi_socket_action(3) with *CURL_SOCKET_TIMEOUT*.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -113,6 +115,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLMcode type, general libcurl multi interface error code. See
index d93bdfd31364602e28b004ea6720b4a719e3861b..37a605bde3bdfff5cf9203e89a4bad4e18564c4d 100644 (file)
@@ -41,6 +41,8 @@ Force libcurl to (re-)check all its internal sockets and transfers instead of
 just a single one by calling curl_multi_socket_all(3). Note that there should
 not be any reason to use this function.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -53,6 +55,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLMcode type, general libcurl multi interface error code.
index 942651dbe76b6a55e2cf5294f3fcc5c30b2b4ad6..d419ab2e82220f719ffc2a5e5c0ec57387215e5d 100644 (file)
@@ -31,6 +31,8 @@ const char *curl_multi_strerror(CURLMcode errornum);
 This function returns a string describing the *CURLMcode* error code
 passed in the argument *errornum*.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -45,6 +47,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 A pointer to a null-terminated string.
index dc3c30dbc177736cfd883639236ec2c965006c60..de59c39202060b5977939ffee312740647d3ab4d 100644 (file)
@@ -49,6 +49,8 @@ Note: if libcurl returns a -1 timeout here, it just means that libcurl
 currently has no stored timeout value. You must not wait too long (more than a
 few seconds perhaps) before you call curl_multi_perform(3) again.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -83,6 +85,8 @@ 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%
+
 # RETURN VALUE
 
 The standard CURLMcode for multi interface error codes.
index 098c27c6af4456dded2c4bf49a1e09e53f723937..7e9553d76aaff6db499d29931c6384bd205f3202 100644 (file)
@@ -80,6 +80,8 @@ priority read events such as out of band data.
 Bit flag to *curl_waitfd.events* indicating the socket should poll on
 write events such as the socket being clear to write without blocking.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -114,6 +116,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLMcode type, general libcurl multi interface error code. See
index 8826b41a8d2288be0bc8ee57be13ab887d2b76a0..ae06a4d446cacfd8748e66bc20c3cede2cdc5533 100644 (file)
@@ -52,6 +52,8 @@ The client code can pass *size* equal to zero just to get the number of the
 descriptors and allocate appropriate storage for them to be used in a
 subsequent function call.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -100,6 +102,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 **CURLMcode** type, general libcurl multi interface error code. See
index eb8d309755ddb9cdf632133ef59eb531e446006b..a920847a6cc6c525de475ecbcb47910e2ab7286c 100644 (file)
@@ -39,6 +39,8 @@ that multiple calls to this function wake up the same waiting operation.
 
 This function has no effect on curl_multi_wait(3) calls.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -85,6 +87,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLMcode type, general libcurl multi interface error code.
index 10d8d04dd5cddc57c0011c4d5a42db7aaa57074a..d066ea7b85b5e6ef461cbcac7d2c4b4ff6263865 100644 (file)
@@ -36,6 +36,8 @@ not have to loop through all headers to find the one it is interested in. The
 data this function points to is freed when this callback returns. If more than
 one header field use the same name, this returns only the first one.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -76,6 +78,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns a pointer to the header field content or NULL.
index cce5438bf452aa08475e1fe013b4fb59cac711f4..12555c57f0c158f474786b30221235eb80ef0ffe 100644 (file)
@@ -35,6 +35,8 @@ the incoming server push request or NULL. The data pointed to is freed by
 libcurl when this callback returns. The returned pointer points to a
 "name:value" string that gets freed when this callback returns.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -63,6 +65,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns a pointer to the header field content or NULL.
index 5d9b5796368c658292836ab73dfab16216a68a81..85176066a5649a16251fb713eac2e247beb62b02 100644 (file)
@@ -32,6 +32,8 @@ when this function has been called.
 Passing in a NULL pointer in *share_handle* makes this function return
 immediately with no action.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -45,6 +47,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLSHE_OK (zero) means that the option was set properly, non-zero means an
index 6fee7c692ee834ad0fcc18ae61ebadded1a5e266..deb61733cc57269fd0988587fd8fa5c2be2eb34f 100644 (file)
@@ -36,6 +36,8 @@ This *share handle* is what you pass to curl using the
 CURLOPT_SHARE(3) option with curl_easy_setopt(3), to make that
 specific curl handle use the data in this share.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -49,6 +51,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 If this function returns NULL, something went wrong (out of memory, etc.)
index 877997301a3c6386be81a7fcd6489f58e9d9e1e8..a15955e4c71a55a3d9c02b0db28d8ffc191800bb 100644 (file)
@@ -50,6 +50,8 @@ See CURLSHOPT_UNSHARE(3).
 
 See CURLSHOPT_USERDATA(3).
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -63,6 +65,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLSHE_OK (zero) means that the option was set properly, non-zero means an
index b71a194d7bf5a104e4a80eb653a3d8490c773737..9c45278f53fb64cae134f7a3d4464250baa19f62 100644 (file)
@@ -31,6 +31,8 @@ const char *curl_share_strerror(CURLSHcode errornum);
 The curl_share_strerror(3) function returns a string describing the
 *CURLSHcode* error code passed in the argument *errornum*.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -44,6 +46,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 A pointer to a null-terminated string.
index 0240b687423494fc4efbc15e5b656e520d1bc849..27ec45da1c40e1bb5c535b431227cde532eb4419 100644 (file)
@@ -35,6 +35,8 @@ returns. curl_slist_append(3) copies the string.
 The list should be freed again (after usage) with
 curl_slist_free_all(3).
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -66,6 +68,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 A null pointer is returned if anything went wrong, otherwise the new list
index d9d3ba5c02c19c12ae44069fc0eb373948a4c587..116ebbecdb6edb837cd575caed947e943b290580 100644 (file)
@@ -31,6 +31,8 @@ linked list.
 Passing in a NULL pointer in *list* makes this function return immediately
 with no action.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -52,6 +54,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Nothing.
index 40a7504d595f9409b590b7435d8847bd1e3b0f45..e7270d874e14def5a0d70d19d81ee8bca42e954e 100644 (file)
@@ -39,6 +39,8 @@ This function is provided by libcurl to enable applications to compare strings
 in a truly portable manner. There are no standard portable case insensitive
 string comparison functions. This function works on all platforms.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -50,6 +52,8 @@ int main(int argc, char **argv)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Non-zero if the strings are identical. Zero if they are not.
index 9b8b0e066d8571fa2281204dd300d82bc93f3a4b..db42bcdf8e2196de33c10ea1d47cf69569199018 100644 (file)
@@ -42,6 +42,8 @@ This function is provided by libcurl to enable applications to compare strings
 in a truly portable manner. There are no standard portable case insensitive
 string comparison functions. This function works on all platforms.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -53,6 +55,8 @@ int main(int argc, char **argv)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Non-zero if the strings are identical. Zero if they are not.
index 59ac59bab9504d067790dd0b164f35941a9667cb..2600f1436110df277f465f0481cca820bb8999b7 100644 (file)
@@ -40,6 +40,8 @@ strlen() on **input** to find out the size.
 
 You must curl_free(3) the returned string when you are done with it.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -63,6 +65,8 @@ int main(void)
 Since 7.15.4, curl_easy_unescape(3) should be used. This function might
 be removed in a future release.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 A pointer to a null-terminated string or NULL if it failed.
index dfa33f2a5789af928e5a4c329554661bb51e397b..5872134e139a56ccca725fd88022d069d0997032 100644 (file)
@@ -38,6 +38,8 @@ single URL. When the object is first created, there is of course no components
 stored. They are then set in the object with the curl_url_set(3)
 function.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -58,6 +60,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns a **CURLU *** if successful, or NULL if out of memory.
index 051e9341577272ef342d38bd58e0db79a3af6fe5..0684f478f019383fd8d8a93bd227ae30075c4be0 100644 (file)
@@ -34,6 +34,8 @@ Frees all the resources associated with the given *CURLU* handle!
 Passing in a NULL pointer in *handle* makes this function return
 immediately with no action.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -45,6 +47,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 none
index 98c1a6eee0f25ed728db421713a8409f243dba2a..5c0b4b0210bfa58bbff75c10920c312863738a91 100644 (file)
@@ -33,6 +33,8 @@ Duplicates the URL object the input *CURLU* *inhandle* identifies and
 returns a pointer to the copy as a new *CURLU* handle. The new handle also
 needs to be freed with curl_url_cleanup(3).
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -50,6 +52,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns a new handle or NULL if out of memory.
index bd8421e0381725bd03eadc935a9e4b980bb960c3..e7aa6baa5e2336ad466476cf4d873d2ff7128612 100644 (file)
@@ -216,6 +216,8 @@ A not-present fragment returns *part* set to NULL.
 
 A zero-length fragment returns *part* as NULL unless CURLU_GET_EMPTY is set.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -236,6 +238,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns a CURLUcode error value, which is CURLUE_OK (0) if everything went
index 99d9e9c1d50cda9e47e40b368dcc06e78204ec6f..390f5249391f9531e6fb40a602fa01545cf8f46c 100644 (file)
@@ -240,6 +240,8 @@ If set, the URL parser does not accept embedded credentials for the
 **CURLUPART_URL**, and instead returns **CURLUE_USER_NOT_ALLOWED** for
 such URLs.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -256,6 +258,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns a *CURLUcode* error value, which is CURLUE_OK (0) if everything
index 311dce6a93128b20035d17167c7fc07f6e1effee..33cdb148dd7afa0d09925defbc20f38f7998c969 100644 (file)
@@ -33,6 +33,8 @@ const char *curl_url_strerror(CURLUcode errornum);
 This function returns a string describing the CURLUcode error code passed in
 the argument *errornum*.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -47,6 +49,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 A pointer to a null-terminated string.
index f429cf5789af7e8ff7a044eb47ccf425c8b1600b..012be6ed8771e3efc0be93c15011c723331e83b9 100644 (file)
@@ -30,6 +30,8 @@ its important components (like OpenSSL version).
 
 We recommend using curl_version_info(3) instead!
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -39,6 +41,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 A pointer to a null-terminated string. The string resides in a statically
index aeedea4a94c40be9ab95c9c5f1732b708fe41f34..2a0220d294d00eb83f22dee1fde4b2d32f16b9d7 100644 (file)
@@ -370,6 +370,8 @@ supports HTTP GSS-Negotiate (added in 7.10.6, deprecated in 7.38.0)
 
 supports Kerberos V4 (when using FTP). Legacy bit. Deprecated since 7.33.0.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -383,6 +385,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 A pointer to a curl_version_info_data struct.
index 1215225d4473c7ad0aacd105b5e7db8d6ed0f1a8..f95f25e8052e64631bf1df116439792cd31dbefd 100644 (file)
@@ -98,6 +98,8 @@ This transfer is now closed.
 
 This as an incoming ping message, that expects a pong response.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -133,6 +135,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 This function returns a pointer to a *curl_ws_frame* struct with read-only
index 0bafb3c30a8043d0a49730c7fd33c9a31b9749ee..d5df8b3391fab02f528eb3ba3e12745013ce1d48 100644 (file)
@@ -44,6 +44,8 @@ The *meta* pointer gets set to point to a *const struct curl_ws_frame*
 that contains information about the received data. See the
 curl_ws_meta(3) for details on that struct.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -61,6 +63,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns **CURLE_OK** if everything is okay, and a non-zero number for
index 3df04732eb600e47e3a00952b098c163d7b7d70e..82fce1cff3e0f0d47bd4297d0e82082705c22361 100644 (file)
@@ -90,6 +90,8 @@ fragment like this, the *fragsize* must be provided with the total
 expected fragment size in the first call and it needs to be zero in subsequent
 calls.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -112,6 +114,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 *CURLE_OK* (zero) means that the data was sent properly, non-zero means an
index 77b45114fd2803c164596141a4d0b60b7a3f1092..2b849afc50fb5f64d73b7c8681d1e6d8471bb19c 100644 (file)
@@ -41,6 +41,8 @@ CURLOPT_CONNECT_ONLY(3), which skips the transfer phase.
 CURLINFO_ACTIVESOCKET(3) was added as a replacement for
 CURLINFO_LASTSOCKET(3) since that one is not working on all platforms.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -72,6 +74,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 8ecb5a1ca0b18bb04d6d94c10332fac6d884bf14..61ea7ba8b59ad30578f6601655292b3d57bb3bc9 100644 (file)
@@ -38,6 +38,8 @@ When a redirect is followed, the time from each request is added together.
 
 See also the TIMES overview in the curl_easy_getinfo(3) man page.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -61,6 +63,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 27c524d3334597e92702650c3c13c351f25e4464..4490fd0323e0f0cef60aea52ae2ee4a1f32e7403 100644 (file)
@@ -38,6 +38,8 @@ When a redirect is followed, the time from each request is added together.
 
 See also the TIMES overview in the curl_easy_getinfo(3) man page.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -62,6 +64,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index f35e48324963ff99e1ee33df257cd52f7b21d905..60c131d9edfa590c09144d9ff354f3467b3867a3 100644 (file)
@@ -41,6 +41,8 @@ This is a path identifying a single file containing CA certificates.
 
 The **path** pointer is set to NULL if there is no default path.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -58,6 +60,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 8b9febfceba6a8d4a97cdaebf8c3512c91982f6f..6211859a59013f1c0ad290a28ab12a1309ec113c 100644 (file)
@@ -44,6 +44,8 @@ This is a path identifying a directory.
 
 The **path** pointer is set to NULL if there is no default path.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -61,6 +63,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 98e0fc46e506e5cd96f8f8387e719a550acfaf25..e73b2aee7ebc34f28da35b2944742fe8571da329 100644 (file)
@@ -51,6 +51,8 @@ items with textual information in the format "name:content" such as
 "Subject:Foo", "Issuer:Bar", etc. The items in each list varies depending on
 the SSL backend and the certificate.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -92,11 +94,13 @@ int main(void)
 
 See also the *certinfo.c* example.
 
-# NOTES
+# HISTORY
 
 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.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index a3a3dd3ac4d5dd67dd0dd05e7d3127bf817efa82..6befaf8a0b946f46b22047e63d8ab5951bc2c4f2 100644 (file)
@@ -37,6 +37,8 @@ gets a zero stored if the condition instead was met. This can also return 1 if
 the server responded with a 304 HTTP status code, for example after sending a
 custom "If-Match-*" header.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -70,6 +72,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index b51498fbf2a3d9bbc4f5b1fe7d9fefb4862dc618..dbf1a56fc4253b6a5cc824516d5d83d892a8494f 100644 (file)
@@ -34,6 +34,8 @@ When a redirect is followed, the time from each request is added together.
 
 See also the TIMES overview in the curl_easy_getinfo(3) man page.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -57,6 +59,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 61cda67aa656a9b6bcd9bd0f8a09c0620e56dbc2..073a93b9caa052abac29611794e0a8e27b837cf8 100644 (file)
@@ -36,6 +36,8 @@ When a redirect is followed, the time from each request is added together.
 
 See also the TIMES overview in the curl_easy_getinfo(3) man page.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -60,6 +62,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 443c719ebc76eb8385d2a22c65e434c25e91f251..41a3b16fc0040147d31c237f1df605ca9690c476 100644 (file)
@@ -35,6 +35,8 @@ The connection id is unique among all connections using the same
 connection cache. This is implicitly the case for all connections in the
 same multi handle.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -60,6 +62,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 52712e0de509bab715044bbefc9075efcd3de68d..77b7be40626291672df2acdac103084a7c45fb60 100644 (file)
@@ -35,6 +35,8 @@ is the value read from the Content-Length: field. Since 7.19.4, this returns
 CURLINFO_CONTENT_LENGTH_DOWNLOAD_T(3) is a newer replacement that returns a more
 sensible variable type.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -64,6 +66,8 @@ int main(void)
 
 Deprecated since 7.55.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index bfcc9f24ef9df7b7a8c64bb41805a0702b640c0a..ea08eb93183f9c50895a72791806d549826f58eb 100644 (file)
@@ -32,6 +32,8 @@ Pass a pointer to a *curl_off_t* to receive the content-length of the
 download. This is the value read from the Content-Length: field. Stores -1 if
 the size is not known.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -57,6 +59,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 40fae308adec232e31b18c65c23c158ecdbf8a8f..322a84a5657c8a305ca9811a00100473f81da93c 100644 (file)
@@ -34,6 +34,8 @@ Pass a pointer to a double to receive the specified size of the upload. Since
 CURLINFO_CONTENT_LENGTH_UPLOAD_T(3) is a newer replacement that returns a
 more sensible variable type.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -63,6 +65,8 @@ int main(void)
 
 Deprecated since 7.55.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index e247b56418b66159cdcb7cfa09930148c3f1370d..4f018711a0f063091827a18c0bea3e30d1dedcd8 100644 (file)
@@ -31,6 +31,8 @@ CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_CONTENT_LENGTH_UPLOAD_T,
 Pass a pointer to a *curl_off_t* to receive the specified size of the
 upload. Stores -1 if the size is not known.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -56,6 +58,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 918c451c0d716ef8694d008663ddb44bba79a2b7..9e1800f8d83c72069f2edc71aee2070278e60c28 100644 (file)
@@ -40,6 +40,8 @@ corresponding CURL handle.
 The modern way to get this header from a response is to instead use the
 curl_easy_header(3) function.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -65,6 +67,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 37306025491007ee0674f98a0344745635a08229..0481c1277903fbc51c01589ce34c7c97866ffc1d 100644 (file)
@@ -37,6 +37,8 @@ received) the 'struct curl_slist *' is made a NULL pointer.
 Since 7.43.0 cookies that were imported in the Set-Cookie format without a
 domain name are not exported by this option.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -72,6 +74,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 23e9c8690d3fdb8ea39204635400e86b915913f6..86080c579de803fce7ec7cb4d2ab22ed30439e7f 100644 (file)
@@ -39,6 +39,8 @@ The **methodp** pointer is NULL or points to private memory. You MUST NOT
 free - it gets freed when you call curl_easy_cleanup(3) on the
 corresponding CURL handle.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -62,6 +64,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index fe032861486b2330f303693c4cef3b8b021cdf15..c1f395227b0a1a407168cc6d111e7c4d1cf7c75c 100644 (file)
@@ -36,6 +36,8 @@ The **urlp** pointer is NULL or points to private memory. You MUST NOT free
 - it gets freed when you call curl_easy_cleanup(3) on the corresponding
 CURL handle.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -58,6 +60,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index a374ca3c95f5b01567fffa88a24e439cd29ee695..40482e36f01953924cee079e2d9265c051a49618 100644 (file)
@@ -41,6 +41,8 @@ by using the CURLOPT_FILETIME(3) option or you unconditionally get a -1 back.
 Consider CURLINFO_FILETIME_T(3) instead to be able to extract dates beyond the
 year 2038 on systems using 32-bit longs (Windows).
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -67,6 +69,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 389bed7ccda5324a3b27fe3ff50b09428c06912a..7cdec9b4c27dde8a19ad8d078f596d284c99b024 100644 (file)
@@ -42,6 +42,8 @@ by using the CURLOPT_FILETIME(3) option or you unconditionally get a -1 back.
 This option is an alternative to CURLINFO_FILETIME(3) to allow systems with 32
 bit long variables to extract dates outside of the 32-bit timestamp range.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -68,6 +70,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 7600aaa15c771f23d573ad612cd80b483b03ca98..245a84936cd3b3a86b81c5b345cce1ca3a64126b 100644 (file)
@@ -35,6 +35,8 @@ The **path** pointer is NULL or points to private memory. You MUST NOT free
 - it gets freed when you call curl_easy_cleanup(3) on the corresponding
 CURL handle.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -60,10 +62,12 @@ int main(void)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 Works for SFTP since 7.21.4
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index a0554ac4fbf8a5fbd7bead46e53347a2bd3947fd..ce8764c96d82e6ef75ca258f4ba9e15333cd003f 100644 (file)
@@ -34,6 +34,8 @@ received. Measured in number of bytes.
 The total includes the size of any received headers suppressed by
 CURLOPT_SUPPRESS_CONNECT_HEADERS(3).
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -55,6 +57,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 72f7b285987f1f2eddf57186fd4811df743089c1..b0b229eb36116017283b6be6b5bec9c908267953 100644 (file)
@@ -32,6 +32,8 @@ 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).
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -65,6 +67,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 67d3ff42e6b92fa5e41caf94b232ba55f6caeb77..b93f9d6f588560b7590f8761ae737e63bd7ddb31 100644 (file)
@@ -31,6 +31,8 @@ Pass a pointer to a long to receive the last received HTTP proxy response code
 to a CONNECT request. The returned value is zero if no such response code was
 available.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -55,6 +57,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index fe7782f399bfb820e1f13fae50840a011bac0f7f..2721eb3fc5c261313c6a6c7c0490c05966626394 100644 (file)
@@ -32,6 +32,8 @@ connection done using this handle. The returned value is
 CURL_HTTP_VERSION_1_0, CURL_HTTP_VERSION_1_1, CURL_HTTP_VERSION_2_0,
 CURL_HTTP_VERSION_3 or 0 if the version cannot be determined.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -51,6 +53,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 1665e190d37af79307643a2918b3d6fa85258aec..5a71886247fbbef1fc31b8abed0a087448954b89 100644 (file)
@@ -41,6 +41,8 @@ NOTE: this API is deprecated since it is not working on win64 where the SOCKET
 type is 64 bits large while its 'long' is 32 bits. Use the
 CURLINFO_ACTIVESOCKET(3) instead, if possible.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -72,6 +74,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 1e06d47a4962e2be642b6fcb1dd1a6cd3383f1ca..ace1b7189cce5c3d6faf78d5c285d412bb306075 100644 (file)
@@ -38,6 +38,8 @@ The **ip** pointer is NULL or points to private memory. You MUST NOT free -
 it gets freed when you call curl_easy_cleanup(3) on the corresponding
 CURL handle.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -62,6 +64,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 23a1f64e997db805ae4c657c772f7d611c08a985..ff4bcbab3fb7d5d3ef67f5ba38ed93875c287984 100644 (file)
@@ -31,6 +31,8 @@ CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_LOCAL_PORT, long *portp);
 Pass a pointer to a long to receive the local port number of the most recent
 connection done with this **curl** handle.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -58,6 +60,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 64446a47109b194c24032b1a8f1c31c9bcf6818b..349e300e81c5f5b5eb3982d67b216f53eae1cddf 100644 (file)
@@ -35,6 +35,8 @@ When a redirect is followed, the time from each request is added together.
 
 See also the TIMES overview in the curl_easy_getinfo(3) man page.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -58,6 +60,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index ab6b1f4ac1eb01a6acae983ff9f47eaa5ec6fad7..d263eb612c6617b25f3b3a91ab3379da323595a8 100644 (file)
@@ -35,6 +35,8 @@ When a redirect is followed, the time from each request is added together.
 
 See also the TIMES overview in the curl_easy_getinfo(3) man page.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -59,6 +61,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index dc360c7055bf166a342c70110555ebc242bc9c21..1a0a83f8f7c273936965102011cb2d07c225bde4 100644 (file)
@@ -33,6 +33,8 @@ many times libcurl successfully reused existing connection(s) or not. See the
 connection options of curl_easy_setopt(3) to see how libcurl tries to make
 persistent connections to save time.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -55,6 +57,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 48044452bf0b0f7d0e078e2df6f99fda44b50e08..969f1a36c69e7a0ababef9b797e2d933cc567290 100644 (file)
@@ -38,6 +38,8 @@ Since 8.8.0 libcurl clears the easy handle's saved errno before performing the
 transfer. Prior versions did not clear the saved errno, which means if a saved
 errno is retrieved it could be from a previous transfer on the same handle.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -60,6 +62,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 27a23993220a832ab432ef500953a296fa2bface..0d3e3304d37dbd9e8616b0df1a6ced607b9f22fc 100644 (file)
@@ -40,6 +40,8 @@ When a redirect is followed, the time from each request is added together.
 
 See also the TIMES overview in the curl_easy_getinfo(3) man page.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -63,6 +65,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 0e9ddd24b4899c7669c173003c2951a77e877bf4..0300312dea24811dc1fa36a71d532eb0583c8049 100644 (file)
@@ -40,6 +40,8 @@ When a redirect is followed, the time from each request is added together.
 
 See also the TIMES overview in the curl_easy_getinfo(3) man page.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -65,6 +67,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index b92d8cef4ab31a846bd624fb8177bf30d122c5d0..83f431fd82d9776b44717f9cdf84fe204c0a2b39 100644 (file)
@@ -39,6 +39,8 @@ The **ip** pointer is NULL or points to private memory. You MUST NOT free -
 it gets freed when you call curl_easy_cleanup(3) on the corresponding
 CURL handle.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -63,6 +65,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 357a2b418791706b4d1dc383f6a9e489e33e1031..d44594e33388b7b53042eb92df78ae1117719aad 100644 (file)
@@ -36,6 +36,8 @@ If a proxy was used for the most recent transfer, this is the port number of
 the proxy, if no proxy was used it is the port number of the most recently
 accessed URL.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -57,6 +59,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 2f150a7ed98132d35b01a672058e40ef94e2da94..0ce649924e3d63f3f89d5e4bef74526f82748549 100644 (file)
@@ -32,6 +32,8 @@ associated with the curl handle (set with the CURLOPT_PRIVATE(3)).
 Please note that for internal reasons, the value is returned as a char
 pointer, although effectively being a 'void *'.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -58,6 +60,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 0ee5008aa07774aa4041df0d091bf5430d59904c..9dadae91c725f847ee6f1145e9701dcaec0b3eb2 100644 (file)
@@ -44,6 +44,8 @@ CURLPROTO_SCP, CURLPROTO_SFTP, CURLPROTO_SMB, CURLPROTO_SMBS, CURLPROTO_SMTP,
 CURLPROTO_SMTPS, CURLPROTO_TELNET, CURLPROTO_TFTP, CURLPROTO_MQTT
 ~~~
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -67,6 +69,8 @@ int main(void)
 
 Deprecated since 7.85.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 15243318abc5a25105cd8237be8dffa3d96c87bc..201c0d996d4ded3de96d1b48788b956f148ff39f 100644 (file)
@@ -32,6 +32,8 @@ 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).
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -66,6 +68,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 38b45ec799e61abd183e6f85d25257f6bbc7ba9f..52572b99b89fb5ed8ab322bee1c3d3464f2a997c 100644 (file)
@@ -72,6 +72,8 @@ transfer returned a **CURLE_PROXY** error. That error code matches the
 
 The error code is zero (**CURLPX_OK**) if no response code was available.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -95,6 +97,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index bf0ff27cffb1478dd989e3be806fbccd864ae897..f1aeb052ccc2ea0f4a4c92d6ab73ebdfcf12d980 100644 (file)
@@ -37,6 +37,8 @@ option. This is only used for HTTPS proxies.
 
 0 is a positive result. Non-zero is an error.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -68,6 +70,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 24eb79b37f009157c9a77ac7af7b0ed734ff1aab..c066e4ca5ededf9dd0dd420bf88b3a503b7f18f9 100644 (file)
@@ -36,6 +36,8 @@ connection etc due to set conditions and limits imposed by the application.
 
 See also the TIMES overview in the curl_easy_getinfo(3) man page.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -60,6 +62,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index a735045adfdf78288745ffb36bbbf5ed6fe38bdc..c5999247ece6307ea771abb88f097759c1a33fdf 100644 (file)
@@ -32,6 +32,8 @@ CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_REDIRECT_COUNT,
 Pass a pointer to a long to receive the total number of redirections that were
 actually followed.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -52,6 +54,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index f0695d11b98d6a1e8dd521339192abb4254f978d..f60b5e541874781ee9b4d7146137414965cb7659 100644 (file)
@@ -37,6 +37,8 @@ the complete execution time for multiple redirections.
 
 See also the TIMES overview in the curl_easy_getinfo(3) man page.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -60,6 +62,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 3491608a9686e4c5b6a8cd880ce5bc857e4ccd4d..1c69bfcf15f109bfd2bbc27426290b9b0ee6f804 100644 (file)
@@ -38,6 +38,8 @@ multiple redirections.
 
 See also the TIMES overview in the curl_easy_getinfo(3) man page.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -62,6 +64,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 453ee890769146f82026dd8c847b133b41aaddc6..9926a5edbdb3da6e3b873cb0c0ff3acf7bd171f8 100644 (file)
@@ -38,6 +38,8 @@ the new URL.
 This URL is also set if the CURLOPT_MAXREDIRS(3) limit prevented a redirect to
 happen (since 7.54.1).
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -59,6 +61,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index a8520032815151780253cca822321a35e97886c0..b74a7016b24b4fbb48ec2df60f110ec5c7e892d1 100644 (file)
@@ -35,6 +35,8 @@ The **hdrp** pointer is NULL or points to private memory you MUST NOT free -
 it gets freed when you call curl_easy_cleanup(3) on the corresponding
 CURL handle.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -57,6 +59,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 024b7d72b5c748c347d410de53e751339e24915f..3b0c66dc973cef0f19e5e57b509d390b13ae9d4a 100644 (file)
@@ -32,6 +32,8 @@ Pass a pointer to a long to receive the total size of the issued
 requests. This is so far only for HTTP requests. Note that this may be more
 than one request if CURLOPT_FOLLOWLOCATION(3) is enabled.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -53,6 +55,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index c70fa5f7f11d0810cea3819954efabe9ce481e2c..05e88387cdcb4f344d5d86b931c422bb8e7d922f 100644 (file)
@@ -38,6 +38,8 @@ no server response code has been received.
 Note that a proxy's CONNECT response should be read with
 CURLINFO_HTTP_CONNECTCODE(3) and not this.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -62,6 +64,8 @@ int main(void)
 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.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 28ddfbf50b634f1e997404aa2be9bc3894f04478..0dca2e509d1538fba96128af9fe734e5a3407611 100644 (file)
@@ -38,7 +38,9 @@ or zero if there was no header or the header could not be parsed.
 
 # DEFAULT
 
-Returns zero delay if there was no header.
+Zero if there was no header.
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -61,6 +63,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 4a2db915e5eb94bde28f9e57fb85676394579624..52640e998203faa11b7cda0ef17f5bfe25ca0e4e 100644 (file)
@@ -32,6 +32,8 @@ CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_RTSP_CLIENT_CSEQ,
 Pass a pointer to a long to receive the next CSeq that is expected to be used
 by the application.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -51,6 +53,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index f5dab52b10d8e67139dede10b4f82e5f563c5065..4eb11b4110573227ddb0da66d77d815f5c61a058 100644 (file)
@@ -32,6 +32,8 @@ server. If your application encounters a *CURLE_RTSP_CSEQ_ERROR* then you
 may wish to troubleshoot and/or fix the CSeq mismatch by peeking at this
 value.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -51,6 +53,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index f5ef2ecbdd506e3855812635cc376889811e7f9f..1b1d73d88d22f107dd6a4fb2eb6235ac5d6e557f 100644 (file)
@@ -36,6 +36,8 @@ Listening for server initiated requests is not implemented!
 Applications wishing to resume an RTSP session on another connection should
 retrieve this info before closing the active connection.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -55,6 +57,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 0f1c51424cc6b8d435d4a05f71abb7d2c27d372d..04feb1b6be5042a318cf35da5a5c33b3806eff08 100644 (file)
@@ -37,6 +37,8 @@ The **id** pointer is NULL or points to private memory. You MUST NOT free -
 it gets freed when you call curl_easy_cleanup(3) on the corresponding
 CURL handle.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -56,6 +58,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 6527e69e562cd3823f43fe04178237640d0f4540..8c109839efa4c220993b81cf507dba849b894f19 100644 (file)
@@ -40,6 +40,8 @@ CURL handle.
 The returned scheme might be upper or lowercase. Do comparisons case
 insensitively.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -61,6 +63,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 7758bde407de7738f6f57eb73912258cf8e38c37..9c9866496eac66daa1b7fbed31015c91af18fd24 100644 (file)
@@ -38,6 +38,8 @@ number.
 CURLINFO_SIZE_DOWNLOAD_T(3) is a newer replacement that returns a more
 sensible variable type.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -67,6 +69,8 @@ int main(void)
 
 Deprecated since 7.55.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 537f116ad06488d4633daba3cb8c50146214ef80..e886f2c113591e28ce0a9844ca72b6892ee3d55e 100644 (file)
@@ -35,6 +35,8 @@ were downloaded. The amount is only for the latest transfer and gets reset
 again for each new transfer. This counts actual payload data, what's also
 commonly called body. All meta and header data is excluded from this amount.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -60,6 +62,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 161b7ac9771a0f7e6dd933151df7fe95ca8eb0b9..1ecbddbea875f0cbc68197722591931f2d3c3f2b 100644 (file)
@@ -35,6 +35,8 @@ uploaded.
 CURLINFO_SIZE_UPLOAD_T(3) is a newer replacement that returns a more
 sensible variable type.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -63,6 +65,8 @@ int main(void)
 
 Deprecated since 7.55.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index e15953dad7bbe7c445c2d8815fa3b95aa7ca2054..06ee47dab842592ead7143728e7425af69e46c2d 100644 (file)
@@ -32,6 +32,8 @@ CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_SIZE_UPLOAD_T,
 Pass a pointer to a *curl_off_t* to receive the total amount of bytes that
 were uploaded.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -56,6 +58,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 25e2eae3e1794f5155e32380d594b6b6f878dd32..52e7cd0cb8e227e7c0da5e26159ca0dce0cdd7de 100644 (file)
@@ -35,6 +35,8 @@ measured for the complete download. Measured in bytes/second.
 CURLINFO_SPEED_DOWNLOAD_T(3) is a newer replacement that returns a more
 sensible variable type.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -63,6 +65,8 @@ int main(void)
 
 Deprecated since 7.55.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index ab897aaa95afffc20b6e031c3aaa9cc5ac9cdf90..a42356b36c4efb1182c1a4abd9c4ca16d130d1c4 100644 (file)
@@ -32,6 +32,8 @@ CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_SPEED_DOWNLOAD_T,
 Pass a pointer to a *curl_off_t* to receive the average download speed
 that curl measured for the complete download. Measured in bytes/second.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -57,6 +59,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index d207a6791bd190da9ccfb9de0e5fbf4979c1c75a..15d8cf23c7b0fbc99e07870fe784435b248bad4e 100644 (file)
@@ -33,6 +33,8 @@ measured for the complete upload. Measured in bytes/second.
 CURLINFO_SPEED_UPLOAD_T(3) is a newer replacement that returns a more
 sensible variable type.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -61,6 +63,8 @@ int main(void)
 
 Deprecated since 7.55.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 4c463bcf6af98c4c265462ade627bb37edf601b4..44694343353aa7a5623da2cc9c8aff19a301498d 100644 (file)
@@ -31,6 +31,8 @@ CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_SPEED_UPLOAD_T,
 Pass a pointer to a *curl_off_t* to receive the average upload speed that
 curl measured for the complete upload. Measured in bytes/second.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -55,6 +57,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 920f3639c7a89aa2e74cc33d3c3b41567651b693..553bd039b90e0fe5c1d47c1e85c7fb442013ffe8 100644 (file)
@@ -37,6 +37,8 @@ available at runtime. **NOTE:** you must call curl_slist_free_all(3)
 on the list pointer once you are done with it, as libcurl does not free this
 data for you.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -57,6 +59,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index b5d8a312223b69001c0b1c76cfda32fde0872b2a..69726b3520c1f8ee9b49db04cf4fcb3395131fa7 100644 (file)
@@ -37,6 +37,8 @@ option).
 
 0 is a positive result. Non-zero is an error.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -67,6 +69,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 4a8e4f7d77ee86934b7b431bfbc5d96f277a38da..0e64ba8bfd781affe2642b0089e535d73ef18903 100644 (file)
@@ -38,6 +38,8 @@ When a redirect is followed, the time from each request is added together.
 
 See also the TIMES overview in the curl_easy_getinfo(3) man page.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -61,6 +63,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 90588275fb33f59452ef74b598729639a823f47d..39894d6f7b7dc8ae4cbfb2c6fd427c6fb147e372 100644 (file)
@@ -39,6 +39,8 @@ When a redirect is followed, the time from each request is added together.
 
 See also the TIMES overview in the curl_easy_getinfo(3) man page.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -63,6 +65,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index b10aabcdf616cb00c6049cf78b7e7e8d26c29936..e990ec6ec83c835d87bbfafd4d1d22ae2d705347 100644 (file)
@@ -48,6 +48,8 @@ function *SSL_get_SSL_CTX(3)*. Therefore unless you need compatibility
 with older versions of libcurl use CURLINFO_TLS_SSL_PTR(3). Refer to
 that document for more information.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -71,6 +73,8 @@ int main(void)
 
 Deprecated since 7.48.0
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index aaf8c1b6cdc0c1945e6a8abc3d6dbd1b63c42f09..de8965a19fe0e601eb0972ec8c34b176f46e4535 100644 (file)
@@ -134,6 +134,8 @@ How are you using this option? Are you affected by any of these limitations?
 Please let us know by making a comment at
 https://github.com/curl/curl/issues/685
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -167,11 +169,13 @@ int main(int argc, char **argv)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 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.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index f5c75fbb39565453e3624a8ce127a10101deaf9f..f752a23de51d83abe41e9dfa3f0c952a55bb0977 100644 (file)
@@ -36,6 +36,8 @@ When a redirect is followed, the time from each request is added together.
 
 See also the TIMES overview in the curl_easy_getinfo(3) man page.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -59,6 +61,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 57cd64bb703119ecef374b5e4eb3f4fe56d65e86..0b0d16ab74c95785433b00db9c94e4462bf87614 100644 (file)
@@ -36,6 +36,8 @@ When a redirect is followed, the time from each request is added together.
 
 See also the TIMES overview in the curl_easy_getinfo(3) man page.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -60,6 +62,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 2b62a5ebf413f2f6d94fb2db30fd393cd4d74ef5..aeabb97afc70c714ac762da2f40817ecbf56dc05 100644 (file)
@@ -32,6 +32,8 @@ CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_USED_PROXY,
 Pass a pointer to a long. It gets set to zero set if no proxy was used in the
 previous transfer or a non-zero value if a proxy was used.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -59,6 +61,8 @@ int main(int argc, char *argv[])
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 1f150dd4a7ebbba18b056dc83dd9453fda7b2764..f875593217b2b1172b0858ee2434e54236d8da19 100644 (file)
@@ -36,6 +36,8 @@ The transfer id is unique among all transfers performed using the same
 connection cache. This is implicitly the case for all transfers in the
 same multi handle.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -60,6 +62,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index af97e6ac8ff2a87c77673c9326dfa632f234f143..ff232ed647db0168ff1d8a6533556be82c14d070 100644 (file)
@@ -38,7 +38,9 @@ than CURLMOPT_MAX_PIPELINE_LENGTH(3).
 
 # DEFAULT
 
-The default value is 0, which means that the penalization is inactive.
+0, which means that penalization is inactive.
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -51,6 +53,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not.
index 564311e16c2b5608b9e1158ffece5fbf8a1adf76..bbd90553e5c86f60a6344dcc2166cd1154194287 100644 (file)
@@ -37,7 +37,9 @@ CURLMOPT_MAX_PIPELINE_LENGTH(3).
 
 # DEFAULT
 
-The default value is 0, which means that the size penalization is inactive.
+0, which means that the size penalization is inactive.
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -50,6 +52,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not.
index ff71fc4851f98955a5f8877f6da6c91b6ec93da4..d4223f1265f1794bdd561990e86f85ebe442908a 100644 (file)
@@ -53,6 +53,8 @@ ones to get made.
 
 See DESCRIPTION
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -64,6 +66,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not.
index 4981d2caed499a09741c486f6ac82b0144b517ff..c628ca2bc2e5f67c479b41290a9b99aa7e279075 100644 (file)
@@ -38,6 +38,8 @@ value passed here would be honored based on other system resources properties.
 
 100
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -49,6 +51,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not.
index 16e1a4c708298c81d905cdb6f3e1cfc340172eca..39567f1e20b3c02e1e821c5d37f579331debfd92 100644 (file)
@@ -56,6 +56,8 @@ ones to get made.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -67,6 +69,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not.
index 574ceee2e1c4d769f6cc758289be21f04cb35c59..9da9994ab55698152a1e58e3efd25ebe201771c1 100644 (file)
@@ -43,6 +43,8 @@ CURLMOPT_MAX_PIPELINE_LENGTH(3).
 
 5
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -54,6 +56,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not.
index 53e3946dedd0a083d2743d80c73a11629e8ab5fb..1a7fe170fe77e95f68a653faaa3cdcec06b60574 100644 (file)
@@ -46,8 +46,10 @@ timeout is however treated as a per-connect timeout.
 
 # DEFAULT
 
-The default value is 0, which means that there is no limit. It is then simply
-controlled by the number of easy handles added.
+0, which means that there is no limit. It is then simply controlled by the
+number of easy handles added.
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -60,6 +62,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not.
index 7bbcadb71d72dd6be6b38b811b3364811dbb9fb8..caee088ddf0ed42d6e4e73b21e26779d0367d4a6 100644 (file)
@@ -51,9 +51,9 @@ existing connection if possible. This requires HTTP/2 or HTTP/3.
 
 # DEFAULT
 
-Since 7.62.0, **CURLPIPE_MULTIPLEX** is enabled by default.
+**CURLPIPE_MULTIPLEX**
 
-Before that, default was **CURLPIPE_NOTHING**.
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -66,11 +66,17 @@ int main(void)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 The multiplex support bit was added in 7.43.0. HTTP/1 Pipelining support was
 disabled in 7.62.0.
 
+Since 7.62.0, **CURLPIPE_MULTIPLEX** is enabled by default.
+
+Before that, default was **CURLPIPE_NOTHING**.
+
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not.
index d601df84c0e446056689db625d7536515c6ae0d5..b009de81cc3220898c54b12c78a8947d66f6b1a8 100644 (file)
@@ -42,7 +42,9 @@ Pass a NULL pointer to clear the block list.
 
 # DEFAULT
 
-The default value is NULL, which means that there is no block list.
+NULL, which means that there is no block list.
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -60,6 +62,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not.
index 612a8d9abbc594eb8e93acfb60d83b2658b5efd4..9e9e20ac18b20e5df8aeb1c5f88a908941331110 100644 (file)
@@ -37,7 +37,9 @@ Pass a NULL pointer to clear the block list.
 
 # DEFAULT
 
-The default value is NULL, which means that there is no block list.
+NULL, which means that there is no block list.
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -56,6 +58,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not.
index 97411b8e0fbaaa88ae871794fb5be97583a3631a..5499225dac1e4fe89f4544ac6ce356458992beff 100644 (file)
@@ -36,6 +36,8 @@ libcurl itself, only passed on to the callback function.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -77,6 +79,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not.
index 2157ccb703048aa5f572d407d6c1de5da7f98c63..d8f80038031472ebd1533a073aa41ee147af167e 100644 (file)
@@ -97,6 +97,8 @@ All other return codes are reserved for future use.
 
 NULL, no callback
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -138,6 +140,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not.
index a8e0c31aa00f41c4fadf9098c8d1359040014389..aade927a1699f59422d66c35cfc9c915cc912e77 100644 (file)
@@ -37,6 +37,8 @@ callback's **clientp** argument.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -72,6 +74,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLM_OK.
index 7c7c404796efd18ba06c910e08cee444bb76b69f..a53ee43d3077f561c7a5294d34089f6a3a3f48df 100644 (file)
@@ -90,6 +90,8 @@ active transfer. It might soon be added again.
 
 NULL (no callback)
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -125,6 +127,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLM_OK.
index 9d41271f621582a4d17d88ac7743b6a1d5f2ef48..4f0ce4e7397c0f1de08f3232abc1a19db6dbbda8 100644 (file)
@@ -36,6 +36,8 @@ callback's **clientp** argument.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -65,6 +67,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not.
index e4b6bed78a20d59796743b2300a474b07411597a..40ec76eb945ee8f62ca4e8d5982746a670601169 100644 (file)
@@ -64,6 +64,8 @@ callback with a zero timeout...
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -93,6 +95,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not.
index b7b8b0e811f35da5a24723463e425272fadfbd30..c2b3a3ca1f0f69b0a844560cf5e8d7105ae44d89 100644 (file)
@@ -43,7 +43,9 @@ share the same storage and therefore only one of them can be set per handle.
 
 # DEFAULT
 
-Default is NULL.
+NULL
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -61,6 +63,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 795758a1ab815acae16224e57c26b997bee77e74..90c1060e65f75916073f72441b469628351b6ffc 100644 (file)
@@ -34,6 +34,8 @@ server to connect back to libcurl when an active FTP connection is used.
 
 60000 milliseconds
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -51,6 +53,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 0350f733a8e10c4febeb33fb32751938f9fd4dd4..bd80d842ff5f66c740dd62231c69bdc16edad316 100644 (file)
@@ -72,10 +72,12 @@ 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
+# HISTORY
 
 This option was called CURLOPT_ENCODING before 7.21.6
 
+# NOTES
+
 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
@@ -85,6 +87,8 @@ responses.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -103,6 +107,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 8d628a81f0ba7059c3b7655c31403a47d4566630..e8ac90c0e536106f70207f224022d8ae78986f44 100644 (file)
@@ -32,6 +32,8 @@ Pass a long specifying the scope id value to use when connecting to IPv6 address
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -52,6 +54,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 0748eb70035fad9ac6aa03623fd29f872ecb2578..43c52a47e605d137f28549bb735776a23201cd9a 100644 (file)
@@ -39,6 +39,8 @@ Specify a blank filename ("") to make libcurl not load from a file at all.
 
 NULL. The alt-svc cache is not read nor written to file.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -101,6 +103,8 @@ Boolean (1 or 0) if "persist" was set for this entry
 
 Integer priority value (not currently used)
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 155e87ae333b3aa0d1f69c4a563fdddb1c5d78c3..22558544338e66257a5637f3bcefbb4ab01f2d93 100644 (file)
@@ -44,6 +44,11 @@ Alternative services are only used when setting up new connections. If there
 exists an existing connection to the host in the connection pool, then that is
 preferred.
 
+If CURLOPT_ALTSVC(3) is set, CURLOPT_ALTSVC_CTRL(3) gets a default value
+corresponding to CURLALTSVC_H1 | CURLALTSVC_H2 | CURLALTSVC_H3 - the HTTP/2
+and HTTP/3 bits are only set if libcurl was built with support for those
+versions.
+
 Setting any bit enables the alt-svc engine.
 
 ## CURLALTSVC_READONLYFILE
@@ -68,10 +73,9 @@ was also built to actually support HTTP/3, otherwise this bit is ignored.
 
 # DEFAULT
 
-Alt-Svc handling is disabled by default. If CURLOPT_ALTSVC(3) is set,
-CURLOPT_ALTSVC_CTRL(3) has a default value corresponding to
-CURLALTSVC_H1 | CURLALTSVC_H2 | CURLALTSVC_H3 - the HTTP/2 and HTTP/3 bits are
-only set if libcurl was built with support for those versions.
+0 - Alt-Svc handling is disabled
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -87,6 +91,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index b619cb3b7a3ef5bc63d0660ceb88215d35b8d85e..857f88012f92022ac4924b996facc1c33cde423c 100644 (file)
@@ -34,6 +34,8 @@ instead of overwrite it. This is only useful when uploading to an FTP site.
 
 0 (disabled)
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -55,6 +57,8 @@ int main(void)
 
 This option was known as CURLOPT_FTPAPPEND up to 7.16.4
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index ed77d2d698ac2b9285988f39f909fe35e2872b91..5106d84c89da135e3ce3e8d5032af613cf14cefd 100644 (file)
@@ -44,6 +44,8 @@ referer header after the transfer.
 
 0, disabled
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -67,6 +69,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not.
index eb2e6339cd080a00811516a5f8ba9f2deb6ff575..2e61e897c9473b4d50bb243fcf4b16de599cffe0 100644 (file)
@@ -65,11 +65,14 @@ for "date", **"test4_request"** for "request type",
 If you use just "test", instead of "test:try", test is used for every
 generated string.
 
+Setting CURLOPT_HTTPAUTH(3) with the CURLAUTH_AWS_SIGV4 bit set is the same as
+setting this option with a **"aws:amz"** parameter.
+
 # DEFAULT
 
-By default, the value of this parameter is NULL.
-Calling CURLOPT_HTTPAUTH(3) with CURLAUTH_AWS_SIGV4 is the same
-as calling this with **"aws:amz"** in parameter.
+NULL
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -110,6 +113,8 @@ 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".
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index eb464c706e94f8d016f39587bf95f24f09ce9ac8..5225dedf3bf13377871372a2da6e220ab8d3e3e7 100644 (file)
@@ -54,6 +54,8 @@ allocated as long as there are active transfers.
 
 CURL_MAX_WRITE_SIZE (16kB)
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -74,6 +76,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index a2e61b28b7aaa2f342cd24f38c4296927a1e056f..2eeedd508cabdcb1f0f3dc50945cd99dd4b508d7 100644 (file)
@@ -61,6 +61,8 @@ The default value for this can be figured out with CURLINFO_CAINFO(3).
 Built-in system specific. When curl is built with Secure Transport or
 Schannel, this option is not set by default.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -76,10 +78,12 @@ int main(void)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 Schannel support added in libcurl 7.60.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 546038743342291126e411ac2795ba35861ee9f4..efb0717371c1920b4141d4cc0f21edf9708fb6dd 100644 (file)
@@ -54,6 +54,8 @@ This option overrides CURLOPT_CAINFO(3).
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -77,12 +79,14 @@ int main(void)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 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
 Transport and Schannel backends.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 1d90da618bd821a5a79e5cb454550fcddb0d2c19..3094bf8b5477faaf78373fe08be96db6755e0301 100644 (file)
@@ -49,7 +49,9 @@ The default value for this can be figured out with CURLINFO_CAPATH(3).
 
 # DEFAULT
 
-A default path detected at build time.
+A path detected at build time.
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -67,6 +69,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLE_OK if supported; or an error such as:
index ad9ea708c4c56c8c20cb66befd3c80737ec529c1..725efc365407577fd15cae7ae0bcbc45de829ffb 100644 (file)
@@ -51,6 +51,8 @@ hours.
 
 86400 (24 hours)
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -75,11 +77,13 @@ int main(void)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 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).
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index ddac84059beb398167aa6cdf0ad455ace8db8c57..abceeb46d3a1505415df183f951e84b6a6c50706 100644 (file)
@@ -44,6 +44,8 @@ its option CURLINFO_CERTINFO(3).
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -83,11 +85,13 @@ int main(void)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 Schannel support added in 7.50.0. Secure Transport support added in 7.79.0.
 mbedTLS support added in 8.9.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index f587791156e1a07b63f42f807b9ffff0f42b2e0d..5882a9e25cdae68fddc5e7845fd9af9b92285371 100644 (file)
@@ -84,6 +84,8 @@ Return *CURL_CHUNK_BGN_FUNC_OK* if everything is fine,
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -142,6 +144,8 @@ int main()
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index ffb4dbfa4e2d50cc5fcae0bd47f5e954c069f2bd..5a7ebd6a3abe47ff4fa586a928d18d751a4676b7 100644 (file)
@@ -34,6 +34,8 @@ CURLOPT_CHUNK_END_FUNCTION(3).
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -92,6 +94,8 @@ int main()
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index c2d50e94b0aefccad1f70aa14c2857943dcacfcd..30a2efb12b2b89cd06192debc617d16c52405228 100644 (file)
@@ -42,6 +42,8 @@ Return *CURL_CHUNK_END_FUNC_OK* if everything is fine or
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -72,6 +74,8 @@ int main()
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 2a608f8b122fce1a0cd069571deecdd03b4910a4..deea601cf735fc4e9a0cc9229e4a7cd3d6aaf93c 100644 (file)
@@ -33,7 +33,9 @@ CURLOPT_CLOSESOCKETFUNCTION(3).
 
 # DEFAULT
 
-The default value of this parameter is NULL.
+NULL
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -65,6 +67,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index b87e1a8d9d80dcec43e1080578e2a5d14c7523c7..060df3a0510cebce855f2020527f67b7ce45a800 100644 (file)
@@ -44,7 +44,9 @@ closed.
 
 # DEFAULT
 
-By default libcurl uses the standard socket close function.
+Use the standard socket close function.
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -76,6 +78,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 899da3cc28b06473b7db9dc063d720e2e9343159..0106be8bdc6c228e34fa8cfd4baf04444dfbe3d8 100644 (file)
@@ -60,6 +60,8 @@ signals to be used unless CURLOPT_NOSIGNAL(3) is set.
 
 300
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -77,6 +79,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK. Returns CURLE_BAD_FUNCTION_ARGUMENT if set to a negative
index 21e91d4dd9d741fd6672f458938ff67fdddfdd61..0baad3e61f11b21e6d9288995a3c664da6036149 100644 (file)
@@ -61,6 +61,8 @@ signals to be used unless CURLOPT_NOSIGNAL(3) is set.
 
 300000
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -78,6 +80,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 133909507171fef7fd3370e675a55e4646e68d45..f5a87f00a2c87104ed35a224874fa151c82e952e 100644 (file)
@@ -55,6 +55,8 @@ curl_easy_recv(3) do not function.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -73,10 +75,12 @@ int main(void)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 WS and WSS support added in 7.86.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 4a39c9e484251e156e6ec90e19e5717c1dc9c05b..933e3b6a32dbf103704b74b89615c3ddbc25e98d 100644 (file)
@@ -80,6 +80,8 @@ a transfer before you call curl_slist_free_all(3) on the list.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -104,6 +106,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 37f1b3d83f05c0acbb46fc5ebf815533ca795f05..6d233ef3a75dd15011ceb6eadccb8b1b18391ecd 100644 (file)
@@ -73,6 +73,8 @@ You need to override these definitions if they are different on your system.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -108,6 +110,8 @@ Not available and deprecated since 7.82.0.
 Available only if **CURL_DOES_CONVERSIONS** was defined when libcurl was
 built.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 4fe1bc61d13c4e43da016134808d1d70321df73b..9ea257f2bc12784e4e5c72b7c8a37b169c93c7d7 100644 (file)
@@ -70,6 +70,8 @@ You need to override these definitions if they are different on your system.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -101,6 +103,8 @@ Not available and deprecated since 7.82.0.
 Available only if **CURL_DOES_CONVERSIONS** was defined when libcurl was
 built.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 34089c09e8ea898fd2b97efa15ee35b51b816a96..8644885ce1c748c932fddc24bd4c789b787390f5 100644 (file)
@@ -72,6 +72,8 @@ You need to override these definitions if they are different on your system.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -104,6 +106,8 @@ Not available and deprecated since 7.82.0.
 Available only if **CURL_DOES_CONVERSIONS** was defined when libcurl was
 built.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 4cdfaa07f882232c8b44476af023e4bb91a57ea6..12d9470207ad44b4a7d1d8fde1061ca5e2b60c87 100644 (file)
@@ -70,6 +70,8 @@ ability to stop super cookies. PSL support is identified by the
 
 NULL, no cookies
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -86,6 +88,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if HTTP is enabled, CURLE_UNKNOWN_OPTION if not, or
index 4ce91b6d7172cf0de6b3c4fbd8992ae6356a074a..09c75d014770ce8a020e6fb5096740fcfdc19c5e 100644 (file)
@@ -68,6 +68,8 @@ run.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -93,6 +95,8 @@ 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%
+
 # RETURN VALUE
 
 Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not.
index d364a8e3bb8555754b3cc528b6425c615fb81304..8fa3680aa219aef8ce73d5b3f29742a1df4771b2 100644 (file)
@@ -54,6 +54,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -75,6 +77,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if HTTP is supported, CURLE_UNKNOWN_OPTION if not, or
index 1f1c105990880c1778a8c245c95622db4c181157..d7a6c0b12965eecba041849a98d7eec45969f4d7 100644 (file)
@@ -70,6 +70,8 @@ loads all cookies from the files specified by CURLOPT_COOKIEFILE(3)
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -119,7 +121,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
 
-# NOTES
+# HISTORY
 
 **ALL** was added in 7.14.1
 
@@ -129,6 +131,8 @@ online here: https://curl.se/docs/http-cookies.html
 
 **RELOAD** was added in 7.39.0
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 14f16d431a0559c26524d21a0d97ac684b429dec..19b9a301d27962fe64ac566bb017fd50ef4b1a6d 100644 (file)
@@ -42,6 +42,8 @@ the same session.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -65,6 +67,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 7104c157f4f429c7cae7e7994290f14c3fbdf88e..6650008a6ff29aaca50d859d15ed84068397b2c6 100644 (file)
@@ -46,6 +46,8 @@ CURLOPT_COPYPOSTFIELDS(3) option is issued.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -67,6 +69,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 364a43a2d5690650e68385c3ed2b116ff9f37bbb..8c0c9a592550b1335b41af8d89c9c76e996efe76 100644 (file)
@@ -36,6 +36,8 @@ This is a legacy option of questionable use.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -52,6 +54,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 54fa7d821d0d1fd097fd3bb5dc1ee973f95042da..1a6b211099dcf087ac52f8fc880ca2c5c046324e 100644 (file)
@@ -59,6 +59,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -75,6 +77,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 4c012e4d77abb25fd5d6a3ff47c28d54923cc358..f9a3020b3ed874f8bd7cf8edac5faa18971e46e8 100644 (file)
@@ -45,7 +45,9 @@ updated contents is used.
 
 # DEFAULT
 
-The default value of this parameter is NULL.
+NULL
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -69,6 +71,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index ef645d0dc830929fe260e8c9f8ac7337131b6e9e..39da7ca00f8a9e7c86e77cc47af2c200429c8b4c 100644 (file)
@@ -100,6 +100,8 @@ issue **NOOP** and **RSET** commands.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -120,6 +122,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index fe60c340ad8ccca4881d5869b48111ec101ddd6b..3df122d6af1d908dfe48da7a0cdbc9e02094d06a 100644 (file)
@@ -34,6 +34,8 @@ not used by libcurl, it is only passed to the callback.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -76,6 +78,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 08ca537f4496946badf8b1458f8782e4a75ace8a..4887f6272aedaf696169a0a57cbe85256cb53c31 100644 (file)
@@ -104,6 +104,8 @@ CURLOPT_PRIVATE(3) on your handle.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -208,6 +210,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 27e2ef2be3586ab1033ef98154098a8a09a0a272..3787ff9512e70e5b2d44ad776413bbc3d2a439d7 100644 (file)
@@ -56,6 +56,8 @@ option.
 
 NULL (make a guess based on the host)
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -75,6 +77,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLE_OK if the option is supported.
index e9da198c93d2593cc0bbe39cc60138593aa1c67a..1c5ee14c76680d827926c4d712f6eaa4b6d57c54 100644 (file)
@@ -54,6 +54,8 @@ effectively breaks that feature.
 
 0, disabled
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -79,6 +81,8 @@ int main(void)
 This option was known as CURLOPT_FTPLISTONLY up to 7.16.4. POP3 is supported
 since 7.21.5.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index a73d352ed4576f4ddcbd21fa4e0ba880647cfc4e..66a5948bbba91de918946080382054d9d105c923 100644 (file)
@@ -37,7 +37,9 @@ curl_url_set(3) function.
 
 # DEFAULT
 
-0 (disabled) - usernames are allowed by default.
+0 (disabled)
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -55,6 +57,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 6da1d0851a8917af4dfe42b0153f484ec74ee5c3..6ae904d65d957e1789263cd5b32b5ba8a0bd0276 100644 (file)
@@ -55,6 +55,8 @@ Since version 8.1.0, libcurl prunes entries from the DNS cache if it exceeds
 
 60
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -79,6 +81,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index c388e6fe511bb54e17efa4826fc0d10699dd2aa1..0d7f435ed38128d37b0a5a92386e956100464f39 100644 (file)
@@ -40,6 +40,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -61,6 +63,8 @@ int main(void)
 This option requires that libcurl was built with a resolver backend that
 supports this operation. The c-ares backend is the only such one.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not,
index 6c1ac973bce1f615184a38f3b77ecb16c8aff517..cf3aae80e492ed5eabd46d18beec44224b209510 100644 (file)
@@ -39,6 +39,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -60,6 +62,8 @@ int main(void)
 This option requires that libcurl was built with a resolver backend that
 supports this operation. The c-ares backend is the only such one.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not,
index 94570bfde60fb22e6941605a7ffc35922ed77d68..4750367de1edd436f016f0d5b20dea5255ca4bd8 100644 (file)
@@ -39,6 +39,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -60,6 +62,8 @@ int main(void)
 This option requires that libcurl was built with a resolver backend that
 supports this operation. The c-ares backend is the only such one.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not,
index fb8d7250bc1bdb6134950eff3906bf8f3f9884d4..f345e3265ca94971a306d7711ffa93d66019e675 100644 (file)
@@ -41,7 +41,9 @@ option.
 
 # DEFAULT
 
-NULL - use system default
+NULL
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -65,6 +67,8 @@ int main(void)
 This option requires that libcurl was built with a resolver backend that
 supports this operation. The c-ares backend is the only such one.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not,
index 62cc4f71ad61be964fb4947ddaba4d8c9c0159a5..2074fff87c770eb43ad1dbd5de29f453961f6082 100644 (file)
@@ -47,6 +47,8 @@ performance impacts and may cause IPv4 to be used before IPv6 or vice versa.
 
 0 (disabled)
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -65,6 +67,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLE_OK or an error such as CURLE_UNKNOWN_OPTION.
index 505204b92b1ff70e9191b066ab375efa4c457976..f236c3885a965a5117ee9a9e4644c18b05547f61 100644 (file)
@@ -40,6 +40,8 @@ cache between transfers.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -62,6 +64,8 @@ int main(void)
 
 Deprecated since 7.11.1. Functionality removed in 7.62.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 2312346a5935673f8d283b54bf80c23db41949b9..bcde0e1065ff0d9cb2d9c9e46f3ccd5a3ebc14bb 100644 (file)
@@ -60,6 +60,8 @@ of the DoH server certificate.
 
 2
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -80,6 +82,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 098c1d615e1828c1fe2e38cd9fb84c37b6bec4c5..e8674e06fa4af4484d358c75019547cec69f3019 100644 (file)
@@ -72,6 +72,8 @@ the correct end-point.
 
 1
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -92,6 +94,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 76dc5526dcdb74c052cdd626a375b86ef9a0f5bf..fb861ae74cce37de2da399a781e67d4241084752 100644 (file)
@@ -47,6 +47,8 @@ the verification fails.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -67,6 +69,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if OCSP stapling is supported by the SSL backend, otherwise
index 1422dbf41d71618b53994e636bd62ea2012ca0ea..bd4372fb0a6ec65f82b869f8acc94c27af15d315 100644 (file)
@@ -64,8 +64,9 @@ CURLOPT_FTPPORT(3), a proxy type set to **CURLPROXY_SOCKS4** or
 
 # DEFAULT
 
-NULL - there is no default DoH URL. If this option is not set, libcurl uses
-the default name resolver.
+NULL
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -81,6 +82,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK on success or CURLE_OUT_OF_MEMORY if there was insufficient
index d04328e6026b6137cafa3371809015fad405c042..7acaaec030a7cc482d0b86026660b3e273d47e45 100644 (file)
@@ -74,6 +74,8 @@ ECHConfigList that is used for ECH.
 
 NULL, meaning ECH is disabled.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -85,6 +87,8 @@ if(curl) {
   curl_easy_perform(curl);
 }
 ~~~
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK on success or CURLE_OUT_OF_MEMORY if there was insufficient
index c77baaae033f60604f4c53e04073334aa3ec7d78..05fb76ed0fb04f04d7b5f6347615ec7d55a4f5d9 100644 (file)
@@ -37,6 +37,8 @@ NULL
 
 This option was deprecated in 7.84.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK.
index e20ae29e0d039ad697eadb5aba5baffae174f277..4b8366840f9c6acb5c6ef45f61b0f33402d8c8bd 100644 (file)
@@ -52,6 +52,8 @@ debug and trace why errors happen.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -91,6 +93,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 608606338d1e27d9cd3e888ae6f0720fc6a172e1..45997dcc1957fd77b52e37f2bb0570134fec6a0e 100644 (file)
@@ -37,6 +37,8 @@ sent anyway.
 
 1000 milliseconds
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -54,6 +56,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 039c093ce75c27a1f7bc99746a1d5574f161e176..d865b637cc510f93ee183752c6b5f9cb5de0703a 100644 (file)
@@ -46,6 +46,8 @@ get closed and *CURLE_HTTP_RETURNED_ERROR* is returned.
 
 0, do not fail on error
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -64,6 +66,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if HTTP is enabled, and CURLE_UNKNOWN_OPTION if not.
index e319150ce38436a891d961fb3a5292526c66dd95..bca79ab90b2f47dd2e85dd2c98e8e50511d66b9b 100644 (file)
@@ -40,6 +40,8 @@ transfer to extract the received time (if any).
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -66,6 +68,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 3e194cd03d57151fdd4b3da353af7b5adcb183f8..866333f143d68c8d810a73b14a7e3a48730b63e2 100644 (file)
@@ -34,6 +34,8 @@ the CURLOPT_FNMATCH_FUNCTION(3).
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -70,6 +72,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 889a7ae2b86dc80baecf5887f3d106a84ca068a4..f9ff1d3b20dcabf2655903e68ca6192b38a299c8 100644 (file)
@@ -45,6 +45,8 @@ error occurred.
 
 NULL == an internal function for wildcard matching.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -78,6 +80,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index b3f2c25d3bf88bbbb863ece490778e34efdc7dc4..bfbb3b545d51fcd6bdd1e4d252692e7145cb1daa 100644 (file)
@@ -66,6 +66,8 @@ would otherwise select internally.
 
 0, disabled
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -83,6 +85,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not.
index 11c5df4a8a1249e655547d7794e08bd5ca200f4d..2f452ff593ad7852aaa9e9d8a9f8dfe9b09faa51 100644 (file)
@@ -40,6 +40,8 @@ Set to 0 to have libcurl keep the connection open for possible later reuse
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -59,6 +61,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 18d1503acac6a5dc1b38b12cf9ad7187352a5f1a..f64c6adc75b9cd2ba904735de83dd0235e43ee94 100644 (file)
@@ -42,6 +42,8 @@ Set *fresh* to 0 to have libcurl attempt reusing an existing connection
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -58,6 +60,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index bae318b58f6d8ede979be4eacbfb3daf4e6ea8de..d2f3eae7d3fb8d5266a4a78da6928329fe8aed5c 100644 (file)
@@ -71,6 +71,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -88,6 +90,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 442fa819ddefdf81f8bf1a556d7df8c65a33df29..5e1300dd69ddb64d0554c74787841c027fc8ea04 100644 (file)
@@ -48,6 +48,8 @@ Try "AUTH TLS" first, and only if that fails try "AUTH SSL".
 
 CURLFTPAUTH_DEFAULT
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -66,6 +68,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index e48a9f38e712997cacc197fcebb9bd18825d2542..da6835cc74542529d02948a8a115fe3d98a11183 100644 (file)
@@ -37,6 +37,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -56,6 +58,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index e09db3abd7b955cdacd9f6c7dab2ffc092c779a8..54fd80b6e8a976785193eb093c3e0819ebc2e34c 100644 (file)
@@ -42,6 +42,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -59,6 +61,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index ec01f9ca1b6fdb2dd241aacfc9ca169a87f7f697..7601278e465b2c960fbb0283c17c132405f90fd8 100644 (file)
@@ -56,6 +56,8 @@ but then another connection does **MKD** before this connection and thus
 
 CURLFTP_CREATE_DIR_NONE (0)
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -76,6 +78,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if the
index 055cf65ca9c375cc1ec0158239ab5e72da3eb13f..342f72f7c9d83905b32e3a0018d5fcf225f440cf 100644 (file)
@@ -57,6 +57,8 @@ compliant than 'nocwd' but without the full penalty of 'multicwd'.
 
 CURLFTPMETHOD_MULTICWD
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -76,6 +78,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 4053ac1b2953ff12d3e83a49c120cbe962761b5c..65f88192a67a4583ac7b4d6fae1d8ceb0adea917 100644 (file)
@@ -43,6 +43,8 @@ This option has no effect if PORT, EPRT or EPSV is used instead of PASV.
 
 1 since 7.74.0, was 0 before then.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -62,6 +64,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 60667d7198d131c5a29a541a47939730e8a34913..ccccc8c21afaa296ce4a5c38ee605b89ba443839 100644 (file)
@@ -50,6 +50,8 @@ Initiate the shutdown and wait for a reply.
 
 CURLFTPSSL_CCC_NONE
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -68,6 +70,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 88e90c73fdf63774cca832dd77c6e41d52deb90c..c651fe9494b6daa48647eb4c292f9e2065eb7445 100644 (file)
@@ -42,6 +42,8 @@ then.
 
 # DEFAULT
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -65,6 +67,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 73ca80c78f651a880d8e860f68495f279834ef70..8b8051fd8a7a40a627c72522bcfacc7f4eedd382 100644 (file)
@@ -42,6 +42,8 @@ If the server is an IPv6 host, this option has no effect.
 
 1
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -63,6 +65,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if FTP is supported, and CURLE_UNKNOWN_OPTION if not.
index db5725e60c1506a00b25959288c028e78b7af767..1e078581f6b0dc139929a5410954da10095ca320 100644 (file)
@@ -35,6 +35,8 @@ no effect when using the active FTP transfers mode.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -56,6 +58,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index a1b3cc1cd0263e05ebb58a7c6732d27c163f45c7..e60b503b7704e888f1d9b2839efcb0c0e9719dd3 100644 (file)
@@ -38,6 +38,8 @@ available at compile-time.
 
 CURLGSSAPI_DELEGATION_NONE
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -55,6 +57,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index eeaa9da3b7d62e98cb050615db6dcf312d45bb49..f13abddbd0370f2d459269ba5229f2034ebff1f4 100644 (file)
@@ -43,6 +43,8 @@ currently defaults to 200 ms. Firefox and Chrome currently default to 300 ms.
 
 CURL_HET_DEFAULT (currently defined as 200L)
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -61,6 +63,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index c1cebef92cb0f28bf99a8a48c569b12a9631008d..99e7fce584f7ba32f0c19420a4db6422aa7b2c4c 100644 (file)
@@ -39,6 +39,8 @@ Most applications do not need this option.
 
 0, do not send any HAProxy PROXY protocol header
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -54,6 +56,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if HTTP is enabled, and CURLE_UNKNOWN_OPTION if not.
index 736c4e49207d09b566839167ab733d4fccd2d573..64e0085fd09da0feca21821f766efea2b85063e2 100644 (file)
@@ -38,6 +38,8 @@ cannot use a specified address.
 
 NULL, no HAProxy header is sent
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -53,6 +55,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if HTTP is enabled, and CURLE_UNKNOWN_OPTION if not.
index 93c6163d4bdb03adb2376f86a71d17aed89f05a9..348f4d99a00ede287cbfae2ceae8ff6208bed6e8 100644 (file)
@@ -54,6 +54,8 @@ custom HTTP headers!
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -70,6 +72,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK.
index d0c2ca6d076433a7068ae54134313c35fb490312..865cbb74d9d54117bf387278927bd8b3c3bbad36 100644 (file)
@@ -44,6 +44,8 @@ this option or you might experience crashes.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -79,6 +81,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 8097277c50fc31fa4d81365e894c2d6d5a7b93e0..688f1f3baffbd9f5cdf22b0b7c1be6c4a7b3c0dd 100644 (file)
@@ -101,6 +101,8 @@ although strictly they are just continuations of the previous lines.
 
 Nothing.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -125,6 +127,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 428b313faa7db6cb4f7b56b25d0b16bbaced618d..bf2a6f6bc0f47e2960d1390371657a9fd5937c43 100644 (file)
@@ -45,6 +45,8 @@ proxy and then CURLOPT_HTTPHEADER(3) headers only to the server.
 
 CURLHEADER_SEPARATE (changed in 7.42.1, used CURLHEADER_UNIFIED before then)
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -71,6 +73,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index b1097c293f401352a49a9b98ade997f47b35cdef..b838c9e956da4935c897549f39e4363a4ea56730 100644 (file)
@@ -60,6 +60,8 @@ currently no length or size limit.
 
 NULL, no filename
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -73,6 +75,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 41b83641bf9600464242c7bde3d6c0f9ab92590f..eda180e302b7e212688551d23665f5a4d17c23be 100644 (file)
@@ -39,6 +39,8 @@ do that.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -62,6 +64,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 This returns CURLE_OK.
index 1a636d3d420a0f1a9dcf04aab6fc978de9e66f1e..5d03607fa17a3d04468b91e65908d46f9fdb81b0 100644 (file)
@@ -64,6 +64,8 @@ do that.
 
 NULL - no callback.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -96,6 +98,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 This returns CURLE_OK.
index 18fb59ca46b228fc9ac10b55894ef7e84da903e1..6be5582dbebbce492917257c086398ff695a59f2 100644 (file)
@@ -39,6 +39,8 @@ do that.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -62,6 +64,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 This returns CURLE_OK.
index 1dcbd568fa286aa1e90ce6b6e47010e4043ceca6..621268ea52c90db60e7ea441ae93d89659f802db 100644 (file)
@@ -68,6 +68,8 @@ do that.
 
 NULL - no callback.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -100,6 +102,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 This returns CURLE_OK.
index 1d288710f0b88865e09b676a23c3726d50acefaa..8dee6086768d901243e6d7042b2dc07c657fb944 100644 (file)
@@ -53,7 +53,9 @@ to the file when closing the handle.
 
 # DEFAULT
 
-0. HSTS is disabled by default.
+0
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -68,6 +70,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 163d32fcda88355c761ad67c7886e351b30ce3b4..28fbe0a9137855f6fcc75b00f0954697c31a9f2d 100644 (file)
@@ -34,10 +34,9 @@ that curl might consider to be HTTP/0.9!
 
 # DEFAULT
 
-curl allowed HTTP/0.9 responses by default before 7.66.0
+0
 
-Since 7.66.0, libcurl requires this option set to 1L to allow HTTP/0.9
-responses.
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -54,6 +53,15 @@ int main(void)
 }
 ~~~
 
+# HISTORY
+
+curl allowed HTTP/0.9 responses by default before 7.66.0
+
+Since 7.66.0, libcurl requires this option set to 1L to allow HTTP/0.9
+responses.
+
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not.
index a4c261023377af1fb8842e7671f3a6a5a3ce073c..59cdfeef66998a931b6c40ee54082822efae6643 100644 (file)
@@ -45,6 +45,8 @@ assumed to match HTTP 1.0 when an alias match.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -65,6 +67,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not.
index 8ae2f86ade49cce4443e8da6685afff9116afea6..e436e078ca7767332f42414be595b8d1d50e3e7b 100644 (file)
@@ -126,6 +126,8 @@ see CURLOPT_AWS_SIGV4(3).
 
 CURLAUTH_BASIC
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -143,7 +145,7 @@ int main(void)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 CURLAUTH_DIGEST_IE was added in 7.19.3
 
@@ -155,6 +157,8 @@ CURLAUTH_BEARER was added in 7.61.0
 
 CURLAUTH_AWS_SIGV4 was added in 7.74.0
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index ccc9debc06fe386be688caeee2b22548e93f50f6..109fe9ce45c8ec4f719834ce1deb846b9e26c2c5 100644 (file)
@@ -43,6 +43,8 @@ reset a handle to default method, consider curl_easy_reset(3).
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -61,6 +63,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not.
index 37fb75fe13b8ec93d649966404c097cb343c162d..35a67a12a854982c0a67a82cae304964bfa4f8ab 100644 (file)
@@ -151,6 +151,8 @@ with the CURLOPT_UNRESTRICTED_AUTH(3) option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -175,10 +177,12 @@ int main(void)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 Use for MIME mail added in 7.56.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not.
index fdd94000c4cb4623709d2779d3682fc4c7878f15..e9381c376c236ace96ec4cef781515a556df55f4 100644 (file)
@@ -50,6 +50,8 @@ CURLOPT_NOBODY(3) to 0.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -94,6 +96,8 @@ int main(void)
 
 Deprecated in 7.56.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if HTTP is enabled, and CURLE_UNKNOWN_OPTION if not.
index 2663296d36a3cf350ddde476b1119aa210d53517..60b4e6a804747c517c07fc376162c515a22a3104 100644 (file)
@@ -50,6 +50,8 @@ rarely works through the proxy anyway).
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -65,6 +67,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 7da7bc0e86085204786a2b4ba835db9a7f5ea30d..3c3e381ac85c63d838a5c657f2b53e68fe5029b9 100644 (file)
@@ -37,6 +37,8 @@ CURLOPT_ACCEPT_ENCODING(3) for that.
 
 1
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -52,6 +54,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index ebfa8fe7e92dfbcd9198e6ab9175c8d604a119cc..52cee575b076289d5337957c50f697fce4911df4 100644 (file)
@@ -40,6 +40,8 @@ decoding enabled.
 
 1
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -55,6 +57,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 546e7f6aa4d6a4c207dee87c306a9f20cece06e2..0a9215d8acda016b2066494ec1f9ec6aee896542 100644 (file)
@@ -90,6 +90,8 @@ Since curl 7.62.0: CURL_HTTP_VERSION_2TLS
 
 Before that: CURL_HTTP_VERSION_1_1
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -109,6 +111,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not.
index 03bf5615c1ca16f835dec8d97a9a8ce3404ac4ef..4b8228b40e12aeaba1c15a771d84df8a0f311b8c 100644 (file)
@@ -46,6 +46,8 @@ Only use this option if strictly necessary.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -63,10 +65,16 @@ int main(void)
 }
 ~~~
 
+# HISTORY
+
+Support for FTP added in 7.46.0.
+
 # NOTES
 
-Support for FTP added in 7.46.0. This option is not working for HTTP when
-libcurl is built to use the hyper backend.
+This option is not working for HTTP when libcurl is built to use the hyper
+backend.
+
+# %AVAILABILITY%
 
 # RETURN VALUE
 
index 473aea5fcc02f33703f8e661e57cd95efe884ba0..8c9ab624343f0bf0ea2bc603117074abb3d5e9a8 100644 (file)
@@ -51,6 +51,8 @@ and sending a different amount may lead to errors.
 
 Unset
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -75,10 +77,12 @@ int main(void)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 SMTP support added in 7.23.0
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 3829c8745987961f40d49ff5730924af37fb6eb3..2fb736484d61007c51e69d3f422b33bc97c5282a 100644 (file)
@@ -48,6 +48,8 @@ and sending a different amount may lead to errors.
 
 Unset
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -71,10 +73,12 @@ int main(void)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 SMTP support added in 7.23.0
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 364e813af4e437e3d87acb97f274d4c1527ddb21..f1ca875fc9035d69edc8df986b511abe53f37e89 100644 (file)
@@ -55,6 +55,8 @@ option.
 
 NULL, use whatever the TCP stack finds suitable
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -74,12 +76,14 @@ int main(void)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 The `if!` and `host!` syntax was added in 7.24.0.
 
 The `ifhost!` syntax was added in 8.9.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK on success or
index d465ff0b09081e8334b16f6f6e7929591fb614e1..15f1c83327cd9c9397bda841ff0bc61294c756a7 100644 (file)
@@ -35,6 +35,8 @@ anywhere.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -62,6 +64,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 1e9e69a9293465c60545c635384fa80e68d79c31..6f975422977beef40444ad5270cfcb11e56bd08b 100644 (file)
@@ -66,6 +66,8 @@ You can also abort the transfer by returning CURL_WRITEFUNC_ERROR. (7.87.0)
 NULL, the interleave data is then passed to the regular write function:
 CURLOPT_WRITEFUNCTION(3).
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -92,6 +94,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index dfe120d4fbccc8fb2a16904b107b9b16b89f6753..b9cd9a5090d43243d9b3915cc5b3a33620ee1f75 100644 (file)
@@ -31,7 +31,9 @@ argument in the ioctl callback set with CURLOPT_IOCTLFUNCTION(3).
 
 # DEFAULT
 
-By default, the value of this parameter is NULL.
+NULL
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -66,6 +68,8 @@ int main(void)
 
 Deprecated since 7.18.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 9bb4a3bba609c1c91f34a51d1d4d5d1c21596e80..b26a542f7a8f75353e6315d744d5b6e60a15b551 100644 (file)
@@ -62,7 +62,9 @@ parameter is ignored when seeking.
 
 # DEFAULT
 
-By default, this parameter is set to NULL. Not used.
+NULL
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -97,6 +99,8 @@ int main(void)
 
 Deprecated since 7.18.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 0db278bb69d384aef9dfece4d2638458b07c9939..1b4369d22463968c7f5924de7518cf3167a8f4d4 100644 (file)
@@ -53,6 +53,8 @@ Uses only IPv6 addresses.
 
 CURL_IPRESOLVE_WHATEVER
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -73,6 +75,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 51db3e62e269b1874e8fc02d4de877a3bd4bc591..fa726b0cf00f6521b4b7f0758b857ac737591127 100644 (file)
@@ -53,6 +53,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -69,6 +71,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index f81e81a1ef2ca25100b528bd368f297d92a7f40f..77f0d87bf4c3a4e7c0d58f48ca3e9ddd63f1be6c 100644 (file)
@@ -59,6 +59,8 @@ expects a filename as input.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -83,6 +85,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 2e620e477f45f4a5ac30f57f4fde9c6c55060ef6..fb52799f4d990ce283613b900833b9145ba72e1a 100644 (file)
@@ -42,6 +42,8 @@ Most applications do not need this option.
 
 0, stop sending on error
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -58,6 +60,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if HTTP is enabled, and CURLE_UNKNOWN_OPTION if not.
index b3ba973d2d1ed3eb268da2bece5065011d2e22af..79f31555adcc4ecde580f502ca9aabd597c7a375 100644 (file)
@@ -43,6 +43,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -61,11 +63,13 @@ int main(void)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 This option was known as CURLOPT_SSLKEYPASSWD up to 7.16.4 and
 CURLOPT_SSLCERTPASSWD up to 7.9.2.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or
index 3bd7bea7d108f5cbaef224d3561254ccb5505137..0c35b163fce00ece3d37c9708538a2861b232b80 100644 (file)
@@ -39,6 +39,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -55,10 +57,12 @@ int main(void)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 This option was known as CURLOPT_KRB4LEVEL up to 7.16.3
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 34a2c3269c5be09d3c15c9a21b6d34767a6b6e53..a7cc9fdc79dab661b05946ff1056fbeb69012537 100644 (file)
@@ -36,6 +36,8 @@ this option is set. Valid port numbers are 1 - 65535.
 
 0, disabled - use whatever the system thinks is fine
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -54,6 +56,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 996fe74bde67e555dbab35df7398495eca9676e2..5d8c8a267d5a7e3d3ada76de796bef19b59679d4 100644 (file)
@@ -39,6 +39,8 @@ setup failures.
 
 1
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -57,6 +59,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 668bde7af4da2b3014c63c7744ab86b604b72fb6..44f392250bb273b39063c1421022c2a79a75d5af 100644 (file)
@@ -52,6 +52,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -68,10 +70,12 @@ int main(void)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 Support for OpenLDAP added in 7.82.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 0c0d7104ace1beb0172b9f11fb131ceeb70205e6..58415df12ef254183639fb813394987b1e302a2d 100644 (file)
@@ -38,6 +38,8 @@ slow and abort.
 
 0, disabled
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -60,6 +62,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 38a4977ea40daabde8ffcd4f38c4ba15a6ad450e..04edef33461b7e03b147036a5c487b0ceae547d8 100644 (file)
@@ -35,6 +35,8 @@ library to consider it too slow and abort.
 
 0, disabled
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -57,6 +59,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 01272f7a13f0486973b359b9ea0003754ef20fc0..44effd4ee9a9044460c4ec81970aab6d608d4190 100644 (file)
@@ -49,6 +49,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -65,6 +67,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index b5858b1b9782b3b1702ec63b553a0efabef36b0e..b0b66355cdcdcdd3a75e9399f04ebdde3cef062a 100644 (file)
@@ -42,6 +42,8 @@ option.
 
 blank
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -58,6 +60,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index ccef6c8be1e60ddb22552e5330044049dddd3d6c..9910860f3201224f2a82cb1c4417f0d078580072 100644 (file)
@@ -49,6 +49,8 @@ should be specified using the mailing list name, such as `Friends` or
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -69,6 +71,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 88f5ebbd725f660255ec1c384cfda8a2eec429e1..f17d56151036bceea2999a7e70fed8f106febe8d 100644 (file)
@@ -45,6 +45,8 @@ RCPT TO command.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -74,6 +76,8 @@ int main(void)
 This option was called CURLOPT_MAIL_RCPT_ALLLOWFAILS (with three instead of
 two letter L) before 8.2.0
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 73433ea4c7d93348e31394f709959b06c2107bd8..c834d88c72dbb86f43d9a1802d7ba3486c6fa4a2 100644 (file)
@@ -42,7 +42,9 @@ cache that is older than this set *age*, it is closed instead.
 
 # DEFAULT
 
-Default maximum age is set to 118 seconds.
+118 seconds
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -61,6 +63,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK.
index 43a7bc1142ccf0e9ab57b3393e511296d5d15917..e1e0c2565ea6927163518b3161dbcb04ebd38fe1 100644 (file)
@@ -49,6 +49,8 @@ CURLMOPT_MAXCONNECTS(3) option.
 
 5
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -65,6 +67,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 935aca180a51abf486b8991c547a04fbe10b99f7..a90763012824fde03e9abcb629beb532882c5d02 100644 (file)
@@ -45,6 +45,8 @@ threshold.
 
 0, meaning disabled.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -61,6 +63,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the size passed is valid or CURLE_BAD_FUNCTION_ARGUMENT if
index 7b817c52b2eb7456122962a5c2780310438da9d9..ad6b10750749fe6f315fa0f9c57e7a2e1f1f34b3 100644 (file)
@@ -46,6 +46,8 @@ threshold.
 
 0, meaning disabled.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -63,6 +65,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index b1dcd7fb871388025d155053076fb4f6e9731697..5615f1fd10092edacc1530b4a8c76a201addf09a 100644 (file)
@@ -44,7 +44,9 @@ If set to 0, this behavior is disabled: all connections are eligible for reuse.
 
 # DEFAULT
 
-Default *maxlifetime* is 0 seconds (i.e., disabled).
+0 seconds (i.e., disabled)
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -63,6 +65,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK.
index 7ac75fcd90b1923c85d51b5ab98a747f80b02f04..4f94f8d3775d877766d95103dcd90bd4b95bfaca 100644 (file)
@@ -41,6 +41,8 @@ to get stuck in never-ending redirect loops.
 
 30 (since 8.3.0), it was previously unlimited.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -62,6 +64,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not.
index 62993be2f0bd5f81e34faff130dace09321f7ac8..987693e84eb7ecf257f74beb02d79459bd02f878 100644 (file)
@@ -44,6 +44,8 @@ This option does not affect transfer speeds done with FILE:// URLs.
 
 0, disabled
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -60,6 +62,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index b6f0e813e7625cab32c02afe6a24a5777c3d2530..22f3cb065890cc436deb8aed3e5b70f05b2e82bc 100644 (file)
@@ -45,6 +45,8 @@ This option does not affect transfer speeds done with FILE:// URLs.
 
 0, disabled
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -62,6 +64,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 1b9130fbad4aa99d3b1c64d7947db5bb109d6dd4..9e3b3806c2e34b1aafdbc90370de5e6c29b1f5ad 100644 (file)
@@ -44,6 +44,8 @@ When setting CURLOPT_MIMEPOST(3) to NULL, libcurl resets the request
 type for HTTP to the default to disable the POST. Typically that would mean it
 is reset to GET. Instead you should set a desired request method explicitly.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -73,6 +75,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 This returns CURLE_OK.
index 07d04d2951b71fae7bac77c954151970bd9183e2..5175570e5de6f4fa8f7d41df236b0b84785ea85b 100644 (file)
@@ -57,6 +57,8 @@ containing multipart form is sent, this is normally transmitted as
 
 0, meaning disabled.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -89,6 +91,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index b03eccb57ae823235b9454e59cb7c5caf1d10c8e..98568cc91343f84dafda08d8618e4553cb22d8c2 100644 (file)
@@ -118,6 +118,8 @@ done with "macdef" that it finds.
 
 CURL_NETRC_IGNORED
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -133,6 +135,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index cc8d5f5cbc6dffd641691a449b290360e50e0077..a27d470aee4bed915fde308d614d25c443883fc7 100644 (file)
@@ -39,6 +39,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -55,6 +57,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 658ed50979668bf24aa11532a1a3e46a89d180f2..94c778c7ef630f1e04d59df50e66b67bb8ac4990 100644 (file)
@@ -39,6 +39,8 @@ this are *sftp://*, *scp://*, and *file://*.
 
 0755
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -56,6 +58,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 182ab414de7e04a734835911c52e5178c19c2b67..f3fba5589f0677a776e70162ea41bce848db4377 100644 (file)
@@ -37,6 +37,8 @@ The only protocols that can use this are *sftp://*, *scp://*, and *file://*.
 
 0644
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -52,6 +54,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index c354f5ebdfb130aa6364dfc152868eefbcda69d2..0168912add888a3245c8d46c82922bb63fc42dde 100644 (file)
@@ -50,6 +50,8 @@ URL you request).
 
 0, the body is transferred
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -68,6 +70,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 61da1777bfee39ea498848fc291679e4ead01e92..5f3d7322ea7b7a99fb1ac858c362e35b4bff7528 100644 (file)
@@ -37,6 +37,8 @@ getting called.
 
 1, meaning it normally runs without a progress meter.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -55,6 +57,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK.
index 9ded9b83c45ebcc1228ce4fd78e5755faf363045..1412a9a58f201198d294198b72036cae4cb97194 100644 (file)
@@ -61,6 +61,8 @@ the same way.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -79,6 +81,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index a6582e7d27dfa4ffcb666da721aa94441b9785af..3aaac34c9024e96e7adb62ea111f879f855b284d 100644 (file)
@@ -47,6 +47,8 @@ corner cases when they may still happen, contrary to our desire.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -66,6 +68,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index a36c217931ce69621180d10fddab6af3a543827e..1a73f2f14737b83445faffee1598164e9911d439 100644 (file)
@@ -33,7 +33,9 @@ CURLOPT_OPENSOCKETFUNCTION(3).
 
 # DEFAULT
 
-The default value of this parameter is NULL.
+NULL
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -82,6 +84,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 392fd76341738a539823b61838e4325c17c63c80..47bb7e132e483f01dd2ee3f568c19cb2f22b44ba 100644 (file)
@@ -71,11 +71,13 @@ CURLOPT_SOCKOPTFUNCTION(3) to signal that it already is connected.
 
 # DEFAULT
 
-The default behavior is the equivalent of this:
+The equivalent of this:
 ~~~c
    return socket(addr->family, addr->socktype, addr->protocol);
 ~~~
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -122,6 +124,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index dcb79ab95aa27961fc4ada29b34dae3253a5f408..94d90d0dcf74715daaa484334d24683c55ba6698 100644 (file)
@@ -41,6 +41,8 @@ option.
 
 blank
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -60,6 +62,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index fcfed29b8f4c86b198c03afff16910e6e1052e22..744de5c3fdbd4c0f2b110af3a8ee170ba43450e1 100644 (file)
@@ -48,6 +48,8 @@ The corresponding flag for the curl_url_set(3) function is called
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -65,6 +67,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index d3fb8d5f2d93f2f549866335fe771e5273208c92..10c7100cb3310aea68176370b44410c9211396fd 100644 (file)
@@ -58,6 +58,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -117,7 +119,7 @@ footer:
 -----END PUBLIC KEY-----
 ~~~
 
-# NOTES
+# HISTORY
 
 ## PEM/DER support
 
@@ -143,6 +145,8 @@ footer:
 
 Other SSL backends not supported.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or
index dd9ecc840732d379c24ff7762a08f0a5e26b2fa8..8226791d4be4f803650b06aaefc4d8f7be20a571 100644 (file)
@@ -53,6 +53,8 @@ and support level.
 
 0 (off)
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -68,6 +70,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 905b06924111436f07a8040ba8ad4837837ead6e..812311bfdf7227af3534ce441b1e1971430bf3e6 100644 (file)
@@ -43,8 +43,10 @@ and therefore using a port number lower than zero or over 65535 causes a
 
 # DEFAULT
 
-By default this is 0 which makes it not used. This also makes port number zero
-impossible to set with this API.
+0 which makes it not used. This also makes port number zero impossible to set
+with this API.
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -62,6 +64,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 11d940847bf60da2c6ab9084c1906b099fa08e84..fe4656f1730d89d1bb38eaec5a0b089890349bf3 100644 (file)
@@ -72,6 +72,8 @@ you should set a new request type explicitly as described above.
 
 0, disabled
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -92,6 +94,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not.
index 5772a320c96780ca30922531012a35e7f81ea78c..edd932c4e7632be00f478ec4bd27a57026544be2 100644 (file)
@@ -74,6 +74,8 @@ CURLOPT_MIMEPOST(3) option combined with curl_mime_init(3).
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -116,6 +118,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index e87ce4e41ebffeb043ac8b83c43a9cf008a24f70..b23a486a3fdd92a1092fe84a8900a42c9832845b 100644 (file)
@@ -38,6 +38,8 @@ If you post more than 2GB, use CURLOPT_POSTFIELDSIZE_LARGE(3).
 
 -1
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -61,6 +63,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not.
index f01fa232461bdcfcf3dd76414a835ecf8a845d3c..d06bf1a7eefd3dc6407a1058e3cb899b5fd5b8e5 100644 (file)
@@ -38,6 +38,8 @@ CURLOPT_READFUNCTION(3) (if used) to signal the end of data.
 
 -1
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -62,6 +64,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not.
index c2f5431fdbee1fdd4e960ed577be020a8cf74337..58c4d87104d33b949d74e9b2af59f2f9c3d5dfb1 100644 (file)
@@ -39,6 +39,8 @@ Disable this operation again by setting a NULL to this option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -63,6 +65,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 2bcceeb5758910378a91662fba36ec3c7c76c778..c56ba990a6d39cdb0cf55ea4675406f0af6810d5 100644 (file)
@@ -49,6 +49,8 @@ when setting CURLOPT_FOLLOWLOCATION(3).
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -75,6 +77,8 @@ int main(void)
 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.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index d1ad8077a88bdb7aaa78465538909ab6922eb71b..5291edf06ea6414dc8dd5cfff5a5678914ab566a 100644 (file)
@@ -43,6 +43,8 @@ this option does not.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -66,6 +68,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index b75de081a6543bd4ff39f8a29c45b32d37f761cc..f94ecc6fc45d0ffc456927719a421e82454674f0 100644 (file)
@@ -34,6 +34,8 @@ argument in the pre-request callback set with CURLOPT_PREREQFUNCTION(3).
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -63,6 +65,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 28cbd6316af2d817f7d545f474d902741c366833..8024a9a897e47ad6930135600bb8736fc8e34feb 100644 (file)
@@ -84,7 +84,9 @@ The pointer you set with CURLOPT_PREREQDATA(3).
 
 # DEFAULT
 
-By default, this is NULL and unused.
+NULL
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -115,6 +117,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 1709b9a160ccb2c5d50f162505fba3be9163d907..f6e5dbff0cd87f7e569fa6e96d7ae92ba124433b 100644 (file)
@@ -48,15 +48,17 @@ be used. Otherwise SOCKS4 is used as default.
 Setting the pre proxy string to "" (an empty string) explicitly disables the
 use of a pre proxy.
 
+When you set a hostname to use, do not assume that there is any particular
+single port number used widely for proxies. Specify it.
+
 The application does not have to keep the string around after setting this
 option.
 
 # DEFAULT
 
-Default is NULL, meaning no pre proxy is used.
+NULL
 
-When you set a hostname to use, do not assume that there is any particular
-single port number used widely for proxies. Specify it!
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -73,6 +75,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if proxies are supported, CURLE_UNKNOWN_OPTION if not, or
index 0b36092acdaddf5c3b581f7d0728e59f1d2464cf..580ba243d758595556b851f1a8d71d7c9bd431e3 100644 (file)
@@ -36,6 +36,8 @@ never does anything with this data.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -62,6 +64,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 3c54676723621337592d911e8cc9f9e29d35c93b..6f501f2ee2583447ded8e502cb2f3ef1f496e7b3 100644 (file)
@@ -31,7 +31,9 @@ argument in the progress callback set with CURLOPT_PROGRESSFUNCTION(3).
 
 # DEFAULT
 
-The default value of this parameter is NULL.
+NULL
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -70,6 +72,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 84ab83f63cde2bd5a3d24cf73274b73bc317138c..d9a24382be5a116c9ccc684847222599f9ecc35d 100644 (file)
@@ -75,8 +75,9 @@ get called.
 
 # DEFAULT
 
-By default, libcurl has an internal progress meter. That is rarely wanted by
-users.
+NULL. libcurl has an internal progress meter. That is rarely wanted by users.
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -119,6 +120,8 @@ int main(void)
 
 Deprecated since 7.32.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK.
index 568dfad32e145a876c14496ef2d86142ae11bf58..e631bca9ddb03b9de7fa3605c3090393b8896577 100644 (file)
@@ -74,6 +74,8 @@ CURLPROTO_TFTP
 
 All protocols built-in.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -98,6 +100,8 @@ int main(int argc, char **argv)
 
 Deprecated since 7.85.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index d943b5c97df53bcb912aa68f1ede63647e7be759..1015b993c39f250394edb073c25f10517e47219d 100644 (file)
@@ -57,6 +57,8 @@ way to figure out the protocol used in a previous transfer.
 
 All protocols built-in
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -76,6 +78,8 @@ int main(int argc, char **argv)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_UNKNOWN_OPTION if the option is not implemented,
index 22d6f00d06aa2037a7f459c768cbc3dde916a7e3..abc42d7f11841c395ddd8c0385ea64f1b7a5fe04 100644 (file)
@@ -90,6 +90,9 @@ user + password.
 Unix domain sockets are supported for socks proxies since 7.84.0. Set
 localhost for the host part. e.g. socks5h://localhost/path/to/socket.sock
 
+When you set a hostname to use, do not assume that there is any particular
+single port number used widely for proxies. Specify it.
+
 When a proxy is used, the active FTP mode as set with *CUROPT_FTPPORT(3)*,
 cannot be used.
 
@@ -108,10 +111,9 @@ variables.
 
 # DEFAULT
 
-Default is NULL, meaning no proxy is used.
+NULL
 
-When you set a hostname to use, do not assume that there is any particular
-single port number used widely for proxies. Specify it!
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -127,7 +129,7 @@ int main(void)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 Since 7.14.1 the proxy environment variable names can include the protocol
 scheme.
@@ -137,6 +139,8 @@ Since 7.21.7 the proxy string supports the socks protocols as "schemes".
 Since 7.50.2, unsupported schemes in proxy strings cause libcurl to return
 error.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if proxies are supported, CURLE_UNKNOWN_OPTION if not, or
index 600342583bedca1768d2d0bbbbf98edd7860daed..1609cbafad5c513a31ba066d45d897c5b48d621d 100644 (file)
@@ -44,6 +44,8 @@ CURLOPT_HTTPAUTH(3) man page.
 
 CURLAUTH_BASIC
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -65,6 +67,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 51c9000bcaeef6f27b9259deef6423c1cbed4c99..5bcd0176735f0f2832771e319881a6da2d615a5a 100644 (file)
@@ -45,6 +45,8 @@ Pass a NULL to this to reset back to no custom headers.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -70,6 +72,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index bfdd4fe95af6026aadddc58727036697cdb9eaf3..1b371b22c203d0c478ac0d184ebfafb7188c5172 100644 (file)
@@ -41,6 +41,8 @@ option.
 
 blank
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -59,6 +61,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 6d9e1b96b4e5f3a15ab95f910c5c8d1659c9191a..b0113ac0e6ceb89a589f90c7875cf30fa179a24f 100644 (file)
@@ -31,15 +31,21 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROXYPORT, long port);
 We discourage use of this option.
 
 Pass a long with this option to set the proxy port to connect to unless it is
-specified in the proxy string CURLOPT_PROXY(3) or uses 443 for https
-proxies and 1080 for all others as default.
+specified in the proxy string CURLOPT_PROXY(3) or uses 443 for https proxies
+and 1080 for all others as default.
+
+Disabling this option, setting it to zero, makes it not specified which makes
+libcurl use the default proxy port number or the port number specified in the
+proxy URL string.
 
 While this accepts a 'long', the port number is 16 bit so it cannot be larger
 than 65535.
 
 # DEFAULT
 
-0, not specified which makes it use the default port
+0
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -58,6 +64,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index e2f79e03f3b95f303d4ca280991e70db802043b1..dafd99603600153f9164e46a95618648a0b6f105 100644 (file)
@@ -73,6 +73,8 @@ the CURLOPT_PROXY(3) string.
 
 CURLPROXY_HTTP
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -91,6 +93,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index a2c43a4f25d499643c539b8d3f2d4d9e25fef293..7e0b0caba29b13b5fb6a658f31582ffcd8054d9b 100644 (file)
@@ -44,6 +44,8 @@ option.
 
 blank
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -62,6 +64,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index c165da06b00042ec10eb47ef6b67b36d7c226860..38b1288eb58135a6e54025ad5a6ec8d58b9d2c35 100644 (file)
@@ -41,7 +41,9 @@ option.
 
 # DEFAULT
 
-This is NULL by default.
+NULL
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -60,6 +62,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if proxies are supported, CURLE_UNKNOWN_OPTION if not, or
index 0529ef7d92f40fcc3df2c800bb85a5b54fee1c2e..ed0b5e6b3ba442fe7e165c064a0e618a313f47fc 100644 (file)
@@ -62,6 +62,8 @@ The default value for this can be figured out with CURLINFO_CAINFO(3).
 
 Built-in system specific
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -86,6 +88,8 @@ For TLS backends that do not support certificate files, the
 CURLOPT_PROXY_CAINFO(3) option is ignored. Refer to
 https://curl.se/docs/ssl-compared.html
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 10fb868a822be8efa7556f0897e4ae3af24b2f07..91ef9a7c827695df2ce888de19afdc8b416eb40d 100644 (file)
@@ -58,6 +58,8 @@ This option overrides CURLOPT_PROXY_CAINFO(3).
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -83,6 +85,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 0f8ad991ce644151c057095a83aabb41466bc6fb..fe680df09725053fbf61d9c4a5139755ddf4145b 100644 (file)
@@ -48,6 +48,8 @@ The default value for this can be figured out with CURLINFO_CAPATH(3).
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -66,6 +68,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLE_OK if supported; or an error such as:
index 2110e94d69fb34a12c6d194e8065882e2ce2ea4e..f0cb86db1e59fbe350f245fbf0312a91e2bcdb62 100644 (file)
@@ -59,6 +59,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -76,6 +78,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 42370865cabd02adc7a3689393d416fdddb9487d..954848b8635dc70ddb86dd01505020be2cd93ef3 100644 (file)
@@ -56,6 +56,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -74,6 +76,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 83b2f4ba11f34dc2b3f0e3fbf5bca35fec3763c9..002704fcecc834dad06263e268071f17ffcbe26e 100644 (file)
@@ -60,6 +60,8 @@ instead expects a filename as input.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -86,6 +88,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index f60652744ba46a264145c1cd41d386815e9b0aaf..1d7e2b0500d1841df733b3cd5ffbcd7a2f17bf27 100644 (file)
@@ -47,6 +47,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -64,6 +66,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or
index 9e9cda91885f9b65d4eaa447992eaf2799a84de0..c2113a93026ff143775a888c2109242c8463a629 100644 (file)
@@ -54,6 +54,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -110,7 +112,7 @@ footer:
 -----END PUBLIC KEY-----
 ~~~
 
-# NOTES
+# HISTORY
 
 PEM/DER support:
 
@@ -122,6 +124,8 @@ sha256 support:
 
 Other SSL backends not supported.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or
index b1d068fb739b9271cc24d0a1a79e41ad99c66b29..b224557e13a1c3cf209a52f14221a95e12987636 100644 (file)
@@ -39,6 +39,8 @@ option.
 
 See above
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -54,6 +56,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index e74b32a79eb6d78f056e8a07360758286f791c90..1e8555ae10ffdb7b9d753f66699ef505d5a3dc79 100644 (file)
@@ -56,6 +56,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -75,6 +77,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or
index ef857372b4d955cd1dd781b524d0b746917966dd..5002b3a11444ab94761228f9dba0a653266e0911 100644 (file)
@@ -49,6 +49,8 @@ option.
 
 "PEM"
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -69,6 +71,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if not, or
index 7c2248a44b6e441ce9f7c4388df741116a5df1bf..2abbbb4df012337b070dd4a5d484a8e8f34e4c55 100644 (file)
@@ -50,6 +50,8 @@ expects a filename as input.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -77,6 +79,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or
index 4dff2aa7d37ef498471b7b5d8107c08b52bdea8b..c355c947c0f91fcd1b342c8c01bd760be3d3f070 100644 (file)
@@ -50,6 +50,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -69,6 +71,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if not, or
index fb175b5983a977d3cd70799b703b94c1b08935f8..b59ee26238e28581533229dd101b2177b7144e38 100644 (file)
@@ -39,6 +39,8 @@ the format of your private key. Supported formats are "PEM", "DER" and "ENG".
 The application does not have to keep the string around after setting this
 option.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -59,6 +61,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if not, or
index b12c26f28bb398c23b64151108ef75330ef68e13..06ccac498e9d1605adad25efb4547eafe8861721 100644 (file)
@@ -43,6 +43,8 @@ setting this.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -77,6 +79,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or
index 5e95b004374bfa7d9d78811b96ece674ea30f6ee..1b1795210634115133ed605c46792b59cb7615bb 100644 (file)
@@ -104,6 +104,8 @@ inconsistent depending on the TLS library.
 
 CURL_SSLVERSION_DEFAULT
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -122,6 +124,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index e5d0f6ee27f2526034cdf80f0504f23faf3f45cb..0c64abbc95fdebc4774f8a40c59123b557bc3bf0 100644 (file)
@@ -68,7 +68,9 @@ option.
 
 # DEFAULT
 
-NULL, use internal default
+NULL, use internal built-in list.
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -87,6 +89,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if not, or
index 85fbd529ac66341813c7ccc3a9a9c22b7b4de6f6..02bc267c9fdfffbb143acea0653746c590429f06 100644 (file)
@@ -92,6 +92,8 @@ could be a privacy violation and unexpected.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -111,6 +113,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 923fe4397440405a93de155553d781d5f0706cb5..d97cd74bfa77c2ff6211571e5f0e55087495a407 100644 (file)
@@ -65,6 +65,8 @@ of the proxy certificate.
 
 2
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -82,6 +84,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if TLS is supported, and CURLE_UNKNOWN_OPTION if not.
index 6305daffd74063b92130f5790b482f7eb782b176..b29a4235f6c0dc1d9bf8bc259c50b18521299a3d 100644 (file)
@@ -67,6 +67,8 @@ the correct end-point.
 
 1
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -84,6 +86,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index a0a06204045e3b64bb01d96167cae2a84cac4ecd..42a871d09dc8ec59e12e7d30136bdfa1b8937c78 100644 (file)
@@ -51,7 +51,9 @@ option.
 
 # DEFAULT
 
-NULL, use internal default
+NULL, use internal built-in list
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -70,6 +72,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if supported, CURLE_NOT_BUILT_IN otherwise.
index e95c1df80cb98a2fb0d8b4263a7cfe1f3dcc959b..edff372af96ce3bd1ec777307fa0d7ecd6d0049e 100644 (file)
@@ -44,6 +44,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -63,6 +65,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index bcbbebcc4b35e37c30ab8e72e92963e88bd09588..f67edd9f5ac8673f6f2240b08585cb7b23f8756f 100644 (file)
@@ -48,6 +48,8 @@ options.
 
 blank
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -67,6 +69,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index fc0ac22ff9bf219a6ebf8a9acc98bc2e9ca1860b..db66735ad9a36d8504e4ed8640b202d83a07898c 100644 (file)
@@ -44,6 +44,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -63,6 +65,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 96408697557f85a07471842996b94102f052feb5..a0ac9491296e7d18e8d5ec0ddad329121d027105 100644 (file)
@@ -39,6 +39,8 @@ doing FTP via a proxy. Beware that not all proxies support this feature.
 
 0, disabled
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -58,6 +60,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if the
index ba63795c20857765b67a4753ec3224d2b595799f..43bf645de77ad7d1d812acd8717813d8c1f79bec 100644 (file)
@@ -38,6 +38,8 @@ This option is **deprecated** since version 7.12.1. Use CURLOPT_UPLOAD(3).
 
 0, disabled
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -83,6 +85,8 @@ int main(void)
 
 Deprecated since 7.12.1.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not.
index 55ba9bd504ab161f199510149df369b7be5f025d..e13b43ca0b36507d8d06d7e4aa219233ec9766dd 100644 (file)
@@ -38,6 +38,8 @@ possible (though short-lived) leak of associated resources.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -52,6 +54,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index f04878f52b6deb8d80633c50475b5309f88f7bf3..58742b7b3cd7f7d12b8d66c4f555149db1aece8a 100644 (file)
@@ -128,6 +128,8 @@ See ln.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -152,10 +154,12 @@ int main(void)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 SFTP support added in 7.16.3. *-prefix for SFTP added in 7.24.0
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index d64de5d4e2cb27dd45921f47ede25fea4988a950..41cc75f20115bd62999274ef9ce0993f8ccbce18 100644 (file)
@@ -37,6 +37,8 @@ NULL, not used
 
 Deprecated since 7.84.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK.
index f1b1bebc395eaeee03fc55d736737cefad58da72..417e7702287e78e9ed1fdfbf9cb3465cf7c1eb65 100644 (file)
@@ -59,6 +59,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -77,10 +79,12 @@ int main(void)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 FILE since 7.18.0, RTSP since 7.20.0
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK on success or
index 0b80c388f49fa2c9cd5dbf1b75b8c8523c80c0b8..ae3ac3c484128438d7cc597955a840770885bf4c 100644 (file)
@@ -41,7 +41,9 @@ might experience crashes.
 
 # DEFAULT
 
-By default, this is a FILE * to stdin.
+stdin
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -66,11 +68,13 @@ int main(void)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 This option was once known by the older name CURLOPT_INFILE, the name
 CURLOPT_READDATA(3) was introduced in 7.9.7.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 This returns CURLE_OK.
index d75e2710b5f63129e06592cea7096a3201988bc5..72e9e75bfcb72b49df927134204db45c6164d46d 100644 (file)
@@ -73,7 +73,9 @@ and it allows for better error checking.
 
 # DEFAULT
 
-The default internal read callback is fread().
+fread(3)
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -112,11 +114,13 @@ int main(int argc, char **argv)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 CURL_READFUNC_PAUSE return code was added in 7.18.0 and CURL_READFUNC_ABORT
 was added in 7.12.1.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 This returns CURLE_OK.
index 7f8b973d675a561694826762ec3bb54aa8051052..278e4dcd013fbac2efcef279b3491c907ccdd94d 100644 (file)
@@ -84,6 +84,8 @@ HTTP, HTTPS, FTP and FTPS (Added in 7.65.2).
 Older versions defaulted to all protocols except FILE, SCP and since 7.40.0
 SMB and SMBS.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -108,6 +110,8 @@ int main(int argc, char **argv)
 
 Deprecated since 7.85.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index ef2f95ecba09fdfc8127f78f9a376012f0a69fb8..ea3a78cabf961a18e2838120117a4252766a80ab 100644 (file)
@@ -63,6 +63,8 @@ HTTP, HTTPS, FTP and FTPS (Added in 7.65.2).
 Older versions defaulted to all protocols except FILE, SCP and since 7.40.0
 SMB and SMBS.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -82,6 +84,8 @@ int main(int argc, char **argv)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_UNKNOWN_OPTION if the option is not implemented,
index 78df8eaa27ff58a1af1c27cd6e5d04d62ae316ae..e4054e4abee54e9d41911e4f1c3d7ecf16afd092 100644 (file)
@@ -39,6 +39,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -56,6 +58,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if HTTP support is enabled, CURLE_UNKNOWN_OPTION if not, or
index a72641f8996d424469f2867e4481149b1b44e62c..c96f0c352b51ae4f5fbc173677944ffcfc45e78a 100644 (file)
@@ -38,6 +38,8 @@ other safe guards. That includes white space and control characters.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -57,6 +59,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 811834b9215c5b0320c1e775013ecdd1ef563a07..f290a1c0217c71dced40d9d3127df8d80bc8bf94 100644 (file)
@@ -78,6 +78,8 @@ number must exactly match what was added previously.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -102,7 +104,7 @@ int main(void)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 Added in 7.21.3. Removal support added in 7.42.0.
 
@@ -113,6 +115,8 @@ Support for providing multiple IP addresses per entry was added in 7.59.0.
 Support for adding non-permanent entries by using the "+" prefix was added in
 7.75.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 1901050de198a5b7a45fd0aae97d523338d199c1..e6ec836a0da9466bcd1f2d2f53532d5e67b3b8e0 100644 (file)
@@ -35,6 +35,8 @@ CURLOPT_RESOLVER_START_FUNCTION(3).
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -60,6 +62,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 5ab765ff12c75c4546f4e1c399ce5ce71713d978..2be7bcde697dacb94f667d71bf3ca31cad318781 100644 (file)
@@ -53,6 +53,8 @@ resolve to fail.
 
 NULL (No callback)
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -78,6 +80,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 90fe834bf8c75c1cd393ab93de21d8c696f03d55..681c1ace235859adccc3bd08cdf768b7f4b9a431 100644 (file)
@@ -44,6 +44,8 @@ CURLOPT_RESUME_FROM_LARGE(3) instead.
 
 0, not used
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -70,6 +72,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index f762d4db19b2d6d167b66e0453daa11544508fe1..061890dd8a1ee2edb8271e9954fc4f86a653e2fb 100644 (file)
@@ -42,6 +42,8 @@ file to the remote target file.
 
 0, not used
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -69,6 +71,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index ee8621b65beeea03ef47e4ac3b810c9f225ed78a..7b00069e037f02efa7b00988c483343b33952990 100644 (file)
@@ -36,6 +36,8 @@ increments from this new number henceforth.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -52,6 +54,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 881d4deb9cc8e0e20a78bf0a7e13a3e27b1bd219..99a94bce46c98caf9e495dacc4f4dd03a933f699 100644 (file)
@@ -112,6 +112,8 @@ application a chance to run.
 
 # DEFAULT
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -129,6 +131,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index a28c4d17b67e32ff3094a985ca3343181e82889c..01ea910a7bbe2b76e8a1d9ed26cff3e31b1bdbf7 100644 (file)
@@ -35,6 +35,8 @@ unimplemented.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -51,6 +53,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 0aed9cf5458e11d631cf171c5c61e4bdb8bbba13..7ff0f7725c4b3b59bcdf4827930ef3bc19e6d0d3 100644 (file)
@@ -40,6 +40,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -57,6 +59,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 99b38d9b65f18cad3c821b1b34d1bc87ea4813b7..5e06afc439a2943f2e4865e3df8033d3d50d5abc 100644 (file)
@@ -44,6 +44,8 @@ option.
 
 "*"
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -61,6 +63,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 4cc26b09105c88a50f9714cfabdaafc539443009..6e28650ca40c63a693df2f00f9bc64db01af3b23 100644 (file)
@@ -39,6 +39,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -57,6 +59,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index d04c6af55f6efeb0a69979e6c0555f1355530002..75114120684798121e40e330c4bdc331cf14e089 100644 (file)
@@ -44,6 +44,8 @@ access to, or a shared mailbox for example.
 
 blank
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -62,6 +64,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index deb38396b6aa8b3ae498b354254c29e621ece4e5..25d8495009a6a4f0d148907c7e805bab0046420c 100644 (file)
@@ -47,6 +47,8 @@ SASL-IR CAPABILITY.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -63,6 +65,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index fca38ee9c015098489a0c2f06553eda6e59b56c8..fd93aacd2489d0638799e7473fb16b8f8628ef5a 100644 (file)
@@ -35,6 +35,8 @@ CURLOPT_SEEKFUNCTION(3) option, this is the pointer you get as input.
 
 If you do not set this, NULL is passed to the callback.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -62,4 +64,6 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
index d37c7bf84b4bfa2eba8699e97cc5c30f36dde30e..120b254d5a38f87f9d001f32c147913c4b06e3dd 100644 (file)
@@ -64,7 +64,9 @@ many systems!
 
 # DEFAULT
 
-By default, this is NULL and unused.
+NULL
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -92,6 +94,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 55e60f3b05a86de03d4d5165d7e1b9420a61f166..03f8eddf390f6a8bbad2d2f0a2ad3b4fa112c4e5 100644 (file)
@@ -47,6 +47,8 @@ This option was formerly known as CURLOPT_FTP_RESPONSE_TIMEOUT.
 
 None
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -65,6 +67,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if supported, and CURLE_UNKNOWN_OPTION if not. Returns
index 1e2a26a706ec046bffd003a61519a3ad6341a7ac..57071d6d322907c3a8154bfce2a80fcab19b5b14 100644 (file)
@@ -49,6 +49,8 @@ This is the millisecond version of CURLOPT_SERVER_RESPONSE_TIMEOUT(3).
 
 None
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -67,6 +69,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if supported, and CURLE_UNKNOWN_OPTION if not. Returns
index 1cfcc4b98a73f29fc990428bb952d758c42eb599..87d6c5c0e62b6bc91848075108bfa61ece3799bc 100644 (file)
@@ -44,6 +44,8 @@ option.
 
 See above
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -59,6 +61,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index f08947be94d2b4f26fede02574bb5b44610869b0..4e64cc748277efc90153c7d030a7dbc58e0a0c27 100644 (file)
@@ -48,6 +48,8 @@ Set this option to NULL again to stop using that share object.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -78,6 +80,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 93544278e924572be2b63f7ede8700173f642f97..dbf75da3bca8ec5b68634844b1bb722ce9d591b0 100644 (file)
@@ -31,7 +31,9 @@ argument in the sockopt callback set with CURLOPT_SOCKOPTFUNCTION(3).
 
 # DEFAULT
 
-The default value of this parameter is NULL.
+NULL
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -65,6 +67,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns *CURLE_OK* if the option is supported, and *CURLE_UNKNOWN_OPTION* if not.
index 736c1dfd6eb690deab210efe1d5da13c6c68b307..fbc3d8804a0d0f1995490233228a74b069ce7e57 100644 (file)
@@ -73,7 +73,9 @@ not attempt to connect (again).
 
 # DEFAULT
 
-By default, this callback is NULL and unused.
+NULL
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -121,6 +123,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 9ea3b8aafe5e5be89cca7ba4c6f27a2d643b6957..9a965933ff64212d7489d1194f6aaefec1e7a5f3 100644 (file)
@@ -37,6 +37,8 @@ password with the CURLOPT_PROXYUSERPWD(3) option.
 
 CURLAUTH_BASIC|CURLAUTH_GSSAPI
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -58,6 +60,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 877401c61f6b86d5dd12fbc55bdf54a8e5a1244e..5bb2e42e5205c3ed83ece1a22fdf12d9d4cf48ce 100644 (file)
@@ -36,6 +36,8 @@ negotiation.
 
 ?
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -53,6 +55,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 84ce4986aa472d5b18b87f569c4133801ca80411..fe0c22df60714d133c5e7632a3ad2f812a76b38b 100644 (file)
@@ -40,6 +40,8 @@ option.
 
 See above
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -61,6 +63,8 @@ int main(void)
 
 Deprecated since 7.49.0
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 2dd70e5855b85198f6378bfef3e8fdaefe86b207..f111efe64b906965ea3173fd26e08ed0fdd07321 100644 (file)
@@ -41,6 +41,8 @@ authentication.
 
 CURLSSH_AUTH_ANY (all available)
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -58,6 +60,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 3e37eb62b87faa9d28af49b58e69a3f3b4d2458c..749dedf20a2fe5b1feea823ed43d3ee858c043c8 100644 (file)
@@ -36,6 +36,8 @@ may or may not do it.
 
 0, disabled
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -54,6 +56,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 58aa70bde4854423b3af1d7478d2b4c9fa1c060a..4629bb632e1f9198292cad0e735f2886dbf571bc 100644 (file)
@@ -33,6 +33,8 @@ the callback set with CURLOPT_SSH_HOSTKEYFUNCTION(3).
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -68,6 +70,8 @@ int main(void)
 
 Works only with the libssh2 backend.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 6445f4115ea2a86f8ae8957fa26be99602ad6df7..ecaa078a1f0cdcf6b5f5ee083d9869477ffe0312 100644 (file)
@@ -59,6 +59,8 @@ the host key is rejected, the connection is canceled.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -93,6 +95,8 @@ int main(void)
 
 Work only with the libssh2 backend.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index c0afff8d88c7af6e564dd83a127ea7e641669697..403570a4e6f2b804a0f48aa947f8ae4e3928352b 100644 (file)
@@ -44,6 +44,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -61,6 +63,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 85d7897c1b01f16ba83b050932d7dd1a9d015e7f..878e012e03c672d69459c1929366dd377dc8b8ad 100644 (file)
@@ -37,6 +37,8 @@ does not match the hash the remote host provides.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -58,6 +60,8 @@ int main(void)
 
 Requires the libssh2 backend.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 8ead3054c8d539e8bf9e9bd3a662dfc408a91fc6..64d98c41f05ef1067bc9accce4a6feb089dde067 100644 (file)
@@ -34,6 +34,8 @@ callback set with CURLOPT_SSH_KEYFUNCTION(3).
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -66,6 +68,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index bc266afb9ac074f68d49fb596e4c3fd3a3b64bc4..bf7f03710613c74211f8348fe7453ac15cb7c33e 100644 (file)
@@ -110,6 +110,8 @@ up from scratch again.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -143,6 +145,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 37171494b16f3c625cbc8666d60f08b4b14df755..a099af3a222e8ff76562643bf9fb5a463af3628a 100644 (file)
@@ -41,6 +41,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -58,6 +60,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 3ef375836a96d494420d54680f6dbaab906281f1..fe7e5207eb4f69117f5f1efbb39bf108dbe049fb 100644 (file)
@@ -48,6 +48,8 @@ option.
 
 As explained above
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -66,6 +68,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index f86e00228aa7048085000ae5ec40f2645787b6e1..f6d2fb3c1862bc41cab7ba890343c9ae787e2653 100644 (file)
@@ -44,6 +44,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -61,10 +63,12 @@ int main(void)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 The "" trick was added in 7.26.0
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index b74aed338e2ee80c05b0508a1bc1c00de02cbfd6..c9b3ab64bbf0c00bba92007436aa1c2c38502828 100644 (file)
@@ -66,6 +66,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -84,6 +86,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or
index 8266e1d04069f5a3b0c053185716ac84d9bb681d..d08273550af8116bb0695f6bd5698970e3663540 100644 (file)
@@ -48,6 +48,8 @@ option.
 
 "PEM"
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -67,6 +69,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if not, or
index 6822f4e305534efee8af59b673bdbab36e9d63f9..88f60eb2a6ce3dbe2c3f8ff184269e81c2498a84 100644 (file)
@@ -50,6 +50,8 @@ expects a filename as input.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -76,6 +78,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or
index cd8299c749d561162ab7af17b270f99e4f3c7a0f..2e66aa8d05cfb879bedb6d4a3963a4a2ab5e9518 100644 (file)
@@ -39,6 +39,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -55,6 +57,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLE_OK - Engine found.
index fa9ccf1fa72df306692ee67260a98b44a4e1a4e9..72e908b76eabea79d4c3b639e3be243af9ae1ca2 100644 (file)
@@ -37,6 +37,8 @@ This option has no effect unless set after CURLOPT_SSLENGINE(3).
 
 None
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -54,6 +56,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLE_OK - Engine set as default.
index 57fd705c325118078f90a5ceacb71ba3d46aff60..27f0f347cb79587eaf9df85c561132dabd480c2a 100644 (file)
@@ -47,6 +47,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -65,6 +67,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if not, or
index d7f22085140ace1ab4d8728548e5f845893fe580..73e1a75478f59a6f5b622ea03bde7f09c28c7774 100644 (file)
@@ -46,6 +46,8 @@ option.
 
 "PEM"
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -65,6 +67,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if not, or
index 418b8c16f3eef58e7fbe84d9367193391c0985a5..10b047984e074e77e9b4b8a63350fc5829db01a2 100644 (file)
@@ -44,6 +44,8 @@ filename as input.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -78,6 +80,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if TLS enabled, CURLE_UNKNOWN_OPTION if not, or
index 6f5f5ef2545237d67dfda59277bb5893db42fce5..e39159696b0bcf46c211e697f97e3f6db50a2ebb 100644 (file)
@@ -116,6 +116,8 @@ inconsistent depending on the TLS library.
 
 CURL_SSLVERSION_DEFAULT
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -143,6 +145,8 @@ vary depending on which backend libcurl has been built to use.
 
 SSLv3 is disabled by default since 7.39.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index f80f43eda2bbcf2bc6f0a88cce41f0b2dd251434..c8923e66b31465096ebcf06d3b0cf982c9908236 100644 (file)
@@ -70,7 +70,9 @@ option.
 
 # DEFAULT
 
-NULL, use internal default
+NULL, use built-in list
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -88,10 +90,12 @@ int main(void)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 Added in 7.9, in 7.83.0 for BearSSL, in 8.8.0 for mbedTLS
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if TLS is supported, CURLE_UNKNOWN_OPTION if not, or
index e42682bae2ea309e5fec2cc879418215b5e65c1f..2dcdd57e1d0fb6fdec445feb5ec500823e8a1ec5 100644 (file)
@@ -39,6 +39,8 @@ parameter.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -119,6 +121,8 @@ int main(void)
 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.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLE_OK if supported; or an error such as:
index 9fb8cbf102ec0607f04cb9de7291c024f66c8550..c42132a6c675f99f60fbac92d3636f7856368c27 100644 (file)
@@ -83,6 +83,8 @@ completed.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -158,6 +160,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLE_OK if supported; or an error such as:
index bc56a443dc61ff70ea4ecd0f6ca93a96ff5e4cbd..d1459c4207851fe7e36ae1707e5d4567cba1245a 100644 (file)
@@ -38,6 +38,8 @@ the SSL backend libcurl is built to use supports it).
 
 "", embedded in SSL backend
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -54,6 +56,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 16382cbc724d1510077f7648e2b1c672e0c86761..e521c543d7f435166cb157a57690c33e6308294c 100644 (file)
@@ -36,6 +36,8 @@ is built to use supports it), which can be used to negotiate http2.
 
 1, enabled
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -52,6 +54,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 07e438a0ae257d752bed664efc670e270ae6eec9..65ade8bd4ca6ba01f3ad85ea60b8696f727bceba 100644 (file)
@@ -38,6 +38,8 @@ is built to use supports it), which can be used to negotiate http2.
 
 1, enabled
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -58,6 +60,8 @@ int main(void)
 
 Deprecated since 7.86.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index f730dcb74d8760629d826401c4afc0b86576d17a..83b6b69da0f25c88bdb80d36f1b6ee1a9850bce1 100644 (file)
@@ -38,6 +38,8 @@ when performing a full handshake.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -52,6 +54,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if false start is supported by the SSL backend, otherwise
index 37639312f4f5bac3ac814ed4f8e3cf49bc2adda0..21e0d75e34669513ac296b6488cadd8f44517709 100644 (file)
@@ -90,6 +90,8 @@ could be a privacy violation and unexpected.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -108,6 +110,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index edb6fa4769053683c61fea2b054844f52d623223..1ed5a91f1e94ed974ceed81c5e84f070b63166cb 100644 (file)
@@ -41,6 +41,8 @@ wild that may require you to disable this in order for you to succeed.
 
 1
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -58,6 +60,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 9c47f6e2536c0b4bfa728109323f6c695a8ceab0..9c7715bf5a6952de7cabd4b93b3e763a7f857030 100644 (file)
@@ -87,6 +87,8 @@ may be inaccessible if SNI is not sent.
 
 2
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -104,6 +106,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if TLS is supported, and CURLE_UNKNOWN_OPTION if not.
index c054087b9065679fb07c8a85179eb063475535ce..4d4bf7c6b08b7ad7908085981ef16f33922b9b96 100644 (file)
@@ -73,6 +73,8 @@ malicious servers.
 
 1 - enabled
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -90,6 +92,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 252216866b4d79f46580a1613d602f9a85a081cd..d9ee57c0d61516120cbb986c27820774ed85337f 100644 (file)
@@ -42,6 +42,8 @@ extension, the verification fails.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -59,6 +61,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if OCSP stapling is supported by the SSL backend, otherwise
index 9e1bfcd5141da12f234e0dfb709eed6824496e9c..368944334c10be7f54b8ddcdd161cac1de7e7d6a 100644 (file)
@@ -39,6 +39,8 @@ application. A work-around is to instead use CURLOPT_DEBUGFUNCTION(3).
 
 stderr
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -55,6 +57,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index ce40a4e96d0d4c1eab8cb3d2f86f6471362e6ec2..99664423d53c28d0f82990855c1edfa4248e212c 100644 (file)
@@ -48,6 +48,8 @@ option to have an actual effect.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -67,6 +69,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 12e9e1fca06cfaf69fc638c9ef5e3cac3611dc42..158c831a11190507e5b716c53dc9f4a73cdfa0ad 100644 (file)
@@ -51,6 +51,8 @@ option to have an actual effect.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -70,6 +72,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 610d1e212e7ad6e9ec4013304b46d5062b9f7eb0..99558a199e1a0c94d42ab43cfc2a6261959a7d55 100644 (file)
@@ -48,8 +48,9 @@ streams).
 
 # DEFAULT
 
-If nothing is set, the HTTP/2 protocol itself uses its own default which is
-16.
+16
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -71,6 +72,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index f4e1ea2041229982704016f24dec09a723c8b761..b05824630bb75823dbaf5e67d4a002287f8f1e2e 100644 (file)
@@ -71,6 +71,8 @@ Content-Type: application/json
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -93,6 +95,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLE_OK or an error such as CURLE_UNKNOWN_OPTION.
index cb2fb230dec9e8343dabf4c52f6da87df058683a..8665c39d208dd5e6ef71e58a90e488c57f2eda2e 100644 (file)
@@ -38,6 +38,8 @@ Fast Open is also known to be problematic on or across certain networks.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -56,6 +58,8 @@ int main(void)
 
 This option is only supported on Linux and macOS 10.11 or later.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if fast open is supported by the operating system, otherwise
index d694c2fc9c8eba7ea5e626eacb61c95ef8fa2ec6..3d9da660dafba0ce0092a83283fd33e8d1131ce3 100644 (file)
@@ -39,6 +39,8 @@ to disable keepalive probes.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -65,6 +67,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index f0dea74e81775c6103515122a419268fdb69b82d..49963face798399d822aef0926190290a579125a 100644 (file)
@@ -39,6 +39,8 @@ Any larger value is capped to this amount.
 
 9
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -65,6 +67,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 60b94e64cc58d5d62c9449c49082de7f5d4e51e1..370ace4a2c53e1f1546609109cb51363864e21e9 100644 (file)
@@ -38,6 +38,8 @@ this amount.
 
 60
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -64,6 +66,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 307b139bef688fbe829f0075fb45f68726198d72..9d0ebc7a897bf4ff872d34c17edd4887a8666168 100644 (file)
@@ -37,6 +37,8 @@ this amount.
 
 60
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -63,6 +65,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index ee30b446f254a678ffd7293cc43e200aa83dada5..6b30b5465536ec80c9232167ca31ce211a7d26ed 100644 (file)
@@ -46,6 +46,8 @@ overdone.
 
 1
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -65,6 +67,8 @@ int main(void)
 
 The default was changed to 1 from 0 in 7.50.2.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index fbd5d254b8e2555888a4e1d7af2979bf54deaf16..34717cbed6e4e021977aa3fa055a737ed189bd04 100644 (file)
@@ -36,6 +36,8 @@ standard for details.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -56,6 +58,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if TELNET is supported, and CURLE_UNKNOWN_OPTION if not.
index b85261402e9330d4931dd6072fd4a77369db57d7..ab85fe45f724da6ad99c6cb3d264db5ba1b38c20 100644 (file)
@@ -36,6 +36,8 @@ is used.
 
 512
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -53,6 +55,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 368c1b1036d1f21224b6da5c324f33e442dc6407..098ee3944d14fc0c81a48efb515f20f063172985 100644 (file)
@@ -36,6 +36,8 @@ CURLOPT_TFTP_BLKSIZE(3) is ignored.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -68,6 +70,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 8f46bfc1c004a75a1ef90bf18f86c702347b65f5..43c679bd6b06145c8847dba1a0e364a0fa13640a 100644 (file)
@@ -40,6 +40,8 @@ option can be used after a transfer to learn if a zero-byte successful
 
 CURL_TIMECOND_NONE (0)
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -62,6 +64,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 90628f0ca44fc38d77fdc98acd1948b54c5883ba..0dc17f036790aeed70c6ab4e1bec67df6c3e4b78 100644 (file)
@@ -60,7 +60,9 @@ signals to be used unless CURLOPT_NOSIGNAL(3) is set.
 
 # DEFAULT
 
-Default timeout is 0 (zero) which means it never times out during transfer.
+0 (zero) which means it never times out during transfer.
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -79,6 +81,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK. Returns CURLE_BAD_FUNCTION_ARGUMENT if set to a negative
index 2e69201e46d71c93c29a926892903b93b166afbc..e02261d5b2442f1260b5d3b6dd90464d971d8de9 100644 (file)
@@ -35,7 +35,9 @@ See CURLOPT_TIMEOUT(3) for details.
 
 # DEFAULT
 
-Default timeout is 0 (zero) which means it never times out during transfer.
+0 (zero) which means it never times out during transfer.
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -54,6 +56,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 2563df2454ed2e8736e679c6c577fa7b76413e27..ef9b9dab1603a8f5883f6a1188d2a4cbf6304c2b 100644 (file)
@@ -38,6 +38,8 @@ instead.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -59,6 +61,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 10086b9f51f62b09107fb724bc4c2e806353158c..9ae16e4e09582cba7c6ff25041ee66594127c4dd 100644 (file)
@@ -40,6 +40,8 @@ used to set dates beyond the year 2038.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -61,6 +63,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 08cfb748e3c443763bcc81da36ecc11fe8104bf0..f9320560de793e2b8830580d697fb173e219b1de 100644 (file)
@@ -52,7 +52,9 @@ option.
 
 # DEFAULT
 
-NULL, use internal default
+NULL, use internal built-in
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -71,12 +73,14 @@ int main(void)
 }
 ~~~
 
-# NOTES
+# HISTORY
 
 Added in 7.61.0 for OpenSSL. Available when built with OpenSSL \>= 1.1.1.
 
 Added in 7.85.0 for Schannel.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if supported, CURLE_NOT_BUILT_IN otherwise.
index 2c924a832f589c001addab09dea6974edd604d0b..f97108a96f0cfb9da2caada6b991b44de2538bc5 100644 (file)
@@ -44,6 +44,8 @@ This feature relies on TLS SRP which does not work with TLS 1.3.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -62,6 +64,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 728d92cbe478c86674e603be427a626cce777f68..52c38a20d4fc1f8ede0cbe48faabb90cce474113 100644 (file)
@@ -45,6 +45,8 @@ TLS SRP does not work with TLS 1.3.
 
 blank
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -63,6 +65,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index a8cfc12e9d0eb9c22527ccb39ce6523bf5822ef7..6715f75f1386d625e70f28400da422ce64322c15 100644 (file)
@@ -43,6 +43,8 @@ This feature relies on TLS SRP which does not work with TLS 1.3.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -61,6 +63,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index 720709db36c294b9c24a66d8e84a7b6ea46700b7..bcc675303375a09c28f0a050314488ccb00b72b8 100644 (file)
@@ -32,6 +32,8 @@ Data pointer to be passed to the HTTP trailer callback function.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -49,6 +51,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK.
index b990e506cd040d3b0c498378a2e99fcce2739403..9c06a598cccbf86354c22a8e632f7e552d033c6e 100644 (file)
@@ -60,6 +60,8 @@ without any interruptions.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 ~~~c
 static int trailer_cb(struct curl_slist **tr, void *data)
@@ -101,6 +103,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK.
index ca1a4756d2dd25e16b94c33cf3ba72d20ce6353e..bde3b3164a911523f58c5da130c9d56881b26383 100644 (file)
@@ -39,6 +39,8 @@ simply sets the mode to ASCII and performs a standard transfer.
 
 0, disabled
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -55,6 +57,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if FTP is supported, and CURLE_UNKNOWN_OPTION if not.
index 0a71778248a30cbc64fca63b1e916a9cd4d2bf38..a667845606b9133985a5a8e155e4879b71d8af37 100644 (file)
@@ -44,6 +44,8 @@ by both HTTP clients and HTTP servers.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -58,6 +60,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 63faab8adb0fde683d688a7cc4d00c3986dafbb0..f5197ee62614e87160ce2d40c5846882cab1d3f2 100644 (file)
@@ -48,7 +48,9 @@ option.
 
 # DEFAULT
 
-Default is NULL, meaning that no Unix domain sockets are used.
+NULL - no Unix domain sockets are used.
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -76,6 +78,8 @@ you can use the proc filesystem to bypass the limitation:
   /* Be sure to keep dirfd valid until you discard the handle */
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 70c0c3895b7d7bdef47a51ff4f523759930e0615..010ec09f22d49d520b2228e70e5f8b0bc8d9c03c 100644 (file)
@@ -53,6 +53,8 @@ again and again as the following hosts can keep redirecting to new hosts.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -68,6 +70,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if HTTP is supported, and CURLE_UNKNOWN_OPTION if not.
index 7966a28ce702ac9e1ccb23c2a2ecb9ecaff4d297..d8cdb90e3ae7884c8dfd8eda977fa3eb8687c606 100644 (file)
@@ -42,6 +42,8 @@ is called, an HTTP/2 PING frame is sent on the connection.
 
 CURL_UPKEEP_INTERVAL_DEFAULT (currently defined as 60000L, which is 60 seconds)
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -72,6 +74,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 556bc87560ab330fa12f7b49b94d3aa43dd8f352..4576d27ff6782fa185959a2acba9ff479b4d2694 100644 (file)
@@ -28,23 +28,25 @@ CURLcode curl_easy_setopt(CURL *handle, CURLOPT_UPLOAD, long upload);
 # DESCRIPTION
 
 The long parameter *upload* set to 1 tells the library to prepare for and
-perform an upload. The CURLOPT_READDATA(3) and
-CURLOPT_INFILESIZE(3) or CURLOPT_INFILESIZE_LARGE(3) options are
-also interesting for uploads. If the protocol is HTTP, uploading means using
-the PUT request unless you tell libcurl otherwise.
+perform an upload. The CURLOPT_READDATA(3) and CURLOPT_INFILESIZE(3) or
+CURLOPT_INFILESIZE_LARGE(3) options are also interesting for uploads. If the
+protocol is HTTP, uploading means using the PUT request unless you tell
+libcurl otherwise.
 
 Using PUT with HTTP 1.1 implies the use of a "Expect: 100-continue" header.
 You can disable this header with CURLOPT_HTTPHEADER(3) as usual.
 
 If you use PUT to an HTTP 1.1 server, you can upload data without knowing the
 size before starting the transfer. The library enables this by adding a header
-"Transfer-Encoding: chunked". With HTTP 1.0 or if you prefer not to use chunked
-transfer, you must specify the size of the data with
+"Transfer-Encoding: chunked". With HTTP 1.0 or if you prefer not to use
+chunked transfer, you must specify the size of the data with
 CURLOPT_INFILESIZE(3) or CURLOPT_INFILESIZE_LARGE(3).
 
 # DEFAULT
 
-0, default is download
+0
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -87,6 +89,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index cb02cffacc070729b80397430a09d8fcfce06b4e..72a4b64d5038ce0cf38b6d0ef6fe1bca5cb1cfa7 100644 (file)
@@ -50,6 +50,8 @@ transfer as that may lead to unintended consequences.
 
 65536 bytes
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -70,6 +72,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 77b7a7017934f9e50c4ed716ea4927f6b2c90db5..45d8239872d478f71d30ad325fa6ca7c93a62828 100644 (file)
@@ -88,8 +88,7 @@ specified when passed to the name resolver functions.
 
 # DEFAULT
 
-There is no default URL. If this option is not set, no transfer can be
-performed.
+NULL. If this option is not set, no transfer can be performed.
 
 # SECURITY CONCERNS
 
@@ -116,6 +115,8 @@ User provided URLs can also be made to point to sites that redirect further on
 (possibly to other protocols too). Consider your
 CURLOPT_FOLLOWLOCATION(3) and CURLOPT_REDIR_PROTOCOLS_STR(3) settings.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -130,6 +131,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK on success or CURLE_OUT_OF_MEMORY if there was insufficient
index d20513b08079a93e30ec2762dbf9c3ab9f48ca05..1aeb1c9ab5afc9b7ace222911f65c923e657d08b 100644 (file)
@@ -37,7 +37,9 @@ option.
 
 # DEFAULT
 
-NULL, no User-Agent: header is used by default.
+NULL, no User-Agent: header is used.
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -55,6 +57,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if HTTP is supported, CURLE_UNKNOWN_OPTION if not, or
index cd104f7b93f5ce44f6d36df88814a2854939d18c..7274219468514865ee41966534f3d7d90b52be54 100644 (file)
@@ -61,6 +61,8 @@ option.
 
 blank
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -80,6 +82,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index cf9d6dac3a628f8fb367c83f0e1f850a0ccd330f..3d5e34d0131d1717e7b67059427f9301a01f9eee 100644 (file)
@@ -67,6 +67,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -86,6 +88,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK on success or
index 6fe78825a78302730bc492eae25f0f35596a9f1b..c74be586b70c980d5a8dfcd0e0363c099f940db1 100644 (file)
@@ -59,6 +59,8 @@ Require SSL for all communication or fail with *CURLE_USE_SSL_FAILED*.
 
 CURLUSESSL_NONE
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -83,6 +85,8 @@ 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.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 96191ea00e43f19c17fdddeb0ceb734e57bd6027..b242fcbc45838bfc691720a732cc5b7d7acae517 100644 (file)
@@ -43,6 +43,8 @@ CURLOPT_DEBUGFUNCTION(3).
 
 0, meaning disabled.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -61,6 +63,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index 5e21a9e5e3618785000ecbe5cdad4c51bf3b5ffb..e6ca3d65569ef04c87337161c39abbcede799cbf 100644 (file)
@@ -77,6 +77,8 @@ Using the rules above, a filename pattern can be constructed:
 
     ftp://example.com/some/path/[a-z[:upper:]\\].jpg
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -101,6 +103,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 7d4e64fdafec034a89d9e8c454a8530b38b40759..c042a19e02182a53715f36f03a3c16a90251fb2f 100644 (file)
@@ -42,7 +42,9 @@ crashes.
 
 # DEFAULT
 
-By default, this is a FILE * to stdout.
+stdout
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -57,6 +59,8 @@ https://curl.se/libcurl/c/getinmemory.html
 This option was formerly known as CURLOPT_FILE, the name CURLOPT_WRITEDATA(3)
 was added in 7.9.7.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 This returns CURLE_OK.
index ea67809ef77bb7b11e23349b8f7da17eccdb41a8..022f5da0b04adaa0240dbf58e2bf298c450a3d69 100644 (file)
@@ -73,7 +73,9 @@ do that.
 
 # DEFAULT
 
-libcurl uses 'fwrite' as a callback by default.
+fwrite(3)
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -130,6 +132,8 @@ int main(void)
 
 Support for the CURL_WRITEFUNC_PAUSE return code was added in version 7.18.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 This returns CURLE_OK.
index a72eafcdfd8e20e170ba9f899a553e10fd0274a6..3eba3705fff4abfac8f4fe64ed9dda643d6f0f91 100644 (file)
@@ -48,6 +48,8 @@ application.
 
 0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -65,6 +67,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
index 6b83fe3a78bcd466fa6505460384af8529aefcfd..4ed174effd60caaa689ee91ea4f6dc584b3e7ad6 100644 (file)
@@ -34,7 +34,9 @@ This is an alias for CURLOPT_PROGRESSDATA(3).
 
 # DEFAULT
 
-The default value of this parameter is NULL.
+NULL
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -70,6 +72,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK
index ce787d061c5608d53cecce88547919ac3daffce8..a7c130a5066b97a68e68929d539f72854686a4bd 100644 (file)
@@ -71,8 +71,9 @@ get called.
 
 # DEFAULT
 
-By default, libcurl has an internal progress meter. That is rarely wanted by
-users.
+NULL - use the internal progress meter. That is rarely wanted by users.
+
+# %PROTOCOLS%
 
 # EXAMPLE
 
@@ -113,6 +114,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK.
index 5b0dd156e6fabc72e40ab942bf089f17ca20abb3..061a1f69b938b561769aa35a747607e85d9f1b88 100644 (file)
@@ -44,6 +44,8 @@ option.
 
 NULL
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -64,6 +66,8 @@ int main(void)
 
 Support for OpenLDAP added in 7.82.0.
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 Returns CURLE_OK if the option is supported, CURLE_UNKNOWN_OPTION if not, or
index e88f4c0af40a711ae4a6d39c22839e629db0bb12..208dfdd62a1e66e317e2237975f006a8169ecf90 100644 (file)
@@ -49,6 +49,8 @@ sure that the callback uses a different lock for each kind of data.
 *clientp* is the private pointer you set with CURLSHOPT_USERDATA(3).
 This pointer is not used by libcurl itself.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -65,6 +67,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLSHE_OK (zero) means that the option was set properly, non-zero means an
index 68246ac892bc074005bcbe06a755eaf6c4be6d34..78e4781a3b39f7f19884f52e58c87ae8c82e3cf9 100644 (file)
@@ -92,6 +92,8 @@ It is not supported to share the HSTS between multiple concurrent threads.
 
 Added in 7.88.0
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -105,6 +107,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLSHE_OK (zero) means that the option was set properly, non-zero means an
index d1111d42fdf79ba25676f7898a5654eed005d4bc..503918231d90194d1329523a78fdb2e38500d162 100644 (file)
@@ -45,6 +45,8 @@ sure that the callback uses a different lock for each kind of data.
 *clientp* is the private pointer you set with CURLSHOPT_USERDATA(3).
 This pointer is not used by libcurl itself.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -60,6 +62,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLSHE_OK (zero) means that the option was set properly, non-zero means an
index d92420be779f042ba5ee9176299e1907ab6aca5d..43edb4d256c6f6cedf35e44b5bba949e283ee0df 100644 (file)
@@ -59,6 +59,8 @@ The connection cache is no longer shared.
 
 The Public Suffix List is no longer shared.
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -72,6 +74,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLSHE_OK (zero) means that the option was set properly, non-zero means an
index e25504167477c17509180cfda967f0419f539337..5796ce21b2f28c3667dc1d8ec37c56674654a879 100644 (file)
@@ -32,6 +32,8 @@ The *clientp* parameter is held verbatim by libcurl and is passed on as
 the *clientp* argument to the callbacks set with
 CURLSHOPT_LOCKFUNC(3) and CURLSHOPT_UNLOCKFUNC(3).
 
+# %PROTOCOLS%
+
 # EXAMPLE
 
 ~~~c
@@ -50,6 +52,8 @@ int main(void)
 }
 ~~~
 
+# %AVAILABILITY%
+
 # RETURN VALUE
 
 CURLSHE_OK (zero) means that the option was set properly, non-zero means an
index 4763b528dce08cd10da5c260b7e7d569b7fa6529..00b2cc05e0e219a02d4b65f632134d98a9981050 100755 (executable)
@@ -103,15 +103,25 @@ sub outprotocols {
     push @o, ".SH PROTOCOLS\n";
 
     if($p[0] eq "TLS") {
-        push @o, "All TLS based protocols: HTTPS, FTPS, IMAPS, POP3S, SMTPS etc.";
+        push @o, "This functionality affects all TLS based protocols: HTTPS, FTPS, IMAPS, POP3S, SMTPS etc.";
     }
     else {
         my @s = sort @p;
+        push @o, "This functionality affects ";
         for my $e (sort @s) {
-            push @o, sprintf "%s$e",
-                $comma ? (($e eq $s[-1]) ? " and " : ", "): "";
+            push @o, sprintf "%s%s",
+                $comma ? (($e eq $s[-1]) ? " and " : ", "): "",
+                lc($e);
             $comma = 1;
         }
+        if($#s == 0) {
+            if($s[0] eq "All") {
+                push @o, " supported protocols";
+            }
+            else {
+                push @o, " only";
+            }
+        }
     }
     push @o, "\n";
     return @o;
@@ -447,20 +457,24 @@ sub single {
             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
+            elsif($word eq "%PROTOCOLS%") {
+                # insert the generated PROTOCOLS section
                 push @desc, outprotocols(@proto);
 
                 if($proto[0] eq "TLS") {
                     push @desc, outtls(@tls);
                 }
+                $header = 1;
+                next;
             }
-            elsif($word eq "RETURN VALUE") {
+            elsif($word eq "%AVAILABILITY%") {
                 if($addedin ne "n/a") {
-                    # insert the generated AVAILABILITY section before RETURN VALUE
+                    # insert the generated AVAILABILITY section
                     push @desc, ".SH AVAILABILITY\n";
                     push @desc, "Added in curl $addedin\n";
                 }
+                $header = 1;
+                next;
             }
             push @desc, ".SH $word\n";
             $header = 1;