Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
curl.h File Reference
#include "curlver.h"
#include "system.h"
#include <stdio.h>
#include <limits.h>
#include <sys/types.h>
#include <time.h>
#include <sys/socket.h>
#include <sys/time.h>
#include "easy.h"
#include "multi.h"
#include "urlapi.h"
#include "options.h"
#include "header.h"
#include "websockets.h"
#include "mprintf.h"

Go to the source code of this file.

Data Structures

struct  curl_httppost
 
struct  curl_fileinfo
 
struct  curl_sockaddr
 
struct  curl_khkey
 
struct  curl_hstsentry
 
struct  curl_index
 
struct  curl_forms
 
struct  curl_slist
 
struct  curl_ssl_backend
 
struct  curl_certinfo
 
struct  curl_tlssessioninfo
 
struct  curl_version_info_data
 

Macros

#define CURL_DEPRECATED(version, message)
 
#define CURL_IGNORE_DEPRECATION(statements)   statements
 
#define __has_declspec_attribute(x)   0
 
#define CURL_EXTERN
 
#define CURL_SOCKET_BAD   -1
 
#define curl_socket_typedef
 
#define CURLSSLBACKEND_AWSLC   CURLSSLBACKEND_OPENSSL
 
#define CURLSSLBACKEND_BORINGSSL   CURLSSLBACKEND_OPENSSL
 
#define CURLSSLBACKEND_LIBRESSL   CURLSSLBACKEND_OPENSSL
 
#define CURLSSLBACKEND_CYASSL   CURLSSLBACKEND_WOLFSSL
 
#define CURLSSLBACKEND_DARWINSSL   CURLSSLBACKEND_SECURETRANSPORT
 
#define CURL_HTTPPOST_FILENAME   (1<<0)
 
#define CURL_HTTPPOST_READFILE   (1<<1)
 
#define CURL_HTTPPOST_PTRNAME   (1<<2)
 
#define CURL_HTTPPOST_PTRCONTENTS   (1<<3)
 
#define CURL_HTTPPOST_BUFFER   (1<<4)
 
#define CURL_HTTPPOST_PTRBUFFER   (1<<5)
 
#define CURL_HTTPPOST_CALLBACK   (1<<6)
 
#define CURL_HTTPPOST_LARGE   (1<<7)
 
#define CURL_PROGRESSFUNC_CONTINUE   0x10000001
 
#define CURL_MAX_READ_SIZE   (10*1024*1024)
 
#define CURL_MAX_WRITE_SIZE   16384
 
#define CURL_MAX_HTTP_HEADER   (100*1024)
 
#define CURL_WRITEFUNC_PAUSE   0x10000001
 
#define CURL_WRITEFUNC_ERROR   0xFFFFFFFF
 
#define CURLFINFOFLAG_KNOWN_FILENAME   (1<<0)
 
#define CURLFINFOFLAG_KNOWN_FILETYPE   (1<<1)
 
#define CURLFINFOFLAG_KNOWN_TIME   (1<<2)
 
#define CURLFINFOFLAG_KNOWN_PERM   (1<<3)
 
#define CURLFINFOFLAG_KNOWN_UID   (1<<4)
 
#define CURLFINFOFLAG_KNOWN_GID   (1<<5)
 
#define CURLFINFOFLAG_KNOWN_SIZE   (1<<6)
 
#define CURLFINFOFLAG_KNOWN_HLINKCOUNT   (1<<7)
 
#define CURL_CHUNK_BGN_FUNC_OK   0
 
#define CURL_CHUNK_BGN_FUNC_FAIL   1 /* tell the lib to end the task */
 
#define CURL_CHUNK_BGN_FUNC_SKIP   2 /* skip this chunk over */
 
#define CURL_CHUNK_END_FUNC_OK   0
 
#define CURL_CHUNK_END_FUNC_FAIL   1 /* tell the lib to end the task */
 
#define CURL_FNMATCHFUNC_MATCH   0 /* string corresponds to the pattern */
 
#define CURL_FNMATCHFUNC_NOMATCH   1 /* pattern does not match the string */
 
#define CURL_FNMATCHFUNC_FAIL   2 /* an error occurred */
 
#define CURL_SEEKFUNC_OK   0
 
#define CURL_SEEKFUNC_FAIL   1 /* fail the entire transfer */
 
#define CURL_SEEKFUNC_CANTSEEK
 
#define CURL_READFUNC_ABORT   0x10000000
 
#define CURL_READFUNC_PAUSE   0x10000001
 
#define CURL_TRAILERFUNC_OK   0
 
#define CURL_TRAILERFUNC_ABORT   1
 
#define CURL_SOCKOPT_OK   0
 
#define CURL_SOCKOPT_ERROR
 
#define CURL_SOCKOPT_ALREADY_CONNECTED   2
 
#define CURL_DID_MEMORY_FUNC_TYPEDEFS
 
#define CURL_PREREQFUNC_OK   0
 
#define CURL_PREREQFUNC_ABORT   1
 
#define CURLE_FUNCTION_NOT_FOUND   CURLE_OBSOLETE41
 
#define CURLE_HTTP_POST_ERROR   CURLE_OBSOLETE34
 
#define CURLE_OBSOLETE16   CURLE_HTTP2
 
#define CURLE_OBSOLETE10   CURLE_FTP_ACCEPT_FAILED
 
#define CURLE_OBSOLETE12   CURLE_FTP_ACCEPT_TIMEOUT
 
#define CURLOPT_ENCODING   CURLOPT_ACCEPT_ENCODING
 
#define CURLE_FTP_WEIRD_SERVER_REPLY   CURLE_WEIRD_SERVER_REPLY
 
#define CURLE_SSL_CACERT   CURLE_PEER_FAILED_VERIFICATION
 
#define CURLE_UNKNOWN_TELNET_OPTION   CURLE_UNKNOWN_OPTION
 
#define CURLE_TELNET_OPTION_SYNTAX   CURLE_SETOPT_OPTION_SYNTAX
 
#define CURLE_SSL_PEER_CERTIFICATE   CURLE_PEER_FAILED_VERIFICATION
 
#define CURLE_OBSOLETE   CURLE_OBSOLETE50 /* no one should be using this! */
 
#define CURLE_BAD_PASSWORD_ENTERED   CURLE_OBSOLETE46
 
#define CURLE_BAD_CALLING_ORDER   CURLE_OBSOLETE44
 
#define CURLE_FTP_USER_PASSWORD_INCORRECT   CURLE_OBSOLETE10
 
#define CURLE_FTP_CANT_RECONNECT   CURLE_OBSOLETE16
 
#define CURLE_FTP_COULDNT_GET_SIZE   CURLE_OBSOLETE32
 
#define CURLE_FTP_COULDNT_SET_ASCII   CURLE_OBSOLETE29
 
#define CURLE_FTP_WEIRD_USER_REPLY   CURLE_OBSOLETE12
 
#define CURLE_FTP_WRITE_ERROR   CURLE_OBSOLETE20
 
#define CURLE_LIBRARY_NOT_FOUND   CURLE_OBSOLETE40
 
#define CURLE_MALFORMAT_USER   CURLE_OBSOLETE24
 
#define CURLE_SHARE_IN_USE   CURLE_OBSOLETE57
 
#define CURLE_URL_MALFORMAT_USER   CURLE_NOT_BUILT_IN
 
#define CURLE_FTP_ACCESS_DENIED   CURLE_REMOTE_ACCESS_DENIED
 
#define CURLE_FTP_COULDNT_SET_BINARY   CURLE_FTP_COULDNT_SET_TYPE
 
#define CURLE_FTP_QUOTE_ERROR   CURLE_QUOTE_ERROR
 
#define CURLE_TFTP_DISKFULL   CURLE_REMOTE_DISK_FULL
 
#define CURLE_TFTP_EXISTS   CURLE_REMOTE_FILE_EXISTS
 
#define CURLE_HTTP_RANGE_ERROR   CURLE_RANGE_ERROR
 
#define CURLE_FTP_SSL_FAILED   CURLE_USE_SSL_FAILED
 
#define CURLE_OPERATION_TIMEOUTED   CURLE_OPERATION_TIMEDOUT
 
#define CURLE_HTTP_NOT_FOUND   CURLE_HTTP_RETURNED_ERROR
 
#define CURLE_HTTP_PORT_FAILED   CURLE_INTERFACE_FAILED
 
#define CURLE_FTP_COULDNT_STOR_FILE   CURLE_UPLOAD_FAILED
 
#define CURLE_FTP_PARTIAL_FILE   CURLE_PARTIAL_FILE
 
#define CURLE_FTP_BAD_DOWNLOAD_RESUME   CURLE_BAD_DOWNLOAD_RESUME
 
#define CURLE_LDAP_INVALID_URL   CURLE_OBSOLETE62
 
#define CURLE_CONV_REQD   CURLE_OBSOLETE76
 
#define CURLE_CONV_FAILED   CURLE_OBSOLETE75
 
#define CURLE_ALREADY_COMPLETE   99999
 
#define CURLOPT_FILE   CURLOPT_WRITEDATA /* name changed in 7.9.7 */
 
#define CURLOPT_INFILE   CURLOPT_READDATA /* name changed in 7.9.7 */
 
#define CURLOPT_WRITEHEADER   CURLOPT_HEADERDATA
 
#define CURLOPT_WRITEINFO   CURLOPT_OBSOLETE40
 
#define CURLOPT_CLOSEPOLICY   CURLOPT_OBSOLETE72
 
#define CURLOPT_OBSOLETE72   9999
 
#define CURLOPT_OBSOLETE40   9999
 
#define CURLAUTH_NONE   ((unsigned long)0)
 
#define CURLAUTH_BASIC   (((unsigned long)1)<<0)
 
#define CURLAUTH_DIGEST   (((unsigned long)1)<<1)
 
#define CURLAUTH_NEGOTIATE   (((unsigned long)1)<<2)
 
#define CURLAUTH_GSSNEGOTIATE   CURLAUTH_NEGOTIATE
 
#define CURLAUTH_GSSAPI   CURLAUTH_NEGOTIATE
 
#define CURLAUTH_NTLM   (((unsigned long)1)<<3)
 
#define CURLAUTH_DIGEST_IE   (((unsigned long)1)<<4)
 
#define CURLAUTH_NTLM_WB   (((unsigned long)1)<<5)
 
#define CURLAUTH_BEARER   (((unsigned long)1)<<6)
 
#define CURLAUTH_AWS_SIGV4   (((unsigned long)1)<<7)
 
#define CURLAUTH_ONLY   (((unsigned long)1)<<31)
 
#define CURLAUTH_ANY   (~CURLAUTH_DIGEST_IE)
 
#define CURLAUTH_ANYSAFE   (~(CURLAUTH_BASIC|CURLAUTH_DIGEST_IE))
 
#define CURLSSH_AUTH_ANY   ~0 /* all types supported by the server */
 
#define CURLSSH_AUTH_NONE   0 /* none allowed, silly but complete */
 
#define CURLSSH_AUTH_PUBLICKEY   (1<<0) /* public/private key files */
 
#define CURLSSH_AUTH_PASSWORD   (1<<1) /* password */
 
#define CURLSSH_AUTH_HOST   (1<<2) /* host key files */
 
#define CURLSSH_AUTH_KEYBOARD   (1<<3) /* keyboard interactive */
 
#define CURLSSH_AUTH_AGENT   (1<<4) /* agent (ssh-agent, pageant...) */
 
#define CURLSSH_AUTH_GSSAPI   (1<<5) /* gssapi (kerberos, ...) */
 
#define CURLSSH_AUTH_DEFAULT   CURLSSH_AUTH_ANY
 
#define CURLGSSAPI_DELEGATION_NONE   0 /* no delegation (default) */
 
#define CURLGSSAPI_DELEGATION_POLICY_FLAG   (1<<0) /* if permitted by policy */
 
#define CURLGSSAPI_DELEGATION_FLAG   (1<<1) /* delegate always */
 
#define CURL_ERROR_SIZE   256
 
#define CURLSSLOPT_ALLOW_BEAST   (1<<0)
 
#define CURLSSLOPT_NO_REVOKE   (1<<1)
 
#define CURLSSLOPT_NO_PARTIALCHAIN   (1<<2)
 
#define CURLSSLOPT_REVOKE_BEST_EFFORT   (1<<3)
 
#define CURLSSLOPT_NATIVE_CA   (1<<4)
 
#define CURLSSLOPT_AUTO_CLIENT_CERT   (1<<5)
 
#define CURLSSLOPT_EARLYDATA   (1<<6)
 
#define CURL_HET_DEFAULT   200L
 
#define CURL_UPKEEP_INTERVAL_DEFAULT   60000L
 
#define CURLFTPSSL_NONE   CURLUSESSL_NONE
 
#define CURLFTPSSL_TRY   CURLUSESSL_TRY
 
#define CURLFTPSSL_CONTROL   CURLUSESSL_CONTROL
 
#define CURLFTPSSL_ALL   CURLUSESSL_ALL
 
#define CURLFTPSSL_LAST   CURLUSESSL_LAST
 
#define curl_ftpssl   curl_usessl
 
#define CURLHEADER_UNIFIED   0
 
#define CURLHEADER_SEPARATE   (1<<0)
 
#define CURLALTSVC_READONLYFILE   (1<<2)
 
#define CURLALTSVC_H1   (1<<3)
 
#define CURLALTSVC_H2   (1<<4)
 
#define CURLALTSVC_H3   (1<<5)
 
#define CURLHSTS_ENABLE   (long)(1<<0)
 
#define CURLHSTS_READONLYFILE   (long)(1<<1)
 
#define CURLPROTO_HTTP   (1<<0)
 
#define CURLPROTO_HTTPS   (1<<1)
 
#define CURLPROTO_FTP   (1<<2)
 
#define CURLPROTO_FTPS   (1<<3)
 
#define CURLPROTO_SCP   (1<<4)
 
#define CURLPROTO_SFTP   (1<<5)
 
#define CURLPROTO_TELNET   (1<<6)
 
#define CURLPROTO_LDAP   (1<<7)
 
#define CURLPROTO_LDAPS   (1<<8)
 
#define CURLPROTO_DICT   (1<<9)
 
#define CURLPROTO_FILE   (1<<10)
 
#define CURLPROTO_TFTP   (1<<11)
 
#define CURLPROTO_IMAP   (1<<12)
 
#define CURLPROTO_IMAPS   (1<<13)
 
#define CURLPROTO_POP3   (1<<14)
 
#define CURLPROTO_POP3S   (1<<15)
 
#define CURLPROTO_SMTP   (1<<16)
 
#define CURLPROTO_SMTPS   (1<<17)
 
#define CURLPROTO_RTSP   (1<<18)
 
#define CURLPROTO_RTMP   (1<<19)
 
#define CURLPROTO_RTMPT   (1<<20)
 
#define CURLPROTO_RTMPE   (1<<21)
 
#define CURLPROTO_RTMPTE   (1<<22)
 
#define CURLPROTO_RTMPS   (1<<23)
 
#define CURLPROTO_RTMPTS   (1<<24)
 
#define CURLPROTO_GOPHER   (1<<25)
 
#define CURLPROTO_SMB   (1<<26)
 
#define CURLPROTO_SMBS   (1<<27)
 
#define CURLPROTO_MQTT   (1<<28)
 
#define CURLPROTO_GOPHERS   (1<<29)
 
#define CURLPROTO_ALL   (~0) /* enable everything */
 
#define CURLOPTTYPE_LONG   0
 
#define CURLOPTTYPE_OBJECTPOINT   10000
 
#define CURLOPTTYPE_FUNCTIONPOINT   20000
 
#define CURLOPTTYPE_OFF_T   30000
 
#define CURLOPTTYPE_BLOB   40000
 
#define CURLOPT(na, t, nu)   na = t + nu
 
#define CURLOPTDEPRECATED(na, t, nu, v, m)   na CURL_DEPRECATED(v,m) = t + nu
 
#define CURLOPTTYPE_STRINGPOINT   CURLOPTTYPE_OBJECTPOINT
 
#define CURLOPTTYPE_SLISTPOINT   CURLOPTTYPE_OBJECTPOINT
 
#define CURLOPTTYPE_CBPOINT   CURLOPTTYPE_OBJECTPOINT
 
#define CURLOPTTYPE_VALUES   CURLOPTTYPE_LONG
 
#define CURLOPT_PROGRESSDATA   CURLOPT_XFERINFODATA
 
#define CURLOPT_POST301   CURLOPT_POSTREDIR
 
#define CURLOPT_SSLKEYPASSWD   CURLOPT_KEYPASSWD
 
#define CURLOPT_FTPAPPEND   CURLOPT_APPEND
 
#define CURLOPT_FTPLISTONLY   CURLOPT_DIRLISTONLY
 
#define CURLOPT_FTP_SSL   CURLOPT_USE_SSL
 
#define CURLOPT_SSLCERTPASSWD   CURLOPT_KEYPASSWD
 
#define CURLOPT_KRB4LEVEL   CURLOPT_KRBLEVEL
 
#define CURLOPT_FTP_RESPONSE_TIMEOUT   CURLOPT_SERVER_RESPONSE_TIMEOUT
 
#define CURLOPT_MAIL_RCPT_ALLLOWFAILS   CURLOPT_MAIL_RCPT_ALLOWFAILS
 
#define CURL_IPRESOLVE_WHATEVER
 
#define CURL_IPRESOLVE_V4   1 /* uses only IPv4 addresses/connections */
 
#define CURL_IPRESOLVE_V6   2 /* uses only IPv6 addresses/connections */
 
#define CURLOPT_RTSPHEADER   CURLOPT_HTTPHEADER
 
#define CURL_HTTP_VERSION_2   CURL_HTTP_VERSION_2_0
 
#define CURL_SSLVERSION_DEFAULT   0
 
#define CURL_SSLVERSION_TLSv1   1 /* TLS 1.x */
 
#define CURL_SSLVERSION_SSLv2   2
 
#define CURL_SSLVERSION_SSLv3   3
 
#define CURL_SSLVERSION_TLSv1_0   4
 
#define CURL_SSLVERSION_TLSv1_1   5
 
#define CURL_SSLVERSION_TLSv1_2   6
 
#define CURL_SSLVERSION_TLSv1_3   7
 
#define CURL_SSLVERSION_LAST   8 /* never use, keep last */
 
#define CURL_SSLVERSION_MAX_NONE   0
 
#define CURL_SSLVERSION_MAX_DEFAULT   (CURL_SSLVERSION_TLSv1 << 16)
 
#define CURL_SSLVERSION_MAX_TLSv1_0   (CURL_SSLVERSION_TLSv1_0 << 16)
 
#define CURL_SSLVERSION_MAX_TLSv1_1   (CURL_SSLVERSION_TLSv1_1 << 16)
 
#define CURL_SSLVERSION_MAX_TLSv1_2   (CURL_SSLVERSION_TLSv1_2 << 16)
 
#define CURL_SSLVERSION_MAX_TLSv1_3   (CURL_SSLVERSION_TLSv1_3 << 16)
 
#define CURL_SSLVERSION_MAX_LAST   (CURL_SSLVERSION_LAST << 16)
 
#define CURL_REDIR_GET_ALL   0
 
#define CURL_REDIR_POST_301   1
 
#define CURL_REDIR_POST_302   2
 
#define CURL_REDIR_POST_303   4
 
#define CURL_REDIR_POST_ALL    (CURL_REDIR_POST_301|CURL_REDIR_POST_302|CURL_REDIR_POST_303)
 
#define CURL_ZERO_TERMINATED   ((size_t) -1)
 
#define CURLMIMEOPT_FORMESCAPE   (1<<0) /* Use backslash-escaping for forms. */
 
#define CURLINFO_STRING   0x100000
 
#define CURLINFO_LONG   0x200000
 
#define CURLINFO_DOUBLE   0x300000
 
#define CURLINFO_SLIST   0x400000
 
#define CURLINFO_PTR   0x400000 /* same as SLIST */
 
#define CURLINFO_SOCKET   0x500000
 
#define CURLINFO_OFF_T   0x600000
 
#define CURLINFO_MASK   0x0fffff
 
#define CURLINFO_TYPEMASK   0xf00000
 
#define CURLINFO_HTTP_CODE   CURLINFO_RESPONSE_CODE
 
#define CURL_GLOBAL_SSL   (1<<0) /* no purpose since 7.57.0 */
 
#define CURL_GLOBAL_WIN32   (1<<1)
 
#define CURL_GLOBAL_ALL   (CURL_GLOBAL_SSL|CURL_GLOBAL_WIN32)
 
#define CURL_GLOBAL_NOTHING   0
 
#define CURL_GLOBAL_DEFAULT   CURL_GLOBAL_ALL
 
#define CURL_GLOBAL_ACK_EINTR   (1<<2)
 
#define CURLVERSION_NOW   CURLVERSION_TWELFTH
 
#define CURL_VERSION_IPV6   (1<<0) /* IPv6-enabled */
 
#define CURL_VERSION_KERBEROS4
 
#define CURL_VERSION_SSL   (1<<2) /* SSL options are present */
 
#define CURL_VERSION_LIBZ   (1<<3) /* libz features are present */
 
#define CURL_VERSION_NTLM   (1<<4) /* NTLM auth is supported */
 
#define CURL_VERSION_GSSNEGOTIATE
 
#define CURL_VERSION_DEBUG   (1<<6) /* Built with debug capabilities */
 
#define CURL_VERSION_ASYNCHDNS   (1<<7) /* Asynchronous DNS resolves */
 
#define CURL_VERSION_SPNEGO   (1<<8) /* SPNEGO auth is supported */
 
#define CURL_VERSION_LARGEFILE   (1<<9) /* Supports files larger than 2GB */
 
#define CURL_VERSION_IDN
 
#define CURL_VERSION_SSPI   (1<<11) /* Built against Windows SSPI */
 
#define CURL_VERSION_CONV   (1<<12) /* Character conversions supported */
 
#define CURL_VERSION_CURLDEBUG   (1<<13) /* Debug memory tracking supported */
 
#define CURL_VERSION_TLSAUTH_SRP   (1<<14) /* TLS-SRP auth is supported */
 
#define CURL_VERSION_NTLM_WB
 
#define CURL_VERSION_HTTP2   (1<<16) /* HTTP2 support built-in */
 
#define CURL_VERSION_GSSAPI   (1<<17) /* Built against a GSS-API library */
 
#define CURL_VERSION_KERBEROS5   (1<<18) /* Kerberos V5 auth is supported */
 
#define CURL_VERSION_UNIX_SOCKETS   (1<<19) /* Unix domain sockets support */
 
#define CURL_VERSION_PSL
 
#define CURL_VERSION_HTTPS_PROXY   (1<<21) /* HTTPS-proxy support built-in */
 
#define CURL_VERSION_MULTI_SSL   (1<<22) /* Multiple SSL backends available */
 
#define CURL_VERSION_BROTLI   (1<<23) /* Brotli features are present. */
 
#define CURL_VERSION_ALTSVC   (1<<24) /* Alt-Svc handling built-in */
 
#define CURL_VERSION_HTTP3   (1<<25) /* HTTP3 support built-in */
 
#define CURL_VERSION_ZSTD   (1<<26) /* zstd features are present */
 
#define CURL_VERSION_UNICODE   (1<<27) /* Unicode support on Windows */
 
#define CURL_VERSION_HSTS   (1<<28) /* HSTS is supported */
 
#define CURL_VERSION_GSASL   (1<<29) /* libgsasl is supported */
 
#define CURL_VERSION_THREADSAFE   (1<<30) /* libcurl API is thread-safe */
 
#define CURLPAUSE_RECV   (1<<0)
 
#define CURLPAUSE_RECV_CONT   (0)
 
#define CURLPAUSE_SEND   (1<<2)
 
#define CURLPAUSE_SEND_CONT   (0)
 
#define CURLPAUSE_ALL   (CURLPAUSE_RECV|CURLPAUSE_SEND)
 
#define CURLPAUSE_CONT   (CURLPAUSE_RECV_CONT|CURLPAUSE_SEND_CONT)
 

Typedefs

typedef void CURL
 
typedef void CURLSH
 
typedef int curl_socket_t
 
typedef int(* curl_progress_callback) (void *clientp, double dltotal, double dlnow, double ultotal, double ulnow)
 
typedef int(* curl_xferinfo_callback) (void *clientp, curl_off_t dltotal, curl_off_t dlnow, curl_off_t ultotal, curl_off_t ulnow)
 
typedef size_t(* curl_write_callback) (char *buffer, size_t size, size_t nitems, void *outstream)
 
typedef int(* curl_resolver_start_callback) (void *resolver_state, void *reserved, void *userdata)
 
typedef long(* curl_chunk_bgn_callback) (const void *transfer_info, void *ptr, int remains)
 
typedef long(* curl_chunk_end_callback) (void *ptr)
 
typedef int(* curl_fnmatch_callback) (void *ptr, const char *pattern, const char *string)
 
typedef int(* curl_seek_callback) (void *instream, curl_off_t offset, int origin)
 
typedef size_t(* curl_read_callback) (char *buffer, size_t size, size_t nitems, void *instream)
 
typedef int(* curl_trailer_callback) (struct curl_slist **list, void *userdata)
 
typedef int(* curl_sockopt_callback) (void *clientp, curl_socket_t curlfd, curlsocktype purpose)
 
typedef curl_socket_t(* curl_opensocket_callback) (void *clientp, curlsocktype purpose, struct curl_sockaddr *address)
 
typedef int(* curl_closesocket_callback) (void *clientp, curl_socket_t item)
 
typedef curlioerr(* curl_ioctl_callback) (CURL *handle, int cmd, void *clientp)
 
typedef void *(* curl_malloc_callback) (size_t size)
 
typedef void(* curl_free_callback) (void *ptr)
 
typedef void *(* curl_realloc_callback) (void *ptr, size_t size)
 
typedef char *(* curl_strdup_callback) (const char *str)
 
typedef void *(* curl_calloc_callback) (size_t nmemb, size_t size)
 
typedef int(* curl_debug_callback) (CURL *handle, curl_infotype type, char *data, size_t size, void *userptr)
 
typedef int(* curl_prereq_callback) (void *clientp, char *conn_primary_ip, char *conn_local_ip, int conn_primary_port, int conn_local_port)
 
typedef CURLcode(* curl_conv_callback) (char *buffer, size_t length)
 
typedef CURLcode(* curl_ssl_ctx_callback) (CURL *curl, void *ssl_ctx, void *userptr)
 
typedef int(* curl_sshkeycallback) (CURL *easy, const struct curl_khkey *knownkey, const struct curl_khkey *foundkey, enum curl_khmatch, void *clientp)
 
typedef int(* curl_sshhostkeycallback) (void *clientp, int keytype, const char *key, size_t keylen)
 
typedef CURLSTScode(* curl_hstsread_callback) (CURL *easy, struct curl_hstsentry *e, void *userp)
 
typedef CURLSTScode(* curl_hstswrite_callback) (CURL *easy, struct curl_hstsentry *e, struct curl_index *i, void *userp)
 
typedef struct curl_mime curl_mime
 
typedef struct curl_mimepart curl_mimepart
 
typedef struct curl_ssl_backend curl_ssl_backend
 
typedef void(* curl_lock_function) (CURL *handle, curl_lock_data data, curl_lock_access locktype, void *userptr)
 
typedef void(* curl_unlock_function) (CURL *handle, curl_lock_data data, void *userptr)
 
typedef struct curl_version_info_data curl_version_info_data
 
typedef CURLcode curl_ssls_export_cb(CURL *handle, void *userptr, const char *session_key, const unsigned char *shmac, size_t shmac_len, const unsigned char *sdata, size_t sdata_len, curl_off_t valid_until, int ietf_tls_id, const char *alpn, size_t earlydata_max)
 

Enumerations

enum  curl_sslbackend {
  CURLSSLBACKEND_NONE = 0 , CURLSSLBACKEND_OPENSSL = 1 , CURLSSLBACKEND_GNUTLS = 2 , CURL_DEPRECATED =(8.3.0, "") = 3 ,
  CURLSSLBACKEND_OBSOLETE4 = 4 , CURL_DEPRECATED =(8.3.0, "") = 3 , CURL_DEPRECATED =(8.3.0, "") = 3 , CURLSSLBACKEND_WOLFSSL = 7 ,
  CURLSSLBACKEND_SCHANNEL = 8 , CURLSSLBACKEND_SECURETRANSPORT = 9 , CURL_DEPRECATED =(8.3.0, "") = 3 , CURLSSLBACKEND_MBEDTLS = 11 ,
  CURL_DEPRECATED =(8.3.0, "") = 3 , CURLSSLBACKEND_BEARSSL = 13 , CURLSSLBACKEND_RUSTLS = 14
}
 
enum  curlfiletype {
  CURLFILETYPE_FILE = 0 , CURLFILETYPE_DIRECTORY , CURLFILETYPE_SYMLINK , CURLFILETYPE_DEVICE_BLOCK ,
  CURLFILETYPE_DEVICE_CHAR , CURLFILETYPE_NAMEDPIPE , CURLFILETYPE_SOCKET , CURLFILETYPE_DOOR ,
  CURLFILETYPE_UNKNOWN
}
 
enum  curlsocktype { CURLSOCKTYPE_IPCXN , CURLSOCKTYPE_ACCEPT , CURLSOCKTYPE_LAST }
 
enum  curlioerr { CURLIOE_OK , CURLIOE_UNKNOWNCMD , CURLIOE_FAILRESTART , CURLIOE_LAST }
 
enum  curliocmd { CURLIOCMD_NOP , CURLIOCMD_RESTARTREAD , CURLIOCMD_LAST }
 
enum  curl_infotype {
  CURLINFO_TEXT = 0 , CURLINFO_HEADER_IN , CURLINFO_HEADER_OUT , CURLINFO_DATA_IN ,
  CURLINFO_DATA_OUT , CURLINFO_SSL_DATA_IN , CURLINFO_SSL_DATA_OUT , CURLINFO_END
}
 
enum  CURLcode {
  CURLE_OK = 0 , CURLE_UNSUPPORTED_PROTOCOL , CURLE_FAILED_INIT , CURLE_URL_MALFORMAT ,
  CURLE_NOT_BUILT_IN , CURLE_COULDNT_RESOLVE_PROXY , CURLE_COULDNT_RESOLVE_HOST , CURLE_COULDNT_CONNECT ,
  CURLE_WEIRD_SERVER_REPLY , CURLE_REMOTE_ACCESS_DENIED , CURLE_FTP_ACCEPT_FAILED , CURLE_FTP_WEIRD_PASS_REPLY ,
  CURLE_FTP_ACCEPT_TIMEOUT , CURLE_FTP_WEIRD_PASV_REPLY , CURLE_FTP_WEIRD_227_FORMAT , CURLE_FTP_CANT_GET_HOST ,
  CURLE_HTTP2 , CURLE_FTP_COULDNT_SET_TYPE , CURLE_PARTIAL_FILE , CURLE_FTP_COULDNT_RETR_FILE ,
  CURLE_OBSOLETE20 , CURLE_QUOTE_ERROR , CURLE_HTTP_RETURNED_ERROR , CURLE_WRITE_ERROR ,
  CURLE_OBSOLETE24 , CURLE_UPLOAD_FAILED , CURLE_READ_ERROR , CURLE_OUT_OF_MEMORY ,
  CURLE_OPERATION_TIMEDOUT , CURLE_OBSOLETE29 , CURLE_FTP_PORT_FAILED , CURLE_FTP_COULDNT_USE_REST ,
  CURLE_OBSOLETE32 , CURLE_RANGE_ERROR , CURLE_OBSOLETE34 , CURLE_SSL_CONNECT_ERROR ,
  CURLE_BAD_DOWNLOAD_RESUME , CURLE_FILE_COULDNT_READ_FILE , CURLE_LDAP_CANNOT_BIND , CURLE_LDAP_SEARCH_FAILED ,
  CURLE_OBSOLETE40 , CURLE_OBSOLETE41 , CURLE_ABORTED_BY_CALLBACK , CURLE_BAD_FUNCTION_ARGUMENT ,
  CURLE_OBSOLETE44 , CURLE_INTERFACE_FAILED , CURLE_OBSOLETE46 , CURLE_TOO_MANY_REDIRECTS ,
  CURLE_UNKNOWN_OPTION , CURLE_SETOPT_OPTION_SYNTAX , CURLE_OBSOLETE50 , CURLE_OBSOLETE51 ,
  CURLE_GOT_NOTHING , CURLE_SSL_ENGINE_NOTFOUND , CURLE_SSL_ENGINE_SETFAILED , CURLE_SEND_ERROR ,
  CURLE_RECV_ERROR , CURLE_OBSOLETE57 , CURLE_SSL_CERTPROBLEM , CURLE_SSL_CIPHER ,
  CURLE_PEER_FAILED_VERIFICATION , CURLE_BAD_CONTENT_ENCODING , CURLE_OBSOLETE62 , CURLE_FILESIZE_EXCEEDED ,
  CURLE_USE_SSL_FAILED , CURLE_SEND_FAIL_REWIND , CURLE_SSL_ENGINE_INITFAILED , CURLE_LOGIN_DENIED ,
  CURLE_TFTP_NOTFOUND , CURLE_TFTP_PERM , CURLE_REMOTE_DISK_FULL , CURLE_TFTP_ILLEGAL ,
  CURLE_TFTP_UNKNOWNID , CURLE_REMOTE_FILE_EXISTS , CURLE_TFTP_NOSUCHUSER , CURLE_OBSOLETE75 ,
  CURLE_OBSOLETE76 , CURLE_SSL_CACERT_BADFILE , CURLE_REMOTE_FILE_NOT_FOUND , CURLE_SSH ,
  CURLE_SSL_SHUTDOWN_FAILED , CURLE_AGAIN , CURLE_SSL_CRL_BADFILE , CURLE_SSL_ISSUER_ERROR ,
  CURLE_FTP_PRET_FAILED , CURLE_RTSP_CSEQ_ERROR , CURLE_RTSP_SESSION_ERROR , CURLE_FTP_BAD_FILE_LIST ,
  CURLE_CHUNK_FAILED , CURLE_NO_CONNECTION_AVAILABLE , CURLE_SSL_PINNEDPUBKEYNOTMATCH , CURLE_SSL_INVALIDCERTSTATUS ,
  CURLE_HTTP2_STREAM , CURLE_RECURSIVE_API_CALL , CURLE_AUTH_ERROR , CURLE_HTTP3 ,
  CURLE_QUIC_CONNECT_ERROR , CURLE_PROXY , CURLE_SSL_CLIENTCERT , CURLE_UNRECOVERABLE_POLL ,
  CURLE_TOO_LARGE , CURLE_ECH_REQUIRED , CURL_LAST
}
 
enum  CURLproxycode {
  CURLPX_OK , CURLPX_BAD_ADDRESS_TYPE , CURLPX_BAD_VERSION , CURLPX_CLOSED ,
  CURLPX_GSSAPI , CURLPX_GSSAPI_PERMSG , CURLPX_GSSAPI_PROTECTION , CURLPX_IDENTD ,
  CURLPX_IDENTD_DIFFER , CURLPX_LONG_HOSTNAME , CURLPX_LONG_PASSWD , CURLPX_LONG_USER ,
  CURLPX_NO_AUTH , CURLPX_RECV_ADDRESS , CURLPX_RECV_AUTH , CURLPX_RECV_CONNECT ,
  CURLPX_RECV_REQACK , CURLPX_REPLY_ADDRESS_TYPE_NOT_SUPPORTED , CURLPX_REPLY_COMMAND_NOT_SUPPORTED , CURLPX_REPLY_CONNECTION_REFUSED ,
  CURLPX_REPLY_GENERAL_SERVER_FAILURE , CURLPX_REPLY_HOST_UNREACHABLE , CURLPX_REPLY_NETWORK_UNREACHABLE , CURLPX_REPLY_NOT_ALLOWED ,
  CURLPX_REPLY_TTL_EXPIRED , CURLPX_REPLY_UNASSIGNED , CURLPX_REQUEST_FAILED , CURLPX_RESOLVE_HOST ,
  CURLPX_SEND_AUTH , CURLPX_SEND_CONNECT , CURLPX_SEND_REQUEST , CURLPX_UNKNOWN_FAIL ,
  CURLPX_UNKNOWN_MODE , CURLPX_USER_REJECTED , CURLPX_LAST
}
 
enum  curl_proxytype {
  CURLPROXY_HTTP = 0 , CURLPROXY_HTTP_1_0 = 1 , CURLPROXY_HTTPS = 2 , CURLPROXY_HTTPS2 = 3 ,
  CURLPROXY_SOCKS4 = 4 , CURLPROXY_SOCKS5 = 5 , CURLPROXY_SOCKS4A = 6 , CURLPROXY_SOCKS5_HOSTNAME = 7
}
 
enum  curl_khtype {
  CURLKHTYPE_UNKNOWN , CURLKHTYPE_RSA1 , CURLKHTYPE_RSA , CURLKHTYPE_DSS ,
  CURLKHTYPE_ECDSA , CURLKHTYPE_ED25519
}
 
enum  curl_khstat {
  CURLKHSTAT_FINE_ADD_TO_FILE , CURLKHSTAT_FINE , CURLKHSTAT_REJECT , CURLKHSTAT_DEFER ,
  CURLKHSTAT_FINE_REPLACE , CURLKHSTAT_LAST
}
 
enum  curl_khmatch { CURLKHMATCH_OK , CURLKHMATCH_MISMATCH , CURLKHMATCH_MISSING , CURLKHMATCH_LAST }
 
enum  curl_usessl {
  CURLUSESSL_NONE , CURLUSESSL_TRY , CURLUSESSL_CONTROL , CURLUSESSL_ALL ,
  CURLUSESSL_LAST
}
 
enum  curl_ftpccc { CURLFTPSSL_CCC_NONE , CURLFTPSSL_CCC_PASSIVE , CURLFTPSSL_CCC_ACTIVE , CURLFTPSSL_CCC_LAST }
 
enum  curl_ftpauth { CURLFTPAUTH_DEFAULT , CURLFTPAUTH_SSL , CURLFTPAUTH_TLS , CURLFTPAUTH_LAST }
 
enum  curl_ftpcreatedir { CURLFTP_CREATE_DIR_NONE , CURLFTP_CREATE_DIR , CURLFTP_CREATE_DIR_RETRY , CURLFTP_CREATE_DIR_LAST }
 
enum  curl_ftpmethod {
  CURLFTPMETHOD_DEFAULT , CURLFTPMETHOD_MULTICWD , CURLFTPMETHOD_NOCWD , CURLFTPMETHOD_SINGLECWD ,
  CURLFTPMETHOD_LAST
}
 
enum  CURLSTScode { CURLSTS_OK , CURLSTS_DONE , CURLSTS_FAIL }
 
enum  CURLoption {
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPTDEPRECATED , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPTDEPRECATED ,
  CURLOPTDEPRECATED , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPTDEPRECATED , CURLOPTDEPRECATED , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPTDEPRECATED ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPTDEPRECATED ,
  CURLOPTDEPRECATED , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPTDEPRECATED , CURLOPTDEPRECATED , CURLOPTDEPRECATED ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPTDEPRECATED , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPTDEPRECATED , CURLOPTDEPRECATED , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPTDEPRECATED , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) ,
  CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT =(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1) , CURLOPT_LASTENTRY
}
 
enum  {
  CURL_HTTP_VERSION_NONE , CURL_HTTP_VERSION_1_0 , CURL_HTTP_VERSION_1_1 , CURL_HTTP_VERSION_2_0 ,
  CURL_HTTP_VERSION_2TLS , CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE , CURL_HTTP_VERSION_3 = 30 , CURL_HTTP_VERSION_3ONLY = 31 ,
  CURL_HTTP_VERSION_LAST
}
 
enum  {
  CURL_RTSPREQ_NONE , CURL_RTSPREQ_OPTIONS , CURL_RTSPREQ_DESCRIBE , CURL_RTSPREQ_ANNOUNCE ,
  CURL_RTSPREQ_SETUP , CURL_RTSPREQ_PLAY , CURL_RTSPREQ_PAUSE , CURL_RTSPREQ_TEARDOWN ,
  CURL_RTSPREQ_GET_PARAMETER , CURL_RTSPREQ_SET_PARAMETER , CURL_RTSPREQ_RECORD , CURL_RTSPREQ_RECEIVE ,
  CURL_RTSPREQ_LAST
}
 
enum  CURL_NETRC_OPTION { CURL_NETRC_IGNORED , CURL_NETRC_OPTIONAL , CURL_NETRC_REQUIRED , CURL_NETRC_LAST }
 
enum  CURL_TLSAUTH { CURL_TLSAUTH_NONE , CURL_TLSAUTH_SRP , CURL_TLSAUTH_LAST }
 
enum  curl_TimeCond {
  CURL_TIMECOND_NONE , CURL_TIMECOND_IFMODSINCE , CURL_TIMECOND_IFUNMODSINCE , CURL_TIMECOND_LASTMOD ,
  CURL_TIMECOND_LAST
}
 
enum  CURLformoption {
  CURL_DEPRECATED =(8.3.0, "") = 3 , CURL_DEPRECATED =(8.3.0, "") = 3 , CURL_DEPRECATED =(8.3.0, "") = 3 , CURL_DEPRECATED =(8.3.0, "") = 3 ,
  CURL_DEPRECATED =(8.3.0, "") = 3 , CURL_DEPRECATED =(8.3.0, "") = 3 , CURL_DEPRECATED =(8.3.0, "") = 3 , CURL_DEPRECATED =(8.3.0, "") = 3 ,
  CURL_DEPRECATED =(8.3.0, "") = 3 , CURLFORM_OBSOLETE , CURL_DEPRECATED =(8.3.0, "") = 3 , CURL_DEPRECATED =(8.3.0, "") = 3 ,
  CURL_DEPRECATED =(8.3.0, "") = 3 , CURL_DEPRECATED =(8.3.0, "") = 3 , CURL_DEPRECATED =(8.3.0, "") = 3 , CURL_DEPRECATED =(8.3.0, "") = 3 ,
  CURL_DEPRECATED =(8.3.0, "") = 3 , CURLFORM_END , CURLFORM_OBSOLETE2 , CURL_DEPRECATED =(8.3.0, "") = 3 ,
  CURL_DEPRECATED =(8.3.0, "") = 3 , CURLFORM_LASTENTRY
}
 
enum  CURLFORMcode {
  CURL_DEPRECATED =(8.3.0, "") = 3 , CURL_DEPRECATED =(8.3.0, "") = 3 , CURL_DEPRECATED =(8.3.0, "") = 3 , CURL_DEPRECATED =(8.3.0, "") = 3 ,
  CURL_DEPRECATED =(8.3.0, "") = 3 , CURL_DEPRECATED =(8.3.0, "") = 3 , CURL_DEPRECATED =(8.3.0, "") = 3 , CURL_DEPRECATED =(8.3.0, "") = 3 ,
  CURL_FORMADD_LAST
}
 
enum  CURLsslset { CURLSSLSET_OK = 0 , CURLSSLSET_UNKNOWN_BACKEND , CURLSSLSET_TOO_LATE , CURLSSLSET_NO_BACKENDS }
 
enum  CURLINFO {
  CURLINFO_NONE , CURLINFO_EFFECTIVE_URL = CURLINFO_STRING + 1 , CURLINFO_RESPONSE_CODE = CURLINFO_LONG + 2 , CURLINFO_TOTAL_TIME = CURLINFO_DOUBLE + 3 ,
  CURLINFO_NAMELOOKUP_TIME = CURLINFO_DOUBLE + 4 , CURLINFO_CONNECT_TIME = CURLINFO_DOUBLE + 5 , CURLINFO_PRETRANSFER_TIME = CURLINFO_DOUBLE + 6 , CURL_DEPRECATED =(8.3.0, "") = 3 ,
  CURLINFO_SIZE_UPLOAD_T = CURLINFO_OFF_T + 7 , CURLINFO_SIZE_DOWNLOAD = CURLINFO_DOUBLE + 8 , CURLINFO_SIZE_DOWNLOAD_T = CURLINFO_OFF_T + 8 , CURLINFO_SPEED_DOWNLOAD = CURLINFO_DOUBLE + 9 ,
  CURLINFO_SPEED_DOWNLOAD_T = CURLINFO_OFF_T + 9 , CURLINFO_SPEED_UPLOAD = CURLINFO_DOUBLE + 10 , CURLINFO_SPEED_UPLOAD_T = CURLINFO_OFF_T + 10 , CURLINFO_HEADER_SIZE = CURLINFO_LONG + 11 ,
  CURLINFO_REQUEST_SIZE = CURLINFO_LONG + 12 , CURLINFO_SSL_VERIFYRESULT = CURLINFO_LONG + 13 , CURLINFO_FILETIME = CURLINFO_LONG + 14 , CURLINFO_FILETIME_T = CURLINFO_OFF_T + 14 ,
  CURL_DEPRECATED =(8.3.0, "") = 3 , CURLINFO_CONTENT_LENGTH_DOWNLOAD_T = CURLINFO_OFF_T + 15 , CURL_DEPRECATED =(8.3.0, "") = 3 , CURLINFO_CONTENT_LENGTH_UPLOAD_T = CURLINFO_OFF_T + 16 ,
  CURLINFO_STARTTRANSFER_TIME = CURLINFO_DOUBLE + 17 , CURLINFO_CONTENT_TYPE = CURLINFO_STRING + 18 , CURLINFO_REDIRECT_TIME = CURLINFO_DOUBLE + 19 , CURLINFO_REDIRECT_COUNT = CURLINFO_LONG + 20 ,
  CURLINFO_PRIVATE = CURLINFO_STRING + 21 , CURLINFO_HTTP_CONNECTCODE = CURLINFO_LONG + 22 , CURLINFO_HTTPAUTH_AVAIL = CURLINFO_LONG + 23 , CURLINFO_PROXYAUTH_AVAIL = CURLINFO_LONG + 24 ,
  CURLINFO_OS_ERRNO = CURLINFO_LONG + 25 , CURLINFO_NUM_CONNECTS = CURLINFO_LONG + 26 , CURLINFO_SSL_ENGINES = CURLINFO_SLIST + 27 , CURLINFO_COOKIELIST = CURLINFO_SLIST + 28 ,
  CURL_DEPRECATED =(8.3.0, "") = 3 , CURLINFO_FTP_ENTRY_PATH = CURLINFO_STRING + 30 , CURLINFO_REDIRECT_URL = CURLINFO_STRING + 31 , CURLINFO_PRIMARY_IP = CURLINFO_STRING + 32 ,
  CURLINFO_APPCONNECT_TIME = CURLINFO_DOUBLE + 33 , CURLINFO_CERTINFO = CURLINFO_PTR + 34 , CURLINFO_CONDITION_UNMET = CURLINFO_LONG + 35 , CURLINFO_RTSP_SESSION_ID = CURLINFO_STRING + 36 ,
  CURLINFO_RTSP_CLIENT_CSEQ = CURLINFO_LONG + 37 , CURLINFO_RTSP_SERVER_CSEQ = CURLINFO_LONG + 38 , CURLINFO_RTSP_CSEQ_RECV = CURLINFO_LONG + 39 , CURLINFO_PRIMARY_PORT = CURLINFO_LONG + 40 ,
  CURLINFO_LOCAL_IP = CURLINFO_STRING + 41 , CURLINFO_LOCAL_PORT = CURLINFO_LONG + 42 , CURL_DEPRECATED =(8.3.0, "") = 3 , CURLINFO_ACTIVESOCKET = CURLINFO_SOCKET + 44 ,
  CURLINFO_TLS_SSL_PTR = CURLINFO_PTR + 45 , CURLINFO_HTTP_VERSION = CURLINFO_LONG + 46 , CURLINFO_PROXY_SSL_VERIFYRESULT = CURLINFO_LONG + 47 , CURL_DEPRECATED =(8.3.0, "") = 3 ,
  CURLINFO_SCHEME = CURLINFO_STRING + 49 , CURLINFO_TOTAL_TIME_T = CURLINFO_OFF_T + 50 , CURLINFO_NAMELOOKUP_TIME_T = CURLINFO_OFF_T + 51 , CURLINFO_CONNECT_TIME_T = CURLINFO_OFF_T + 52 ,
  CURLINFO_PRETRANSFER_TIME_T = CURLINFO_OFF_T + 53 , CURLINFO_STARTTRANSFER_TIME_T = CURLINFO_OFF_T + 54 , CURLINFO_REDIRECT_TIME_T = CURLINFO_OFF_T + 55 , CURLINFO_APPCONNECT_TIME_T = CURLINFO_OFF_T + 56 ,
  CURLINFO_RETRY_AFTER = CURLINFO_OFF_T + 57 , CURLINFO_EFFECTIVE_METHOD = CURLINFO_STRING + 58 , CURLINFO_PROXY_ERROR = CURLINFO_LONG + 59 , CURLINFO_REFERER = CURLINFO_STRING + 60 ,
  CURLINFO_CAINFO = CURLINFO_STRING + 61 , CURLINFO_CAPATH = CURLINFO_STRING + 62 , CURLINFO_XFER_ID = CURLINFO_OFF_T + 63 , CURLINFO_CONN_ID = CURLINFO_OFF_T + 64 ,
  CURLINFO_QUEUE_TIME_T = CURLINFO_OFF_T + 65 , CURLINFO_USED_PROXY = CURLINFO_LONG + 66 , CURLINFO_POSTTRANSFER_TIME_T = CURLINFO_OFF_T + 67 , CURLINFO_EARLYDATA_SENT_T = CURLINFO_OFF_T + 68 ,
  CURLINFO_HTTPAUTH_USED = CURLINFO_LONG + 69 , CURLINFO_PROXYAUTH_USED = CURLINFO_LONG + 70 , CURLINFO_LASTONE = 70
}
 
enum  curl_closepolicy {
  CURLCLOSEPOLICY_NONE , CURLCLOSEPOLICY_OLDEST , CURLCLOSEPOLICY_LEAST_RECENTLY_USED , CURLCLOSEPOLICY_LEAST_TRAFFIC ,
  CURLCLOSEPOLICY_SLOWEST , CURLCLOSEPOLICY_CALLBACK , CURLCLOSEPOLICY_LAST
}
 
enum  curl_lock_data {
  CURL_LOCK_DATA_NONE = 0 , CURL_LOCK_DATA_SHARE , CURL_LOCK_DATA_COOKIE , CURL_LOCK_DATA_DNS ,
  CURL_LOCK_DATA_SSL_SESSION , CURL_LOCK_DATA_CONNECT , CURL_LOCK_DATA_PSL , CURL_LOCK_DATA_HSTS ,
  CURL_LOCK_DATA_LAST
}
 
enum  curl_lock_access { CURL_LOCK_ACCESS_NONE = 0 , CURL_LOCK_ACCESS_SHARED = 1 , CURL_LOCK_ACCESS_SINGLE = 2 , CURL_LOCK_ACCESS_LAST }
 
enum  CURLSHcode {
  CURLSHE_OK , CURLSHE_BAD_OPTION , CURLSHE_IN_USE , CURLSHE_INVALID ,
  CURLSHE_NOMEM , CURLSHE_NOT_BUILT_IN , CURLSHE_LAST
}
 
enum  CURLSHoption {
  CURLSHOPT_NONE , CURLSHOPT_SHARE , CURLSHOPT_UNSHARE , CURLSHOPT_LOCKFUNC ,
  CURLSHOPT_UNLOCKFUNC , CURLSHOPT_USERDATA , CURLSHOPT_LAST
}
 
enum  CURLversion {
  CURLVERSION_FIRST , CURLVERSION_SECOND , CURLVERSION_THIRD , CURLVERSION_FOURTH ,
  CURLVERSION_FIFTH , CURLVERSION_SIXTH , CURLVERSION_SEVENTH , CURLVERSION_EIGHTH ,
  CURLVERSION_NINTH , CURLVERSION_TENTH , CURLVERSION_ELEVENTH , CURLVERSION_TWELFTH ,
  CURLVERSION_LAST
}
 

Functions

CURL_EXTERN int curl_strequal (const char *s1, const char *s2)
 
CURL_EXTERN int curl_strnequal (const char *s1, const char *s2, size_t n)
 
CURL_EXTERN curl_mimecurl_mime_init (CURL *easy)
 
CURL_EXTERN void curl_mime_free (curl_mime *mime)
 
CURL_EXTERN curl_mimepartcurl_mime_addpart (curl_mime *mime)
 
CURL_EXTERN CURLcode curl_mime_name (curl_mimepart *part, const char *name)
 
CURL_EXTERN CURLcode curl_mime_filename (curl_mimepart *part, const char *filename)
 
CURL_EXTERN CURLcode curl_mime_type (curl_mimepart *part, const char *mimetype)
 
CURL_EXTERN CURLcode curl_mime_encoder (curl_mimepart *part, const char *encoding)
 
CURL_EXTERN CURLcode curl_mime_data (curl_mimepart *part, const char *data, size_t datasize)
 
CURL_EXTERN CURLcode curl_mime_filedata (curl_mimepart *part, const char *filename)
 
CURL_EXTERN CURLcode curl_mime_data_cb (curl_mimepart *part, curl_off_t datasize, curl_read_callback readfunc, curl_seek_callback seekfunc, curl_free_callback freefunc, void *arg)
 
CURL_EXTERN CURLcode curl_mime_subparts (curl_mimepart *part, curl_mime *subparts)
 
CURL_EXTERN CURLcode curl_mime_headers (curl_mimepart *part, struct curl_slist *headers, int take_ownership)
 
CURL_EXTERN CURLFORMcode CURL_DEPRECATED (7.56.0, "Use curl_mime_init()") curl_formadd(struct curl_httppost **httppost
 
CURL_EXTERN int CURL_DEPRECATED (7.56.0, "") curl_formget(struct curl_httppost *form
 
CURL_EXTERN void CURL_DEPRECATED (7.56.0, "Use curl_mime_free()") curl_formfree(struct curl_httppost *form)
 
CURL_EXTERN char * curl_getenv (const char *variable)
 
CURL_EXTERN char * curl_version (void)
 
CURL_EXTERN char * curl_easy_escape (CURL *handle, const char *string, int length)
 
CURL_EXTERN char * curl_escape (const char *string, int length)
 
CURL_EXTERN char * curl_easy_unescape (CURL *handle, const char *string, int length, int *outlength)
 
CURL_EXTERN char * curl_unescape (const char *string, int length)
 
CURL_EXTERN void curl_free (void *p)
 
CURL_EXTERN CURLcode curl_global_init (long flags)
 
CURL_EXTERN CURLcode curl_global_init_mem (long flags, curl_malloc_callback m, curl_free_callback f, curl_realloc_callback r, curl_strdup_callback s, curl_calloc_callback c)
 
CURL_EXTERN void curl_global_cleanup (void)
 
CURL_EXTERN CURLcode curl_global_trace (const char *config)
 
CURL_EXTERN CURLsslset curl_global_sslset (curl_sslbackend id, const char *name, const curl_ssl_backend ***avail)
 
CURL_EXTERN struct curl_slistcurl_slist_append (struct curl_slist *list, const char *data)
 
CURL_EXTERN void curl_slist_free_all (struct curl_slist *list)
 
CURL_EXTERN time_t curl_getdate (const char *p, const time_t *unused)
 
CURL_EXTERN CURLSHcurl_share_init (void)
 
CURL_EXTERN CURLSHcode curl_share_setopt (CURLSH *share, CURLSHoption option,...)
 
CURL_EXTERN CURLSHcode curl_share_cleanup (CURLSH *share)
 
CURL_EXTERN curl_version_info_datacurl_version_info (CURLversion)
 
CURL_EXTERN const char * curl_easy_strerror (CURLcode)
 
CURL_EXTERN const char * curl_share_strerror (CURLSHcode)
 
CURL_EXTERN CURLcode curl_easy_pause (CURL *handle, int bitmask)
 
CURL_EXTERN CURLcode curl_easy_ssls_import (CURL *handle, const char *session_key, const unsigned char *shmac, size_t shmac_len, const unsigned char *sdata, size_t sdata_len)
 
CURL_EXTERN CURLcode curl_easy_ssls_export (CURL *handle, curl_ssls_export_cb *export_fn, void *userptr)
 

Variables

CURL_EXTERN CURLFORMcode struct curl_httppost typedef size_t(* curl_formget_callback )(void *arg, const char *buf, size_t len)
 
CURL_EXTERN CURLFORMcode struct curl_httppost ** last_post
 
CURL_EXTERN int void * arg
 
CURL_EXTERN int void curl_formget_callback append
 

Macro Definition Documentation

◆ __has_declspec_attribute

#define __has_declspec_attribute ( x)    0

Definition at line 110 of file curl.h.

◆ CURL_CHUNK_BGN_FUNC_FAIL

#define CURL_CHUNK_BGN_FUNC_FAIL   1 /* tell the lib to end the task */

Definition at line 339 of file curl.h.

◆ CURL_CHUNK_BGN_FUNC_OK

#define CURL_CHUNK_BGN_FUNC_OK   0

Definition at line 338 of file curl.h.

◆ CURL_CHUNK_BGN_FUNC_SKIP

#define CURL_CHUNK_BGN_FUNC_SKIP   2 /* skip this chunk over */

Definition at line 340 of file curl.h.

◆ CURL_CHUNK_END_FUNC_FAIL

#define CURL_CHUNK_END_FUNC_FAIL   1 /* tell the lib to end the task */

Definition at line 351 of file curl.h.

◆ CURL_CHUNK_END_FUNC_OK

#define CURL_CHUNK_END_FUNC_OK   0

Definition at line 350 of file curl.h.

◆ CURL_DEPRECATED

#define CURL_DEPRECATED ( version,
message )

Definition at line 58 of file curl.h.

◆ CURL_DID_MEMORY_FUNC_TYPEDEFS

#define CURL_DID_MEMORY_FUNC_TYPEDEFS

Definition at line 466 of file curl.h.

◆ CURL_ERROR_SIZE

#define CURL_ERROR_SIZE   256

Definition at line 849 of file curl.h.

◆ CURL_EXTERN

#define CURL_EXTERN

Definition at line 137 of file curl.h.

◆ CURL_FNMATCHFUNC_FAIL

#define CURL_FNMATCHFUNC_FAIL   2 /* an error occurred */

Definition at line 364 of file curl.h.

◆ CURL_FNMATCHFUNC_MATCH

#define CURL_FNMATCHFUNC_MATCH   0 /* string corresponds to the pattern */

Definition at line 362 of file curl.h.

◆ CURL_FNMATCHFUNC_NOMATCH

#define CURL_FNMATCHFUNC_NOMATCH   1 /* pattern does not match the string */

Definition at line 363 of file curl.h.

◆ curl_ftpssl

#define curl_ftpssl   curl_usessl

Definition at line 967 of file curl.h.

◆ CURL_GLOBAL_ACK_EINTR

#define CURL_GLOBAL_ACK_EINTR   (1<<2)

Definition at line 2985 of file curl.h.

◆ CURL_GLOBAL_ALL

#define CURL_GLOBAL_ALL   (CURL_GLOBAL_SSL|CURL_GLOBAL_WIN32)

Definition at line 2982 of file curl.h.

◆ CURL_GLOBAL_DEFAULT

#define CURL_GLOBAL_DEFAULT   CURL_GLOBAL_ALL

Definition at line 2984 of file curl.h.

◆ CURL_GLOBAL_NOTHING

#define CURL_GLOBAL_NOTHING   0

Definition at line 2983 of file curl.h.

◆ CURL_GLOBAL_SSL

#define CURL_GLOBAL_SSL   (1<<0) /* no purpose since 7.57.0 */

Definition at line 2980 of file curl.h.

◆ CURL_GLOBAL_WIN32

#define CURL_GLOBAL_WIN32   (1<<1)

Definition at line 2981 of file curl.h.

◆ CURL_HET_DEFAULT

#define CURL_HET_DEFAULT   200L

Definition at line 951 of file curl.h.

◆ CURL_HTTP_VERSION_2

#define CURL_HTTP_VERSION_2   CURL_HTTP_VERSION_2_0

Definition at line 2300 of file curl.h.

◆ CURL_HTTPPOST_BUFFER

#define CURL_HTTPPOST_BUFFER   (1<<4)

Definition at line 205 of file curl.h.

◆ CURL_HTTPPOST_CALLBACK

#define CURL_HTTPPOST_CALLBACK   (1<<6)

Definition at line 210 of file curl.h.

◆ CURL_HTTPPOST_FILENAME

#define CURL_HTTPPOST_FILENAME   (1<<0)

Definition at line 197 of file curl.h.

◆ CURL_HTTPPOST_LARGE

#define CURL_HTTPPOST_LARGE   (1<<7)

Definition at line 212 of file curl.h.

◆ CURL_HTTPPOST_PTRBUFFER

#define CURL_HTTPPOST_PTRBUFFER   (1<<5)

Definition at line 207 of file curl.h.

◆ CURL_HTTPPOST_PTRCONTENTS

#define CURL_HTTPPOST_PTRCONTENTS   (1<<3)

Definition at line 203 of file curl.h.

◆ CURL_HTTPPOST_PTRNAME

#define CURL_HTTPPOST_PTRNAME   (1<<2)

Definition at line 201 of file curl.h.

◆ CURL_HTTPPOST_READFILE

#define CURL_HTTPPOST_READFILE   (1<<1)

Definition at line 199 of file curl.h.

◆ CURL_IGNORE_DEPRECATION

#define CURL_IGNORE_DEPRECATION ( statements)    statements

Definition at line 59 of file curl.h.

◆ CURL_IPRESOLVE_V4

#define CURL_IPRESOLVE_V4   1 /* uses only IPv4 addresses/connections */

Definition at line 2270 of file curl.h.

◆ CURL_IPRESOLVE_V6

#define CURL_IPRESOLVE_V6   2 /* uses only IPv6 addresses/connections */

Definition at line 2271 of file curl.h.

◆ CURL_IPRESOLVE_WHATEVER

#define CURL_IPRESOLVE_WHATEVER
Value:
0 /* default, uses addresses to all IP
versions that your system allows */

Definition at line 2269 of file curl.h.

◆ CURL_MAX_HTTP_HEADER

#define CURL_MAX_HTTP_HEADER   (100*1024)

Definition at line 265 of file curl.h.

◆ CURL_MAX_READ_SIZE

#define CURL_MAX_READ_SIZE   (10*1024*1024)

Definition at line 248 of file curl.h.

◆ CURL_MAX_WRITE_SIZE

#define CURL_MAX_WRITE_SIZE   16384

Definition at line 258 of file curl.h.

◆ CURL_PREREQFUNC_ABORT

#define CURL_PREREQFUNC_ABORT   1

Definition at line 500 of file curl.h.

◆ CURL_PREREQFUNC_OK

#define CURL_PREREQFUNC_OK   0

Definition at line 497 of file curl.h.

◆ CURL_PROGRESSFUNC_CONTINUE

#define CURL_PROGRESSFUNC_CONTINUE   0x10000001

Definition at line 227 of file curl.h.

◆ CURL_READFUNC_ABORT

#define CURL_READFUNC_ABORT   0x10000000

Definition at line 382 of file curl.h.

◆ CURL_READFUNC_PAUSE

#define CURL_READFUNC_PAUSE   0x10000001

Definition at line 385 of file curl.h.

◆ CURL_REDIR_GET_ALL

#define CURL_REDIR_GET_ALL   0

Definition at line 2365 of file curl.h.

◆ CURL_REDIR_POST_301

#define CURL_REDIR_POST_301   1

Definition at line 2366 of file curl.h.

◆ CURL_REDIR_POST_302

#define CURL_REDIR_POST_302   2

Definition at line 2367 of file curl.h.

◆ CURL_REDIR_POST_303

#define CURL_REDIR_POST_303   4

Definition at line 2368 of file curl.h.

◆ CURL_REDIR_POST_ALL

#define CURL_REDIR_POST_ALL    (CURL_REDIR_POST_301|CURL_REDIR_POST_302|CURL_REDIR_POST_303)

Definition at line 2369 of file curl.h.

2369#define CURL_REDIR_POST_301 1
2370#define CURL_REDIR_POST_302 2

◆ CURL_SEEKFUNC_CANTSEEK

#define CURL_SEEKFUNC_CANTSEEK
Value:
2 /* tell libcurl seeking cannot be done, so
libcurl might try other means instead */

Definition at line 375 of file curl.h.

◆ CURL_SEEKFUNC_FAIL

#define CURL_SEEKFUNC_FAIL   1 /* fail the entire transfer */

Definition at line 374 of file curl.h.

◆ CURL_SEEKFUNC_OK

#define CURL_SEEKFUNC_OK   0

Definition at line 373 of file curl.h.

◆ CURL_SOCKET_BAD

#define CURL_SOCKET_BAD   -1

Definition at line 147 of file curl.h.

◆ curl_socket_typedef

#define curl_socket_typedef

Definition at line 149 of file curl.h.

◆ CURL_SOCKOPT_ALREADY_CONNECTED

#define CURL_SOCKOPT_ALREADY_CONNECTED   2

Definition at line 412 of file curl.h.

◆ CURL_SOCKOPT_ERROR

#define CURL_SOCKOPT_ERROR
Value:
1 /* causes libcurl to abort and return
CURLE_ABORTED_BY_CALLBACK */

Definition at line 411 of file curl.h.

◆ CURL_SOCKOPT_OK

#define CURL_SOCKOPT_OK   0

Definition at line 410 of file curl.h.

◆ CURL_SSLVERSION_DEFAULT

#define CURL_SSLVERSION_DEFAULT   0

Definition at line 2333 of file curl.h.

◆ CURL_SSLVERSION_LAST

#define CURL_SSLVERSION_LAST   8 /* never use, keep last */

Definition at line 2342 of file curl.h.

◆ CURL_SSLVERSION_MAX_DEFAULT

#define CURL_SSLVERSION_MAX_DEFAULT   (CURL_SSLVERSION_TLSv1 << 16)

Definition at line 2345 of file curl.h.

◆ CURL_SSLVERSION_MAX_LAST

#define CURL_SSLVERSION_MAX_LAST   (CURL_SSLVERSION_LAST << 16)

Definition at line 2352 of file curl.h.

◆ CURL_SSLVERSION_MAX_NONE

#define CURL_SSLVERSION_MAX_NONE   0

Definition at line 2344 of file curl.h.

◆ CURL_SSLVERSION_MAX_TLSv1_0

#define CURL_SSLVERSION_MAX_TLSv1_0   (CURL_SSLVERSION_TLSv1_0 << 16)

Definition at line 2346 of file curl.h.

◆ CURL_SSLVERSION_MAX_TLSv1_1

#define CURL_SSLVERSION_MAX_TLSv1_1   (CURL_SSLVERSION_TLSv1_1 << 16)

Definition at line 2347 of file curl.h.

◆ CURL_SSLVERSION_MAX_TLSv1_2

#define CURL_SSLVERSION_MAX_TLSv1_2   (CURL_SSLVERSION_TLSv1_2 << 16)

Definition at line 2348 of file curl.h.

◆ CURL_SSLVERSION_MAX_TLSv1_3

#define CURL_SSLVERSION_MAX_TLSv1_3   (CURL_SSLVERSION_TLSv1_3 << 16)

Definition at line 2349 of file curl.h.

◆ CURL_SSLVERSION_SSLv2

#define CURL_SSLVERSION_SSLv2   2

Definition at line 2335 of file curl.h.

◆ CURL_SSLVERSION_SSLv3

#define CURL_SSLVERSION_SSLv3   3

Definition at line 2336 of file curl.h.

◆ CURL_SSLVERSION_TLSv1

#define CURL_SSLVERSION_TLSv1   1 /* TLS 1.x */

Definition at line 2334 of file curl.h.

◆ CURL_SSLVERSION_TLSv1_0

#define CURL_SSLVERSION_TLSv1_0   4

Definition at line 2337 of file curl.h.

◆ CURL_SSLVERSION_TLSv1_1

#define CURL_SSLVERSION_TLSv1_1   5

Definition at line 2338 of file curl.h.

◆ CURL_SSLVERSION_TLSv1_2

#define CURL_SSLVERSION_TLSv1_2   6

Definition at line 2339 of file curl.h.

◆ CURL_SSLVERSION_TLSv1_3

#define CURL_SSLVERSION_TLSv1_3   7

Definition at line 2340 of file curl.h.

◆ CURL_TRAILERFUNC_ABORT

#define CURL_TRAILERFUNC_ABORT   1

Definition at line 392 of file curl.h.

◆ CURL_TRAILERFUNC_OK

#define CURL_TRAILERFUNC_OK   0

Definition at line 389 of file curl.h.

◆ CURL_UPKEEP_INTERVAL_DEFAULT

#define CURL_UPKEEP_INTERVAL_DEFAULT   60000L

Definition at line 954 of file curl.h.

◆ CURL_VERSION_ALTSVC

#define CURL_VERSION_ALTSVC   (1<<24) /* Alt-Svc handling built-in */

Definition at line 3167 of file curl.h.

◆ CURL_VERSION_ASYNCHDNS

#define CURL_VERSION_ASYNCHDNS   (1<<7) /* Asynchronous DNS resolves */

Definition at line 3150 of file curl.h.

◆ CURL_VERSION_BROTLI

#define CURL_VERSION_BROTLI   (1<<23) /* Brotli features are present. */

Definition at line 3166 of file curl.h.

◆ CURL_VERSION_CONV

#define CURL_VERSION_CONV   (1<<12) /* Character conversions supported */

Definition at line 3155 of file curl.h.

◆ CURL_VERSION_CURLDEBUG

#define CURL_VERSION_CURLDEBUG   (1<<13) /* Debug memory tracking supported */

Definition at line 3156 of file curl.h.

◆ CURL_VERSION_DEBUG

#define CURL_VERSION_DEBUG   (1<<6) /* Built with debug capabilities */

Definition at line 3149 of file curl.h.

◆ CURL_VERSION_GSASL

#define CURL_VERSION_GSASL   (1<<29) /* libgsasl is supported */

Definition at line 3172 of file curl.h.

◆ CURL_VERSION_GSSAPI

#define CURL_VERSION_GSSAPI   (1<<17) /* Built against a GSS-API library */

Definition at line 3160 of file curl.h.

◆ CURL_VERSION_GSSNEGOTIATE

#define CURL_VERSION_GSSNEGOTIATE
Value:
(1<<5) /* Negotiate auth is supported
(deprecated) */

Definition at line 3148 of file curl.h.

◆ CURL_VERSION_HSTS

#define CURL_VERSION_HSTS   (1<<28) /* HSTS is supported */

Definition at line 3171 of file curl.h.

◆ CURL_VERSION_HTTP2

#define CURL_VERSION_HTTP2   (1<<16) /* HTTP2 support built-in */

Definition at line 3159 of file curl.h.

◆ CURL_VERSION_HTTP3

#define CURL_VERSION_HTTP3   (1<<25) /* HTTP3 support built-in */

Definition at line 3168 of file curl.h.

◆ CURL_VERSION_HTTPS_PROXY

#define CURL_VERSION_HTTPS_PROXY   (1<<21) /* HTTPS-proxy support built-in */

Definition at line 3164 of file curl.h.

◆ CURL_VERSION_IDN

#define CURL_VERSION_IDN
Value:
(1<<10) /* Internationized Domain Names are
supported */

Definition at line 3153 of file curl.h.

◆ CURL_VERSION_IPV6

#define CURL_VERSION_IPV6   (1<<0) /* IPv6-enabled */

Definition at line 3143 of file curl.h.

◆ CURL_VERSION_KERBEROS4

#define CURL_VERSION_KERBEROS4
Value:
(1<<1) /* Kerberos V4 auth is supported
(deprecated) */

Definition at line 3144 of file curl.h.

◆ CURL_VERSION_KERBEROS5

#define CURL_VERSION_KERBEROS5   (1<<18) /* Kerberos V5 auth is supported */

Definition at line 3161 of file curl.h.

◆ CURL_VERSION_LARGEFILE

#define CURL_VERSION_LARGEFILE   (1<<9) /* Supports files larger than 2GB */

Definition at line 3152 of file curl.h.

◆ CURL_VERSION_LIBZ

#define CURL_VERSION_LIBZ   (1<<3) /* libz features are present */

Definition at line 3146 of file curl.h.

◆ CURL_VERSION_MULTI_SSL

#define CURL_VERSION_MULTI_SSL   (1<<22) /* Multiple SSL backends available */

Definition at line 3165 of file curl.h.

◆ CURL_VERSION_NTLM

#define CURL_VERSION_NTLM   (1<<4) /* NTLM auth is supported */

Definition at line 3147 of file curl.h.

◆ CURL_VERSION_NTLM_WB

#define CURL_VERSION_NTLM_WB
Value:
(1<<15) /* NTLM delegation to winbind helper
is supported */

Definition at line 3158 of file curl.h.

◆ CURL_VERSION_PSL

#define CURL_VERSION_PSL
Value:
(1<<20) /* Mozilla's Public Suffix List, used
for cookie domain verification */

Definition at line 3163 of file curl.h.

◆ CURL_VERSION_SPNEGO

#define CURL_VERSION_SPNEGO   (1<<8) /* SPNEGO auth is supported */

Definition at line 3151 of file curl.h.

◆ CURL_VERSION_SSL

#define CURL_VERSION_SSL   (1<<2) /* SSL options are present */

Definition at line 3145 of file curl.h.

◆ CURL_VERSION_SSPI

#define CURL_VERSION_SSPI   (1<<11) /* Built against Windows SSPI */

Definition at line 3154 of file curl.h.

◆ CURL_VERSION_THREADSAFE

#define CURL_VERSION_THREADSAFE   (1<<30) /* libcurl API is thread-safe */

Definition at line 3173 of file curl.h.

◆ CURL_VERSION_TLSAUTH_SRP

#define CURL_VERSION_TLSAUTH_SRP   (1<<14) /* TLS-SRP auth is supported */

Definition at line 3157 of file curl.h.

◆ CURL_VERSION_UNICODE

#define CURL_VERSION_UNICODE   (1<<27) /* Unicode support on Windows */

Definition at line 3170 of file curl.h.

◆ CURL_VERSION_UNIX_SOCKETS

#define CURL_VERSION_UNIX_SOCKETS   (1<<19) /* Unix domain sockets support */

Definition at line 3162 of file curl.h.

◆ CURL_VERSION_ZSTD

#define CURL_VERSION_ZSTD   (1<<26) /* zstd features are present */

Definition at line 3169 of file curl.h.

◆ CURL_WRITEFUNC_ERROR

#define CURL_WRITEFUNC_ERROR   0xFFFFFFFF

Definition at line 274 of file curl.h.

◆ CURL_WRITEFUNC_PAUSE

#define CURL_WRITEFUNC_PAUSE   0x10000001

Definition at line 270 of file curl.h.

◆ CURL_ZERO_TERMINATED

#define CURL_ZERO_TERMINATED   ((size_t) -1)

Definition at line 2383 of file curl.h.

◆ CURLALTSVC_H1

#define CURLALTSVC_H1   (1<<3)

Definition at line 1012 of file curl.h.

◆ CURLALTSVC_H2

#define CURLALTSVC_H2   (1<<4)

Definition at line 1013 of file curl.h.

◆ CURLALTSVC_H3

#define CURLALTSVC_H3   (1<<5)

Definition at line 1014 of file curl.h.

◆ CURLALTSVC_READONLYFILE

#define CURLALTSVC_READONLYFILE   (1<<2)

Definition at line 1011 of file curl.h.

◆ CURLAUTH_ANY

#define CURLAUTH_ANY   (~CURLAUTH_DIGEST_IE)

Definition at line 832 of file curl.h.

◆ CURLAUTH_ANYSAFE

#define CURLAUTH_ANYSAFE   (~(CURLAUTH_BASIC|CURLAUTH_DIGEST_IE))

Definition at line 833 of file curl.h.

◆ CURLAUTH_AWS_SIGV4

#define CURLAUTH_AWS_SIGV4   (((unsigned long)1)<<7)

Definition at line 830 of file curl.h.

◆ CURLAUTH_BASIC

#define CURLAUTH_BASIC   (((unsigned long)1)<<0)

Definition at line 816 of file curl.h.

◆ CURLAUTH_BEARER

#define CURLAUTH_BEARER   (((unsigned long)1)<<6)

Definition at line 829 of file curl.h.

◆ CURLAUTH_DIGEST

#define CURLAUTH_DIGEST   (((unsigned long)1)<<1)

Definition at line 817 of file curl.h.

◆ CURLAUTH_DIGEST_IE

#define CURLAUTH_DIGEST_IE   (((unsigned long)1)<<4)

Definition at line 824 of file curl.h.

◆ CURLAUTH_GSSAPI

#define CURLAUTH_GSSAPI   CURLAUTH_NEGOTIATE

Definition at line 822 of file curl.h.

◆ CURLAUTH_GSSNEGOTIATE

#define CURLAUTH_GSSNEGOTIATE   CURLAUTH_NEGOTIATE

Definition at line 820 of file curl.h.

◆ CURLAUTH_NEGOTIATE

#define CURLAUTH_NEGOTIATE   (((unsigned long)1)<<2)

Definition at line 818 of file curl.h.

◆ CURLAUTH_NONE

#define CURLAUTH_NONE   ((unsigned long)0)

Definition at line 815 of file curl.h.

◆ CURLAUTH_NTLM

#define CURLAUTH_NTLM   (((unsigned long)1)<<3)

Definition at line 823 of file curl.h.

◆ CURLAUTH_NTLM_WB

#define CURLAUTH_NTLM_WB   (((unsigned long)1)<<5)

Definition at line 827 of file curl.h.

◆ CURLAUTH_ONLY

#define CURLAUTH_ONLY   (((unsigned long)1)<<31)

Definition at line 831 of file curl.h.

◆ CURLE_ALREADY_COMPLETE

#define CURLE_ALREADY_COMPLETE   99999

Definition at line 713 of file curl.h.

◆ CURLE_BAD_CALLING_ORDER

#define CURLE_BAD_CALLING_ORDER   CURLE_OBSOLETE44

Definition at line 678 of file curl.h.

◆ CURLE_BAD_PASSWORD_ENTERED

#define CURLE_BAD_PASSWORD_ENTERED   CURLE_OBSOLETE46

Definition at line 677 of file curl.h.

◆ CURLE_CONV_FAILED

#define CURLE_CONV_FAILED   CURLE_OBSOLETE75

Definition at line 708 of file curl.h.

◆ CURLE_CONV_REQD

#define CURLE_CONV_REQD   CURLE_OBSOLETE76

Definition at line 707 of file curl.h.

◆ CURLE_FTP_ACCESS_DENIED

#define CURLE_FTP_ACCESS_DENIED   CURLE_REMOTE_ACCESS_DENIED

Definition at line 690 of file curl.h.

◆ CURLE_FTP_BAD_DOWNLOAD_RESUME

#define CURLE_FTP_BAD_DOWNLOAD_RESUME   CURLE_BAD_DOWNLOAD_RESUME

Definition at line 705 of file curl.h.

◆ CURLE_FTP_CANT_RECONNECT

#define CURLE_FTP_CANT_RECONNECT   CURLE_OBSOLETE16

Definition at line 680 of file curl.h.

◆ CURLE_FTP_COULDNT_GET_SIZE

#define CURLE_FTP_COULDNT_GET_SIZE   CURLE_OBSOLETE32

Definition at line 681 of file curl.h.

◆ CURLE_FTP_COULDNT_SET_ASCII

#define CURLE_FTP_COULDNT_SET_ASCII   CURLE_OBSOLETE29

Definition at line 682 of file curl.h.

◆ CURLE_FTP_COULDNT_SET_BINARY

#define CURLE_FTP_COULDNT_SET_BINARY   CURLE_FTP_COULDNT_SET_TYPE

Definition at line 691 of file curl.h.

◆ CURLE_FTP_COULDNT_STOR_FILE

#define CURLE_FTP_COULDNT_STOR_FILE   CURLE_UPLOAD_FAILED

Definition at line 703 of file curl.h.

◆ CURLE_FTP_PARTIAL_FILE

#define CURLE_FTP_PARTIAL_FILE   CURLE_PARTIAL_FILE

Definition at line 704 of file curl.h.

◆ CURLE_FTP_QUOTE_ERROR

#define CURLE_FTP_QUOTE_ERROR   CURLE_QUOTE_ERROR

Definition at line 692 of file curl.h.

◆ CURLE_FTP_SSL_FAILED

#define CURLE_FTP_SSL_FAILED   CURLE_USE_SSL_FAILED

Definition at line 696 of file curl.h.

◆ CURLE_FTP_USER_PASSWORD_INCORRECT

#define CURLE_FTP_USER_PASSWORD_INCORRECT   CURLE_OBSOLETE10

Definition at line 679 of file curl.h.

◆ CURLE_FTP_WEIRD_SERVER_REPLY

#define CURLE_FTP_WEIRD_SERVER_REPLY   CURLE_WEIRD_SERVER_REPLY

Definition at line 659 of file curl.h.

◆ CURLE_FTP_WEIRD_USER_REPLY

#define CURLE_FTP_WEIRD_USER_REPLY   CURLE_OBSOLETE12

Definition at line 683 of file curl.h.

◆ CURLE_FTP_WRITE_ERROR

#define CURLE_FTP_WRITE_ERROR   CURLE_OBSOLETE20

Definition at line 684 of file curl.h.

◆ CURLE_FUNCTION_NOT_FOUND

#define CURLE_FUNCTION_NOT_FOUND   CURLE_OBSOLETE41

Definition at line 645 of file curl.h.

◆ CURLE_HTTP_NOT_FOUND

#define CURLE_HTTP_NOT_FOUND   CURLE_HTTP_RETURNED_ERROR

Definition at line 701 of file curl.h.

◆ CURLE_HTTP_PORT_FAILED

#define CURLE_HTTP_PORT_FAILED   CURLE_INTERFACE_FAILED

Definition at line 702 of file curl.h.

◆ CURLE_HTTP_POST_ERROR

#define CURLE_HTTP_POST_ERROR   CURLE_OBSOLETE34

Definition at line 648 of file curl.h.

◆ CURLE_HTTP_RANGE_ERROR

#define CURLE_HTTP_RANGE_ERROR   CURLE_RANGE_ERROR

Definition at line 695 of file curl.h.

◆ CURLE_LDAP_INVALID_URL

#define CURLE_LDAP_INVALID_URL   CURLE_OBSOLETE62

Definition at line 706 of file curl.h.

◆ CURLE_LIBRARY_NOT_FOUND

#define CURLE_LIBRARY_NOT_FOUND   CURLE_OBSOLETE40

Definition at line 685 of file curl.h.

◆ CURLE_MALFORMAT_USER

#define CURLE_MALFORMAT_USER   CURLE_OBSOLETE24

Definition at line 686 of file curl.h.

◆ CURLE_OBSOLETE

#define CURLE_OBSOLETE   CURLE_OBSOLETE50 /* no one should be using this! */

Definition at line 676 of file curl.h.

◆ CURLE_OBSOLETE10

#define CURLE_OBSOLETE10   CURLE_FTP_ACCEPT_FAILED

Definition at line 654 of file curl.h.

◆ CURLE_OBSOLETE12

#define CURLE_OBSOLETE12   CURLE_FTP_ACCEPT_TIMEOUT

Definition at line 655 of file curl.h.

◆ CURLE_OBSOLETE16

#define CURLE_OBSOLETE16   CURLE_HTTP2

Definition at line 651 of file curl.h.

◆ CURLE_OPERATION_TIMEOUTED

#define CURLE_OPERATION_TIMEOUTED   CURLE_OPERATION_TIMEDOUT

Definition at line 700 of file curl.h.

◆ CURLE_SHARE_IN_USE

#define CURLE_SHARE_IN_USE   CURLE_OBSOLETE57

Definition at line 687 of file curl.h.

◆ CURLE_SSL_CACERT

#define CURLE_SSL_CACERT   CURLE_PEER_FAILED_VERIFICATION

Definition at line 662 of file curl.h.

◆ CURLE_SSL_PEER_CERTIFICATE

#define CURLE_SSL_PEER_CERTIFICATE   CURLE_PEER_FAILED_VERIFICATION

Definition at line 672 of file curl.h.

◆ CURLE_TELNET_OPTION_SYNTAX

#define CURLE_TELNET_OPTION_SYNTAX   CURLE_SETOPT_OPTION_SYNTAX

Definition at line 668 of file curl.h.

◆ CURLE_TFTP_DISKFULL

#define CURLE_TFTP_DISKFULL   CURLE_REMOTE_DISK_FULL

Definition at line 693 of file curl.h.

◆ CURLE_TFTP_EXISTS

#define CURLE_TFTP_EXISTS   CURLE_REMOTE_FILE_EXISTS

Definition at line 694 of file curl.h.

◆ CURLE_UNKNOWN_TELNET_OPTION

#define CURLE_UNKNOWN_TELNET_OPTION   CURLE_UNKNOWN_OPTION

Definition at line 665 of file curl.h.

◆ CURLE_URL_MALFORMAT_USER

#define CURLE_URL_MALFORMAT_USER   CURLE_NOT_BUILT_IN

Definition at line 688 of file curl.h.

◆ CURLFINFOFLAG_KNOWN_FILENAME

#define CURLFINFOFLAG_KNOWN_FILENAME   (1<<0)

Definition at line 299 of file curl.h.

◆ CURLFINFOFLAG_KNOWN_FILETYPE

#define CURLFINFOFLAG_KNOWN_FILETYPE   (1<<1)

Definition at line 300 of file curl.h.

◆ CURLFINFOFLAG_KNOWN_GID

#define CURLFINFOFLAG_KNOWN_GID   (1<<5)

Definition at line 304 of file curl.h.

◆ CURLFINFOFLAG_KNOWN_HLINKCOUNT

#define CURLFINFOFLAG_KNOWN_HLINKCOUNT   (1<<7)

Definition at line 306 of file curl.h.

◆ CURLFINFOFLAG_KNOWN_PERM

#define CURLFINFOFLAG_KNOWN_PERM   (1<<3)

Definition at line 302 of file curl.h.

◆ CURLFINFOFLAG_KNOWN_SIZE

#define CURLFINFOFLAG_KNOWN_SIZE   (1<<6)

Definition at line 305 of file curl.h.

◆ CURLFINFOFLAG_KNOWN_TIME

#define CURLFINFOFLAG_KNOWN_TIME   (1<<2)

Definition at line 301 of file curl.h.

◆ CURLFINFOFLAG_KNOWN_UID

#define CURLFINFOFLAG_KNOWN_UID   (1<<4)

Definition at line 303 of file curl.h.

◆ CURLFTPSSL_ALL

#define CURLFTPSSL_ALL   CURLUSESSL_ALL

Definition at line 965 of file curl.h.

◆ CURLFTPSSL_CONTROL

#define CURLFTPSSL_CONTROL   CURLUSESSL_CONTROL

Definition at line 964 of file curl.h.

◆ CURLFTPSSL_LAST

#define CURLFTPSSL_LAST   CURLUSESSL_LAST

Definition at line 966 of file curl.h.

◆ CURLFTPSSL_NONE

#define CURLFTPSSL_NONE   CURLUSESSL_NONE

Definition at line 962 of file curl.h.

◆ CURLFTPSSL_TRY

#define CURLFTPSSL_TRY   CURLUSESSL_TRY

Definition at line 963 of file curl.h.

◆ CURLGSSAPI_DELEGATION_FLAG

#define CURLGSSAPI_DELEGATION_FLAG   (1<<1) /* delegate always */

Definition at line 847 of file curl.h.

◆ CURLGSSAPI_DELEGATION_NONE

#define CURLGSSAPI_DELEGATION_NONE   0 /* no delegation (default) */

Definition at line 845 of file curl.h.

◆ CURLGSSAPI_DELEGATION_POLICY_FLAG

#define CURLGSSAPI_DELEGATION_POLICY_FLAG   (1<<0) /* if permitted by policy */

Definition at line 846 of file curl.h.

◆ CURLHEADER_SEPARATE

#define CURLHEADER_SEPARATE   (1<<0)

Definition at line 1008 of file curl.h.

◆ CURLHEADER_UNIFIED

#define CURLHEADER_UNIFIED   0

Definition at line 1007 of file curl.h.

◆ CURLHSTS_ENABLE

#define CURLHSTS_ENABLE   (long)(1<<0)

Definition at line 1044 of file curl.h.

◆ CURLHSTS_READONLYFILE

#define CURLHSTS_READONLYFILE   (long)(1<<1)

Definition at line 1045 of file curl.h.

◆ CURLINFO_DOUBLE

#define CURLINFO_DOUBLE   0x300000

Definition at line 2858 of file curl.h.

◆ CURLINFO_HTTP_CODE

#define CURLINFO_HTTP_CODE   CURLINFO_RESPONSE_CODE

Definition at line 2966 of file curl.h.

◆ CURLINFO_LONG

#define CURLINFO_LONG   0x200000

Definition at line 2857 of file curl.h.

◆ CURLINFO_MASK

#define CURLINFO_MASK   0x0fffff

Definition at line 2863 of file curl.h.

◆ CURLINFO_OFF_T

#define CURLINFO_OFF_T   0x600000

Definition at line 2862 of file curl.h.

◆ CURLINFO_PTR

#define CURLINFO_PTR   0x400000 /* same as SLIST */

Definition at line 2860 of file curl.h.

◆ CURLINFO_SLIST

#define CURLINFO_SLIST   0x400000

Definition at line 2859 of file curl.h.

◆ CURLINFO_SOCKET

#define CURLINFO_SOCKET   0x500000

Definition at line 2861 of file curl.h.

◆ CURLINFO_STRING

#define CURLINFO_STRING   0x100000

Definition at line 2856 of file curl.h.

◆ CURLINFO_TYPEMASK

#define CURLINFO_TYPEMASK   0xf00000

Definition at line 2864 of file curl.h.

◆ CURLMIMEOPT_FORMESCAPE

#define CURLMIMEOPT_FORMESCAPE   (1<<0) /* Use backslash-escaping for forms. */

Definition at line 2395 of file curl.h.

◆ CURLOPT

#define CURLOPT ( na,
t,
nu )   na = t + nu

Definition at line 1093 of file curl.h.

◆ CURLOPT_CLOSEPOLICY

#define CURLOPT_CLOSEPOLICY   CURLOPT_OBSOLETE72

Definition at line 723 of file curl.h.

◆ CURLOPT_ENCODING

#define CURLOPT_ENCODING   CURLOPT_ACCEPT_ENCODING

Definition at line 658 of file curl.h.

◆ CURLOPT_FILE

#define CURLOPT_FILE   CURLOPT_WRITEDATA /* name changed in 7.9.7 */

Definition at line 716 of file curl.h.

◆ CURLOPT_FTP_RESPONSE_TIMEOUT

#define CURLOPT_FTP_RESPONSE_TIMEOUT   CURLOPT_SERVER_RESPONSE_TIMEOUT

Definition at line 2255 of file curl.h.

◆ CURLOPT_FTP_SSL

#define CURLOPT_FTP_SSL   CURLOPT_USE_SSL

Definition at line 2247 of file curl.h.

◆ CURLOPT_FTPAPPEND

#define CURLOPT_FTPAPPEND   CURLOPT_APPEND

Definition at line 2245 of file curl.h.

◆ CURLOPT_FTPLISTONLY

#define CURLOPT_FTPLISTONLY   CURLOPT_DIRLISTONLY

Definition at line 2246 of file curl.h.

◆ CURLOPT_INFILE

#define CURLOPT_INFILE   CURLOPT_READDATA /* name changed in 7.9.7 */

Definition at line 717 of file curl.h.

◆ CURLOPT_KRB4LEVEL

#define CURLOPT_KRB4LEVEL   CURLOPT_KRBLEVEL

Definition at line 2252 of file curl.h.

◆ CURLOPT_MAIL_RCPT_ALLLOWFAILS

#define CURLOPT_MAIL_RCPT_ALLLOWFAILS   CURLOPT_MAIL_RCPT_ALLOWFAILS

Definition at line 2258 of file curl.h.

◆ CURLOPT_OBSOLETE40

#define CURLOPT_OBSOLETE40   9999

Definition at line 725 of file curl.h.

◆ CURLOPT_OBSOLETE72

#define CURLOPT_OBSOLETE72   9999

Definition at line 724 of file curl.h.

◆ CURLOPT_POST301

#define CURLOPT_POST301   CURLOPT_POSTREDIR

Definition at line 2239 of file curl.h.

◆ CURLOPT_PROGRESSDATA

#define CURLOPT_PROGRESSDATA   CURLOPT_XFERINFODATA

Definition at line 1313 of file curl.h.

◆ CURLOPT_RTSPHEADER

#define CURLOPT_RTSPHEADER   CURLOPT_HTTPHEADER

Definition at line 2274 of file curl.h.

◆ CURLOPT_SSLCERTPASSWD

#define CURLOPT_SSLCERTPASSWD   CURLOPT_KEYPASSWD

Definition at line 2251 of file curl.h.

◆ CURLOPT_SSLKEYPASSWD

#define CURLOPT_SSLKEYPASSWD   CURLOPT_KEYPASSWD

Definition at line 2244 of file curl.h.

◆ CURLOPT_WRITEHEADER

#define CURLOPT_WRITEHEADER   CURLOPT_HEADERDATA

Definition at line 718 of file curl.h.

◆ CURLOPT_WRITEINFO

#define CURLOPT_WRITEINFO   CURLOPT_OBSOLETE40

Definition at line 722 of file curl.h.

◆ CURLOPTDEPRECATED

#define CURLOPTDEPRECATED ( na,
t,
nu,
v,
m )   na CURL_DEPRECATED(v,m) = t + nu

Definition at line 1094 of file curl.h.

◆ CURLOPTTYPE_BLOB

#define CURLOPTTYPE_BLOB   40000

Definition at line 1087 of file curl.h.

◆ CURLOPTTYPE_CBPOINT

#define CURLOPTTYPE_CBPOINT   CURLOPTTYPE_OBJECTPOINT

Definition at line 1105 of file curl.h.

◆ CURLOPTTYPE_FUNCTIONPOINT

#define CURLOPTTYPE_FUNCTIONPOINT   20000

Definition at line 1085 of file curl.h.

◆ CURLOPTTYPE_LONG

#define CURLOPTTYPE_LONG   0

Definition at line 1083 of file curl.h.

◆ CURLOPTTYPE_OBJECTPOINT

#define CURLOPTTYPE_OBJECTPOINT   10000

Definition at line 1084 of file curl.h.

◆ CURLOPTTYPE_OFF_T

#define CURLOPTTYPE_OFF_T   30000

Definition at line 1086 of file curl.h.

◆ CURLOPTTYPE_SLISTPOINT

#define CURLOPTTYPE_SLISTPOINT   CURLOPTTYPE_OBJECTPOINT

Definition at line 1102 of file curl.h.

◆ CURLOPTTYPE_STRINGPOINT

#define CURLOPTTYPE_STRINGPOINT   CURLOPTTYPE_OBJECTPOINT

Definition at line 1099 of file curl.h.

◆ CURLOPTTYPE_VALUES

#define CURLOPTTYPE_VALUES   CURLOPTTYPE_LONG

Definition at line 1108 of file curl.h.

◆ CURLPAUSE_ALL

#define CURLPAUSE_ALL   (CURLPAUSE_RECV|CURLPAUSE_SEND)

Definition at line 3224 of file curl.h.

◆ CURLPAUSE_CONT

#define CURLPAUSE_CONT   (CURLPAUSE_RECV_CONT|CURLPAUSE_SEND_CONT)

Definition at line 3225 of file curl.h.

◆ CURLPAUSE_RECV

#define CURLPAUSE_RECV   (1<<0)

Definition at line 3218 of file curl.h.

◆ CURLPAUSE_RECV_CONT

#define CURLPAUSE_RECV_CONT   (0)

Definition at line 3219 of file curl.h.

◆ CURLPAUSE_SEND

#define CURLPAUSE_SEND   (1<<2)

Definition at line 3221 of file curl.h.

◆ CURLPAUSE_SEND_CONT

#define CURLPAUSE_SEND_CONT   (0)

Definition at line 3222 of file curl.h.

◆ CURLPROTO_ALL

#define CURLPROTO_ALL   (~0) /* enable everything */

Definition at line 1079 of file curl.h.

◆ CURLPROTO_DICT

#define CURLPROTO_DICT   (1<<9)

Definition at line 1058 of file curl.h.

◆ CURLPROTO_FILE

#define CURLPROTO_FILE   (1<<10)

Definition at line 1059 of file curl.h.

◆ CURLPROTO_FTP

#define CURLPROTO_FTP   (1<<2)

Definition at line 1051 of file curl.h.

◆ CURLPROTO_FTPS

#define CURLPROTO_FTPS   (1<<3)

Definition at line 1052 of file curl.h.

◆ CURLPROTO_GOPHER

#define CURLPROTO_GOPHER   (1<<25)

Definition at line 1074 of file curl.h.

◆ CURLPROTO_GOPHERS

#define CURLPROTO_GOPHERS   (1<<29)

Definition at line 1078 of file curl.h.

◆ CURLPROTO_HTTP

#define CURLPROTO_HTTP   (1<<0)

Definition at line 1049 of file curl.h.

◆ CURLPROTO_HTTPS

#define CURLPROTO_HTTPS   (1<<1)

Definition at line 1050 of file curl.h.

◆ CURLPROTO_IMAP

#define CURLPROTO_IMAP   (1<<12)

Definition at line 1061 of file curl.h.

◆ CURLPROTO_IMAPS

#define CURLPROTO_IMAPS   (1<<13)

Definition at line 1062 of file curl.h.

◆ CURLPROTO_LDAP

#define CURLPROTO_LDAP   (1<<7)

Definition at line 1056 of file curl.h.

◆ CURLPROTO_LDAPS

#define CURLPROTO_LDAPS   (1<<8)

Definition at line 1057 of file curl.h.

◆ CURLPROTO_MQTT

#define CURLPROTO_MQTT   (1<<28)

Definition at line 1077 of file curl.h.

◆ CURLPROTO_POP3

#define CURLPROTO_POP3   (1<<14)

Definition at line 1063 of file curl.h.

◆ CURLPROTO_POP3S

#define CURLPROTO_POP3S   (1<<15)

Definition at line 1064 of file curl.h.

◆ CURLPROTO_RTMP

#define CURLPROTO_RTMP   (1<<19)

Definition at line 1068 of file curl.h.

◆ CURLPROTO_RTMPE

#define CURLPROTO_RTMPE   (1<<21)

Definition at line 1070 of file curl.h.

◆ CURLPROTO_RTMPS

#define CURLPROTO_RTMPS   (1<<23)

Definition at line 1072 of file curl.h.

◆ CURLPROTO_RTMPT

#define CURLPROTO_RTMPT   (1<<20)

Definition at line 1069 of file curl.h.

◆ CURLPROTO_RTMPTE

#define CURLPROTO_RTMPTE   (1<<22)

Definition at line 1071 of file curl.h.

◆ CURLPROTO_RTMPTS

#define CURLPROTO_RTMPTS   (1<<24)

Definition at line 1073 of file curl.h.

◆ CURLPROTO_RTSP

#define CURLPROTO_RTSP   (1<<18)

Definition at line 1067 of file curl.h.

◆ CURLPROTO_SCP

#define CURLPROTO_SCP   (1<<4)

Definition at line 1053 of file curl.h.

◆ CURLPROTO_SFTP

#define CURLPROTO_SFTP   (1<<5)

Definition at line 1054 of file curl.h.

◆ CURLPROTO_SMB

#define CURLPROTO_SMB   (1<<26)

Definition at line 1075 of file curl.h.

◆ CURLPROTO_SMBS

#define CURLPROTO_SMBS   (1<<27)

Definition at line 1076 of file curl.h.

◆ CURLPROTO_SMTP

#define CURLPROTO_SMTP   (1<<16)

Definition at line 1065 of file curl.h.

◆ CURLPROTO_SMTPS

#define CURLPROTO_SMTPS   (1<<17)

Definition at line 1066 of file curl.h.

◆ CURLPROTO_TELNET

#define CURLPROTO_TELNET   (1<<6)

Definition at line 1055 of file curl.h.

◆ CURLPROTO_TFTP

#define CURLPROTO_TFTP   (1<<11)

Definition at line 1060 of file curl.h.

◆ CURLSSH_AUTH_AGENT

#define CURLSSH_AUTH_AGENT   (1<<4) /* agent (ssh-agent, pageant...) */

Definition at line 841 of file curl.h.

◆ CURLSSH_AUTH_ANY

#define CURLSSH_AUTH_ANY   ~0 /* all types supported by the server */

Definition at line 835 of file curl.h.

◆ CURLSSH_AUTH_DEFAULT

#define CURLSSH_AUTH_DEFAULT   CURLSSH_AUTH_ANY

Definition at line 843 of file curl.h.

◆ CURLSSH_AUTH_GSSAPI

#define CURLSSH_AUTH_GSSAPI   (1<<5) /* gssapi (kerberos, ...) */

Definition at line 842 of file curl.h.

◆ CURLSSH_AUTH_HOST

#define CURLSSH_AUTH_HOST   (1<<2) /* host key files */

Definition at line 839 of file curl.h.

◆ CURLSSH_AUTH_KEYBOARD

#define CURLSSH_AUTH_KEYBOARD   (1<<3) /* keyboard interactive */

Definition at line 840 of file curl.h.

◆ CURLSSH_AUTH_NONE

#define CURLSSH_AUTH_NONE   0 /* none allowed, silly but complete */

Definition at line 836 of file curl.h.

◆ CURLSSH_AUTH_PASSWORD

#define CURLSSH_AUTH_PASSWORD   (1<<1) /* password */

Definition at line 838 of file curl.h.

◆ CURLSSH_AUTH_PUBLICKEY

#define CURLSSH_AUTH_PUBLICKEY   (1<<0) /* public/private key files */

Definition at line 837 of file curl.h.

◆ CURLSSLBACKEND_AWSLC

#define CURLSSLBACKEND_AWSLC   CURLSSLBACKEND_OPENSSL

Definition at line 172 of file curl.h.

◆ CURLSSLBACKEND_BORINGSSL

#define CURLSSLBACKEND_BORINGSSL   CURLSSLBACKEND_OPENSSL

Definition at line 173 of file curl.h.

◆ CURLSSLBACKEND_CYASSL

#define CURLSSLBACKEND_CYASSL   CURLSSLBACKEND_WOLFSSL

Definition at line 177 of file curl.h.

◆ CURLSSLBACKEND_DARWINSSL

#define CURLSSLBACKEND_DARWINSSL   CURLSSLBACKEND_SECURETRANSPORT

Definition at line 178 of file curl.h.

◆ CURLSSLBACKEND_LIBRESSL

#define CURLSSLBACKEND_LIBRESSL   CURLSSLBACKEND_OPENSSL

Definition at line 174 of file curl.h.

◆ CURLSSLOPT_ALLOW_BEAST

#define CURLSSLOPT_ALLOW_BEAST   (1<<0)

Definition at line 922 of file curl.h.

◆ CURLSSLOPT_AUTO_CLIENT_CERT

#define CURLSSLOPT_AUTO_CLIENT_CERT   (1<<5)

Definition at line 943 of file curl.h.

◆ CURLSSLOPT_EARLYDATA

#define CURLSSLOPT_EARLYDATA   (1<<6)

Definition at line 946 of file curl.h.

◆ CURLSSLOPT_NATIVE_CA

#define CURLSSLOPT_NATIVE_CA   (1<<4)

Definition at line 939 of file curl.h.

◆ CURLSSLOPT_NO_PARTIALCHAIN

#define CURLSSLOPT_NO_PARTIALCHAIN   (1<<2)

Definition at line 930 of file curl.h.

◆ CURLSSLOPT_NO_REVOKE

#define CURLSSLOPT_NO_REVOKE   (1<<1)

Definition at line 926 of file curl.h.

◆ CURLSSLOPT_REVOKE_BEST_EFFORT

#define CURLSSLOPT_REVOKE_BEST_EFFORT   (1<<3)

Definition at line 935 of file curl.h.

◆ CURLVERSION_NOW

#define CURLVERSION_NOW   CURLVERSION_TWELFTH

Definition at line 3077 of file curl.h.

Typedef Documentation

◆ CURL

typedef void CURL

Definition at line 117 of file curl.h.

◆ curl_calloc_callback

typedef void *(* curl_calloc_callback) (size_t nmemb, size_t size)

Definition at line 464 of file curl.h.

◆ curl_chunk_bgn_callback

typedef long(* curl_chunk_bgn_callback) (const void *transfer_info, void *ptr, int remains)

Definition at line 345 of file curl.h.

◆ curl_chunk_end_callback

typedef long(* curl_chunk_end_callback) (void *ptr)

Definition at line 359 of file curl.h.

◆ curl_closesocket_callback

typedef int(* curl_closesocket_callback) (void *clientp, curl_socket_t item)

Definition at line 433 of file curl.h.

◆ curl_conv_callback

typedef CURLcode(* curl_conv_callback) (char *buffer, size_t length)

Definition at line 772 of file curl.h.

◆ curl_debug_callback

typedef int(* curl_debug_callback) (CURL *handle, curl_infotype type, char *data, size_t size, void *userptr)

Definition at line 481 of file curl.h.

◆ curl_fnmatch_callback

typedef int(* curl_fnmatch_callback) (void *ptr, const char *pattern, const char *string)

Definition at line 368 of file curl.h.

◆ curl_free_callback

typedef void(* curl_free_callback) (void *ptr)

Definition at line 461 of file curl.h.

◆ curl_hstsread_callback

typedef CURLSTScode(* curl_hstsread_callback) (CURL *easy, struct curl_hstsentry *e, void *userp)

Definition at line 1035 of file curl.h.

◆ curl_hstswrite_callback

typedef CURLSTScode(* curl_hstswrite_callback) (CURL *easy, struct curl_hstsentry *e, struct curl_index *i, void *userp)

Definition at line 1038 of file curl.h.

◆ curl_ioctl_callback

typedef curlioerr(* curl_ioctl_callback) (CURL *handle, int cmd, void *clientp)

Definition at line 449 of file curl.h.

◆ curl_lock_function

typedef void(* curl_lock_function) (CURL *handle, curl_lock_data data, curl_lock_access locktype, void *userptr)

Definition at line 3017 of file curl.h.

◆ curl_malloc_callback

typedef void *(* curl_malloc_callback) (size_t size)

Definition at line 460 of file curl.h.

◆ curl_mime

typedef struct curl_mime curl_mime

Definition at line 2391 of file curl.h.

◆ curl_mimepart

typedef struct curl_mimepart curl_mimepart

Definition at line 2392 of file curl.h.

◆ curl_opensocket_callback

typedef curl_socket_t(* curl_opensocket_callback) (void *clientp, curlsocktype purpose, struct curl_sockaddr *address)

Definition at line 428 of file curl.h.

◆ curl_prereq_callback

typedef int(* curl_prereq_callback) (void *clientp, char *conn_primary_ip, char *conn_local_ip, int conn_primary_port, int conn_local_port)

Definition at line 489 of file curl.h.

◆ curl_progress_callback

typedef int(* curl_progress_callback) (void *clientp, double dltotal, double dlnow, double ultotal, double ulnow)

Definition at line 231 of file curl.h.

◆ curl_read_callback

typedef size_t(* curl_read_callback) (char *buffer, size_t size, size_t nitems, void *instream)

Definition at line 394 of file curl.h.

◆ curl_realloc_callback

typedef void *(* curl_realloc_callback) (void *ptr, size_t size)

Definition at line 462 of file curl.h.

◆ curl_resolver_start_callback

typedef int(* curl_resolver_start_callback) (void *resolver_state, void *reserved, void *userdata)

Definition at line 282 of file curl.h.

◆ curl_seek_callback

typedef int(* curl_seek_callback) (void *instream, curl_off_t offset, int origin)

Definition at line 376 of file curl.h.

◆ curl_socket_t

typedef int curl_socket_t

Definition at line 146 of file curl.h.

◆ curl_sockopt_callback

typedef int(* curl_sockopt_callback) (void *clientp, curl_socket_t curlfd, curlsocktype purpose)

Definition at line 414 of file curl.h.

◆ curl_sshhostkeycallback

typedef int(* curl_sshhostkeycallback) (void *clientp, int keytype, const char *key, size_t keylen)

Definition at line 896 of file curl.h.

◆ curl_sshkeycallback

typedef int(* curl_sshkeycallback) (CURL *easy, const struct curl_khkey *knownkey, const struct curl_khkey *foundkey, enum curl_khmatch, void *clientp)

Definition at line 888 of file curl.h.

◆ curl_ssl_backend

typedef struct curl_ssl_backend curl_ssl_backend

Definition at line 2795 of file curl.h.

◆ curl_ssl_ctx_callback

typedef CURLcode(* curl_ssl_ctx_callback) (CURL *curl, void *ssl_ctx, void *userptr)

Definition at line 774 of file curl.h.

◆ curl_ssls_export_cb

typedef CURLcode curl_ssls_export_cb(CURL *handle, void *userptr, const char *session_key, const unsigned char *shmac, size_t shmac_len, const unsigned char *sdata, size_t sdata_len, curl_off_t valid_until, int ietf_tls_id, const char *alpn, size_t earlydata_max)

Definition at line 3244 of file curl.h.

◆ curl_strdup_callback

typedef char *(* curl_strdup_callback) (const char *str)

Definition at line 463 of file curl.h.

◆ curl_trailer_callback

typedef int(* curl_trailer_callback) (struct curl_slist **list, void *userdata)

Definition at line 399 of file curl.h.

◆ curl_unlock_function

typedef void(* curl_unlock_function) (CURL *handle, curl_lock_data data, void *userptr)

Definition at line 3021 of file curl.h.

◆ curl_version_info_data

typedef struct curl_version_info_data curl_version_info_data

Definition at line 3141 of file curl.h.

◆ curl_write_callback

typedef size_t(* curl_write_callback) (char *buffer, size_t size, size_t nitems, void *outstream)

Definition at line 276 of file curl.h.

◆ curl_xferinfo_callback

typedef int(* curl_xferinfo_callback) (void *clientp, curl_off_t dltotal, curl_off_t dlnow, curl_off_t ultotal, curl_off_t ulnow)

Definition at line 240 of file curl.h.

◆ CURLSH

typedef void CURLSH

Definition at line 118 of file curl.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
CURL_HTTP_VERSION_NONE 
CURL_HTTP_VERSION_1_0 
CURL_HTTP_VERSION_1_1 
CURL_HTTP_VERSION_2_0 
CURL_HTTP_VERSION_2TLS 
CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE 
CURL_HTTP_VERSION_3 
CURL_HTTP_VERSION_3ONLY 
CURL_HTTP_VERSION_LAST 

Definition at line 2277 of file curl.h.

2280 {
2281 CURL_HTTP_VERSION_NONE, /* setting this means we do not care, and that we
2282 would like the library to choose the best
2283 possible for us! */
2284 CURL_HTTP_VERSION_1_0, /* please use HTTP 1.0 in the request */
2285 CURL_HTTP_VERSION_1_1, /* please use HTTP 1.1 in the request */
2286 CURL_HTTP_VERSION_2_0, /* please use HTTP 2 in the request */
2287 CURL_HTTP_VERSION_2TLS, /* use version 2 for HTTPS, version 1.1 for HTTP */
2288 CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE, /* please use HTTP 2 without HTTP/1.1
2289 Upgrade */
2290 CURL_HTTP_VERSION_3 = 30, /* Use HTTP/3, fallback to HTTP/2 or HTTP/1 if
2291 needed. For HTTPS only. For HTTP, this option
2292 makes libcurl return error. */
2293 CURL_HTTP_VERSION_3ONLY = 31, /* Use HTTP/3 without fallback. For HTTPS
2294 only. For HTTP, this makes libcurl
2295 return error. */
@ CURL_HTTP_VERSION_2TLS
Definition curl.h:2284
@ CURL_HTTP_VERSION_3
Definition curl.h:2287
@ CURL_HTTP_VERSION_1_1
Definition curl.h:2282
@ CURL_HTTP_VERSION_NONE
Definition curl.h:2278
@ CURL_HTTP_VERSION_3ONLY
Definition curl.h:2290
@ CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE
Definition curl.h:2285
@ CURL_HTTP_VERSION_1_0
Definition curl.h:2281
@ CURL_HTTP_VERSION_2_0
Definition curl.h:2283

◆ anonymous enum

anonymous enum
Enumerator
CURL_RTSPREQ_NONE 
CURL_RTSPREQ_OPTIONS 
CURL_RTSPREQ_DESCRIBE 
CURL_RTSPREQ_ANNOUNCE 
CURL_RTSPREQ_SETUP 
CURL_RTSPREQ_PLAY 
CURL_RTSPREQ_PAUSE 
CURL_RTSPREQ_TEARDOWN 
CURL_RTSPREQ_GET_PARAMETER 
CURL_RTSPREQ_SET_PARAMETER 
CURL_RTSPREQ_RECORD 
CURL_RTSPREQ_RECEIVE 
CURL_RTSPREQ_LAST 

Definition at line 2305 of file curl.h.

2308 {
2309 CURL_RTSPREQ_NONE, /* first in list */
@ CURL_RTSPREQ_ANNOUNCE
Definition curl.h:2309
@ CURL_RTSPREQ_RECORD
Definition curl.h:2316
@ CURL_RTSPREQ_NONE
Definition curl.h:2306
@ CURL_RTSPREQ_PAUSE
Definition curl.h:2312
@ CURL_RTSPREQ_OPTIONS
Definition curl.h:2307
@ CURL_RTSPREQ_SET_PARAMETER
Definition curl.h:2315
@ CURL_RTSPREQ_TEARDOWN
Definition curl.h:2313
@ CURL_RTSPREQ_PLAY
Definition curl.h:2311
@ CURL_RTSPREQ_GET_PARAMETER
Definition curl.h:2314
@ CURL_RTSPREQ_SETUP
Definition curl.h:2310
@ CURL_RTSPREQ_DESCRIBE
Definition curl.h:2308

◆ curl_closepolicy

Enumerator
CURLCLOSEPOLICY_NONE 
CURLCLOSEPOLICY_OLDEST 
CURLCLOSEPOLICY_LEAST_RECENTLY_USED 
CURLCLOSEPOLICY_LEAST_TRAFFIC 
CURLCLOSEPOLICY_SLOWEST 
CURLCLOSEPOLICY_CALLBACK 
CURLCLOSEPOLICY_LAST 

Definition at line 2968 of file curl.h.

2971 {
2972 CURLCLOSEPOLICY_NONE, /* first, never use this */
2973
@ CURLCLOSEPOLICY_CALLBACK
Definition curl.h:2975
@ CURLCLOSEPOLICY_SLOWEST
Definition curl.h:2974
@ CURLCLOSEPOLICY_OLDEST
Definition curl.h:2971
@ CURLCLOSEPOLICY_NONE
Definition curl.h:2969
@ CURLCLOSEPOLICY_LEAST_TRAFFIC
Definition curl.h:2973
@ CURLCLOSEPOLICY_LEAST_RECENTLY_USED
Definition curl.h:2972

◆ curl_ftpauth

Enumerator
CURLFTPAUTH_DEFAULT 
CURLFTPAUTH_SSL 
CURLFTPAUTH_TLS 
CURLFTPAUTH_LAST 

Definition at line 979 of file curl.h.

981 {
982 CURLFTPAUTH_DEFAULT, /* let libcurl decide */
983 CURLFTPAUTH_SSL, /* use "AUTH SSL" */
984 CURLFTPAUTH_TLS, /* use "AUTH TLS" */
@ CURLFTPAUTH_DEFAULT
Definition curl.h:980
@ CURLFTPAUTH_SSL
Definition curl.h:981
@ CURLFTPAUTH_TLS
Definition curl.h:982

◆ curl_ftpccc

Enumerator
CURLFTPSSL_CCC_NONE 
CURLFTPSSL_CCC_PASSIVE 
CURLFTPSSL_CCC_ACTIVE 
CURLFTPSSL_CCC_LAST 

Definition at line 971 of file curl.h.

973 {
974 CURLFTPSSL_CCC_NONE, /* do not send CCC */
975 CURLFTPSSL_CCC_PASSIVE, /* Let the server initiate the shutdown */
976 CURLFTPSSL_CCC_ACTIVE, /* Initiate the shutdown */
@ CURLFTPSSL_CCC_PASSIVE
Definition curl.h:973
@ CURLFTPSSL_CCC_ACTIVE
Definition curl.h:974
@ CURLFTPSSL_CCC_NONE
Definition curl.h:972

◆ curl_ftpcreatedir

Enumerator
CURLFTP_CREATE_DIR_NONE 
CURLFTP_CREATE_DIR 
CURLFTP_CREATE_DIR_RETRY 
CURLFTP_CREATE_DIR_LAST 

Definition at line 987 of file curl.h.

989 {
990 CURLFTP_CREATE_DIR_NONE, /* do NOT create missing dirs! */
991 CURLFTP_CREATE_DIR, /* (FTP/SFTP) if CWD fails, try MKD and then CWD
992 again if MKD succeeded, for SFTP this does
993 similar magic */
994 CURLFTP_CREATE_DIR_RETRY, /* (FTP only) if CWD fails, try MKD and then CWD
995 again even if MKD failed! */
@ CURLFTP_CREATE_DIR
Definition curl.h:989
@ CURLFTP_CREATE_DIR_RETRY
Definition curl.h:992
@ CURLFTP_CREATE_DIR_NONE
Definition curl.h:988

◆ curl_ftpmethod

Enumerator
CURLFTPMETHOD_DEFAULT 
CURLFTPMETHOD_MULTICWD 
CURLFTPMETHOD_NOCWD 
CURLFTPMETHOD_SINGLECWD 
CURLFTPMETHOD_LAST 

Definition at line 998 of file curl.h.

1000 {
1001 CURLFTPMETHOD_DEFAULT, /* let libcurl pick */
1002 CURLFTPMETHOD_MULTICWD, /* single CWD operation for each path part */
1003 CURLFTPMETHOD_NOCWD, /* no CWD at all */
1004 CURLFTPMETHOD_SINGLECWD, /* one CWD to full dir, then work on file */
@ CURLFTPMETHOD_SINGLECWD
Definition curl.h:1002
@ CURLFTPMETHOD_MULTICWD
Definition curl.h:1000
@ CURLFTPMETHOD_NOCWD
Definition curl.h:1001
@ CURLFTPMETHOD_DEFAULT
Definition curl.h:999

◆ curl_infotype

Enumerator
CURLINFO_TEXT 
CURLINFO_HEADER_IN 
CURLINFO_HEADER_OUT 
CURLINFO_DATA_IN 
CURLINFO_DATA_OUT 
CURLINFO_SSL_DATA_IN 
CURLINFO_SSL_DATA_OUT 
CURLINFO_END 

Definition at line 470 of file curl.h.

472 {
473 CURLINFO_TEXT = 0,
474 CURLINFO_HEADER_IN, /* 1 */
475 CURLINFO_HEADER_OUT, /* 2 */
476 CURLINFO_DATA_IN, /* 3 */
477 CURLINFO_DATA_OUT, /* 4 */
478 CURLINFO_SSL_DATA_IN, /* 5 */
479 CURLINFO_SSL_DATA_OUT, /* 6 */
@ CURLINFO_SSL_DATA_OUT
Definition curl.h:477
@ CURLINFO_HEADER_OUT
Definition curl.h:473
@ CURLINFO_DATA_IN
Definition curl.h:474
@ CURLINFO_TEXT
Definition curl.h:471
@ CURLINFO_DATA_OUT
Definition curl.h:475
@ CURLINFO_HEADER_IN
Definition curl.h:472
@ CURLINFO_SSL_DATA_IN
Definition curl.h:476

◆ curl_khmatch

Enumerator
CURLKHMATCH_OK 
CURLKHMATCH_MISMATCH 
CURLKHMATCH_MISSING 
CURLKHMATCH_LAST 

Definition at line 881 of file curl.h.

883 {
884 CURLKHMATCH_OK, /* match */
885 CURLKHMATCH_MISMATCH, /* host found, key mismatch! */
886 CURLKHMATCH_MISSING, /* no matching host/key found */
@ CURLKHMATCH_OK
Definition curl.h:882
@ CURLKHMATCH_MISSING
Definition curl.h:884
@ CURLKHMATCH_MISMATCH
Definition curl.h:883

◆ curl_khstat

Enumerator
CURLKHSTAT_FINE_ADD_TO_FILE 
CURLKHSTAT_FINE 
CURLKHSTAT_REJECT 
CURLKHSTAT_DEFER 
CURLKHSTAT_FINE_REPLACE 
CURLKHSTAT_LAST 

Definition at line 869 of file curl.h.

871 {
874 CURLKHSTAT_REJECT, /* reject the connection, return an error */
875 CURLKHSTAT_DEFER, /* do not accept it, but we cannot answer right now.
876 Causes a CURLE_PEER_FAILED_VERIFICATION error but the
877 connection will be left intact etc */
878 CURLKHSTAT_FINE_REPLACE, /* accept and replace the wrong key */
@ CURLKHSTAT_FINE
Definition curl.h:871
@ CURLKHSTAT_REJECT
Definition curl.h:872
@ CURLKHSTAT_FINE_ADD_TO_FILE
Definition curl.h:870
@ CURLKHSTAT_FINE_REPLACE
Definition curl.h:876
@ CURLKHSTAT_DEFER
Definition curl.h:873

◆ curl_khtype

Enumerator
CURLKHTYPE_UNKNOWN 
CURLKHTYPE_RSA1 
CURLKHTYPE_RSA 
CURLKHTYPE_DSS 
CURLKHTYPE_ECDSA 
CURLKHTYPE_ED25519 

Definition at line 851 of file curl.h.

853 {
@ CURLKHTYPE_ECDSA
Definition curl.h:856
@ CURLKHTYPE_DSS
Definition curl.h:855
@ CURLKHTYPE_RSA1
Definition curl.h:853
@ CURLKHTYPE_RSA
Definition curl.h:854
@ CURLKHTYPE_UNKNOWN
Definition curl.h:852

◆ curl_lock_access

Enumerator
CURL_LOCK_ACCESS_NONE 
CURL_LOCK_ACCESS_SHARED 
CURL_LOCK_ACCESS_SINGLE 
CURL_LOCK_ACCESS_LAST 

Definition at line 3010 of file curl.h.

3013 {
3014 CURL_LOCK_ACCESS_NONE = 0, /* unspecified action */
3015 CURL_LOCK_ACCESS_SHARED = 1, /* for read perhaps */
@ CURL_LOCK_ACCESS_SHARED
Definition curl.h:3012
@ CURL_LOCK_ACCESS_NONE
Definition curl.h:3011

◆ curl_lock_data

Enumerator
CURL_LOCK_DATA_NONE 
CURL_LOCK_DATA_SHARE 
CURL_LOCK_DATA_COOKIE 
CURL_LOCK_DATA_DNS 
CURL_LOCK_DATA_SSL_SESSION 
CURL_LOCK_DATA_CONNECT 
CURL_LOCK_DATA_PSL 
CURL_LOCK_DATA_HSTS 
CURL_LOCK_DATA_LAST 

Definition at line 2993 of file curl.h.

2996 {
2998 /* CURL_LOCK_DATA_SHARE is used internally to say that
2999 * the locking is just made to change the internal state of the share
3000 * itself.
3001 */
@ CURL_LOCK_DATA_COOKIE
Definition curl.h:3000
@ CURL_LOCK_DATA_SHARE
Definition curl.h:2999
@ CURL_LOCK_DATA_CONNECT
Definition curl.h:3003
@ CURL_LOCK_DATA_NONE
Definition curl.h:2994
@ CURL_LOCK_DATA_DNS
Definition curl.h:3001
@ CURL_LOCK_DATA_SSL_SESSION
Definition curl.h:3002
@ CURL_LOCK_DATA_PSL
Definition curl.h:3004

◆ CURL_NETRC_OPTION

Enumerator
CURL_NETRC_IGNORED 
CURL_NETRC_OPTIONAL 
CURL_NETRC_REQUIRED 
CURL_NETRC_LAST 

Definition at line 2322 of file curl.h.

2325 {
2326 CURL_NETRC_IGNORED, /* The .netrc will never be read.
2327 * This is the default. */
2328 CURL_NETRC_OPTIONAL, /* A user:password in the URL will be preferred
2329 * to one in the .netrc. */
2330 CURL_NETRC_REQUIRED, /* A user:password in the URL will be ignored.
2331 * Unless one is set programmatically, the .netrc
@ CURL_NETRC_OPTIONAL
Definition curl.h:2325
@ CURL_NETRC_REQUIRED
Definition curl.h:2327
@ CURL_NETRC_IGNORED
Definition curl.h:2323

◆ curl_proxytype

Enumerator
CURLPROXY_HTTP 
CURLPROXY_HTTP_1_0 
CURLPROXY_HTTPS 
CURLPROXY_HTTPS2 
CURLPROXY_SOCKS4 
CURLPROXY_SOCKS5 
CURLPROXY_SOCKS4A 
CURLPROXY_SOCKS5_HOSTNAME 

Definition at line 781 of file curl.h.

783 {
784 CURLPROXY_HTTP = 0, /* added in 7.10, new in 7.19.4 default is to use
785 CONNECT HTTP/1.1 */
786 CURLPROXY_HTTP_1_0 = 1, /* added in 7.19.4, force to use CONNECT
787 HTTP/1.0 */
788 CURLPROXY_HTTPS = 2, /* HTTPS but stick to HTTP/1 added in 7.52.0 */
789 CURLPROXY_HTTPS2 = 3, /* HTTPS and attempt HTTP/2 added in 8.2.0 */
790 CURLPROXY_SOCKS4 = 4, /* support added in 7.15.2, enum existed already
791 in 7.10 */
792 CURLPROXY_SOCKS5 = 5, /* added in 7.10 */
793 CURLPROXY_SOCKS4A = 6, /* added in 7.18.0 */
794 CURLPROXY_SOCKS5_HOSTNAME = 7 /* Use the SOCKS5 protocol but pass along the
795 hostname rather than the IP address. added
@ CURLPROXY_SOCKS5
Definition curl.h:790
@ CURLPROXY_SOCKS4
Definition curl.h:788
@ CURLPROXY_SOCKS4A
Definition curl.h:791
@ CURLPROXY_HTTP_1_0
Definition curl.h:784
@ CURLPROXY_HTTP
Definition curl.h:782
@ CURLPROXY_HTTPS2
Definition curl.h:787
@ CURLPROXY_SOCKS5_HOSTNAME
Definition curl.h:792
@ CURLPROXY_HTTPS
Definition curl.h:786

◆ curl_sslbackend

Enumerator
CURLSSLBACKEND_NONE 
CURLSSLBACKEND_OPENSSL 
CURLSSLBACKEND_GNUTLS 
CURL_DEPRECATED 
CURLSSLBACKEND_OBSOLETE4 
CURL_DEPRECATED 
CURL_DEPRECATED 
CURLSSLBACKEND_WOLFSSL 
CURLSSLBACKEND_SCHANNEL 
CURLSSLBACKEND_SECURETRANSPORT 
CURL_DEPRECATED 
CURLSSLBACKEND_MBEDTLS 
CURL_DEPRECATED 
CURLSSLBACKEND_BEARSSL 
CURLSSLBACKEND_RUSTLS 

Definition at line 153 of file curl.h.

153 {
157 CURLSSLBACKEND_NSS CURL_DEPRECATED(8.3.0, "") = 3,
158 CURLSSLBACKEND_OBSOLETE4 = 4, /* Was QSOSSL. */
159 CURLSSLBACKEND_GSKIT CURL_DEPRECATED(8.3.0, "") = 5,
160 CURLSSLBACKEND_POLARSSL CURL_DEPRECATED(7.69.0, "") = 6,
164 CURLSSLBACKEND_AXTLS CURL_DEPRECATED(7.61.0, "") = 10,
166 CURLSSLBACKEND_MESALINK CURL_DEPRECATED(7.82.0, "") = 12,
#define CURL_DEPRECATED(version, message)
Definition curl.h:58
curl_sslbackend
Definition curl.h:153
@ CURLSSLBACKEND_GNUTLS
Definition curl.h:156
@ CURLSSLBACKEND_NONE
Definition curl.h:154
@ CURLSSLBACKEND_MBEDTLS
Definition curl.h:165
@ CURLSSLBACKEND_RUSTLS
Definition curl.h:168
@ CURLSSLBACKEND_WOLFSSL
Definition curl.h:161
@ CURLSSLBACKEND_BEARSSL
Definition curl.h:167
@ CURLSSLBACKEND_SECURETRANSPORT
Definition curl.h:163
@ CURLSSLBACKEND_OBSOLETE4
Definition curl.h:158
@ CURLSSLBACKEND_OPENSSL
Definition curl.h:155
@ CURLSSLBACKEND_SCHANNEL
Definition curl.h:162

◆ curl_TimeCond

Enumerator
CURL_TIMECOND_NONE 
CURL_TIMECOND_IFMODSINCE 
CURL_TIMECOND_IFUNMODSINCE 
CURL_TIMECOND_LASTMOD 
CURL_TIMECOND_LAST 

Definition at line 2372 of file curl.h.

2375 {
2377
@ CURL_TIMECOND_LASTMOD
Definition curl.h:2377
@ CURL_TIMECOND_IFUNMODSINCE
Definition curl.h:2376
@ CURL_TIMECOND_IFMODSINCE
Definition curl.h:2375
@ CURL_TIMECOND_NONE
Definition curl.h:2373

◆ CURL_TLSAUTH

Enumerator
CURL_TLSAUTH_NONE 
CURL_TLSAUTH_SRP 
CURL_TLSAUTH_LAST 

Definition at line 2354 of file curl.h.

2357 {
@ CURL_TLSAUTH_NONE
Definition curl.h:2355

◆ curl_usessl

Enumerator
CURLUSESSL_NONE 
CURLUSESSL_TRY 
CURLUSESSL_CONTROL 
CURLUSESSL_ALL 
CURLUSESSL_LAST 

Definition at line 907 of file curl.h.

909 {
910 CURLUSESSL_NONE, /* do not attempt to use SSL */
911 CURLUSESSL_TRY, /* try using SSL, proceed anyway otherwise */
912 CURLUSESSL_CONTROL, /* SSL for the control connection or fail */
913 CURLUSESSL_ALL, /* SSL for all communication or fail */
@ CURLUSESSL_TRY
Definition curl.h:909
@ CURLUSESSL_CONTROL
Definition curl.h:910
@ CURLUSESSL_NONE
Definition curl.h:908
@ CURLUSESSL_ALL
Definition curl.h:911

◆ CURLcode

enum CURLcode
Enumerator
CURLE_OK 
CURLE_UNSUPPORTED_PROTOCOL 
CURLE_FAILED_INIT 
CURLE_URL_MALFORMAT 
CURLE_NOT_BUILT_IN 
CURLE_COULDNT_RESOLVE_PROXY 
CURLE_COULDNT_RESOLVE_HOST 
CURLE_COULDNT_CONNECT 
CURLE_WEIRD_SERVER_REPLY 
CURLE_REMOTE_ACCESS_DENIED 
CURLE_FTP_ACCEPT_FAILED 
CURLE_FTP_WEIRD_PASS_REPLY 
CURLE_FTP_ACCEPT_TIMEOUT 
CURLE_FTP_WEIRD_PASV_REPLY 
CURLE_FTP_WEIRD_227_FORMAT 
CURLE_FTP_CANT_GET_HOST 
CURLE_HTTP2 
CURLE_FTP_COULDNT_SET_TYPE 
CURLE_PARTIAL_FILE 
CURLE_FTP_COULDNT_RETR_FILE 
CURLE_OBSOLETE20 
CURLE_QUOTE_ERROR 
CURLE_HTTP_RETURNED_ERROR 
CURLE_WRITE_ERROR 
CURLE_OBSOLETE24 
CURLE_UPLOAD_FAILED 
CURLE_READ_ERROR 
CURLE_OUT_OF_MEMORY 
CURLE_OPERATION_TIMEDOUT 
CURLE_OBSOLETE29 
CURLE_FTP_PORT_FAILED 
CURLE_FTP_COULDNT_USE_REST 
CURLE_OBSOLETE32 
CURLE_RANGE_ERROR 
CURLE_OBSOLETE34 
CURLE_SSL_CONNECT_ERROR 
CURLE_BAD_DOWNLOAD_RESUME 
CURLE_FILE_COULDNT_READ_FILE 
CURLE_LDAP_CANNOT_BIND 
CURLE_LDAP_SEARCH_FAILED 
CURLE_OBSOLETE40 
CURLE_OBSOLETE41 
CURLE_ABORTED_BY_CALLBACK 
CURLE_BAD_FUNCTION_ARGUMENT 
CURLE_OBSOLETE44 
CURLE_INTERFACE_FAILED 
CURLE_OBSOLETE46 
CURLE_TOO_MANY_REDIRECTS 
CURLE_UNKNOWN_OPTION 
CURLE_SETOPT_OPTION_SYNTAX 
CURLE_OBSOLETE50 
CURLE_OBSOLETE51 
CURLE_GOT_NOTHING 
CURLE_SSL_ENGINE_NOTFOUND 
CURLE_SSL_ENGINE_SETFAILED 
CURLE_SEND_ERROR 
CURLE_RECV_ERROR 
CURLE_OBSOLETE57 
CURLE_SSL_CERTPROBLEM 
CURLE_SSL_CIPHER 
CURLE_PEER_FAILED_VERIFICATION 
CURLE_BAD_CONTENT_ENCODING 
CURLE_OBSOLETE62 
CURLE_FILESIZE_EXCEEDED 
CURLE_USE_SSL_FAILED 
CURLE_SEND_FAIL_REWIND 
CURLE_SSL_ENGINE_INITFAILED 
CURLE_LOGIN_DENIED 
CURLE_TFTP_NOTFOUND 
CURLE_TFTP_PERM 
CURLE_REMOTE_DISK_FULL 
CURLE_TFTP_ILLEGAL 
CURLE_TFTP_UNKNOWNID 
CURLE_REMOTE_FILE_EXISTS 
CURLE_TFTP_NOSUCHUSER 
CURLE_OBSOLETE75 
CURLE_OBSOLETE76 
CURLE_SSL_CACERT_BADFILE 
CURLE_REMOTE_FILE_NOT_FOUND 
CURLE_SSH 
CURLE_SSL_SHUTDOWN_FAILED 
CURLE_AGAIN 
CURLE_SSL_CRL_BADFILE 
CURLE_SSL_ISSUER_ERROR 
CURLE_FTP_PRET_FAILED 
CURLE_RTSP_CSEQ_ERROR 
CURLE_RTSP_SESSION_ERROR 
CURLE_FTP_BAD_FILE_LIST 
CURLE_CHUNK_FAILED 
CURLE_NO_CONNECTION_AVAILABLE 
CURLE_SSL_PINNEDPUBKEYNOTMATCH 
CURLE_SSL_INVALIDCERTSTATUS 
CURLE_HTTP2_STREAM 
CURLE_RECURSIVE_API_CALL 
CURLE_AUTH_ERROR 
CURLE_HTTP3 
CURLE_QUIC_CONNECT_ERROR 
CURLE_PROXY 
CURLE_SSL_CLIENTCERT 
CURLE_UNRECOVERABLE_POLL 
CURLE_TOO_LARGE 
CURLE_ECH_REQUIRED 
CURL_LAST 

Definition at line 509 of file curl.h.

511 {
512 CURLE_OK = 0,
514 CURLE_FAILED_INIT, /* 2 */
515 CURLE_URL_MALFORMAT, /* 3 */
516 CURLE_NOT_BUILT_IN, /* 4 - [was obsoleted in August 2007 for
517 7.17.0, reused in April 2011 for 7.21.5] */
520 CURLE_COULDNT_CONNECT, /* 7 */
522 CURLE_REMOTE_ACCESS_DENIED, /* 9 a service was denied by the server
523 due to lack of access - when login fails
524 this is not returned. */
525 CURLE_FTP_ACCEPT_FAILED, /* 10 - [was obsoleted in April 2006 for
526 7.15.4, reused in Dec 2011 for 7.24.0]*/
528 CURLE_FTP_ACCEPT_TIMEOUT, /* 12 - timeout occurred accepting server
529 [was obsoleted in August 2007 for 7.17.0,
530 reused in Dec 2011 for 7.24.0]*/
534 CURLE_HTTP2, /* 16 - A problem in the http2 framing layer.
535 [was obsoleted in August 2007 for 7.17.0,
536 reused in July 2014 for 7.38.0] */
538 CURLE_PARTIAL_FILE, /* 18 */
540 CURLE_OBSOLETE20, /* 20 - NOT USED */
541 CURLE_QUOTE_ERROR, /* 21 - quote command failure */
543 CURLE_WRITE_ERROR, /* 23 */
544 CURLE_OBSOLETE24, /* 24 - NOT USED */
545 CURLE_UPLOAD_FAILED, /* 25 - failed upload "command" */
546 CURLE_READ_ERROR, /* 26 - could not open/read from file */
547 CURLE_OUT_OF_MEMORY, /* 27 */
548 CURLE_OPERATION_TIMEDOUT, /* 28 - the timeout time was reached */
549 CURLE_OBSOLETE29, /* 29 - NOT USED */
550 CURLE_FTP_PORT_FAILED, /* 30 - FTP PORT operation failed */
551 CURLE_FTP_COULDNT_USE_REST, /* 31 - the REST command failed */
552 CURLE_OBSOLETE32, /* 32 - NOT USED */
553 CURLE_RANGE_ERROR, /* 33 - RANGE "command" did not work */
554 CURLE_OBSOLETE34, /* 34 */
555 CURLE_SSL_CONNECT_ERROR, /* 35 - wrong when connecting with SSL */
556 CURLE_BAD_DOWNLOAD_RESUME, /* 36 - could not resume download */
558 CURLE_LDAP_CANNOT_BIND, /* 38 */
560 CURLE_OBSOLETE40, /* 40 - NOT USED */
561 CURLE_OBSOLETE41, /* 41 - NOT USED starting with 7.53.0 */
564 CURLE_OBSOLETE44, /* 44 - NOT USED */
565 CURLE_INTERFACE_FAILED, /* 45 - CURLOPT_INTERFACE failed */
566 CURLE_OBSOLETE46, /* 46 - NOT USED */
567 CURLE_TOO_MANY_REDIRECTS, /* 47 - catch endless re-direct loops */
568 CURLE_UNKNOWN_OPTION, /* 48 - User specified an unknown option */
569 CURLE_SETOPT_OPTION_SYNTAX, /* 49 - Malformed setopt option */
570 CURLE_OBSOLETE50, /* 50 - NOT USED */
571 CURLE_OBSOLETE51, /* 51 - NOT USED */
572 CURLE_GOT_NOTHING, /* 52 - when this is a specific error */
573 CURLE_SSL_ENGINE_NOTFOUND, /* 53 - SSL crypto engine not found */
574 CURLE_SSL_ENGINE_SETFAILED, /* 54 - can not set SSL crypto engine as
575 default */
576 CURLE_SEND_ERROR, /* 55 - failed sending network data */
577 CURLE_RECV_ERROR, /* 56 - failure in receiving network data */
578 CURLE_OBSOLETE57, /* 57 - NOT IN USE */
579 CURLE_SSL_CERTPROBLEM, /* 58 - problem with the local certificate */
580 CURLE_SSL_CIPHER, /* 59 - could not use specified cipher */
581 CURLE_PEER_FAILED_VERIFICATION, /* 60 - peer's certificate or fingerprint
582 was not verified fine */
583 CURLE_BAD_CONTENT_ENCODING, /* 61 - Unrecognized/bad encoding */
584 CURLE_OBSOLETE62, /* 62 - NOT IN USE since 7.82.0 */
585 CURLE_FILESIZE_EXCEEDED, /* 63 - Maximum file size exceeded */
586 CURLE_USE_SSL_FAILED, /* 64 - Requested FTP SSL level failed */
587 CURLE_SEND_FAIL_REWIND, /* 65 - Sending the data requires a rewind
588 that failed */
589 CURLE_SSL_ENGINE_INITFAILED, /* 66 - failed to initialise ENGINE */
590 CURLE_LOGIN_DENIED, /* 67 - user, password or similar was not
591 accepted and we failed to login */
592 CURLE_TFTP_NOTFOUND, /* 68 - file not found on server */
593 CURLE_TFTP_PERM, /* 69 - permission problem on server */
594 CURLE_REMOTE_DISK_FULL, /* 70 - out of disk space on server */
595 CURLE_TFTP_ILLEGAL, /* 71 - Illegal TFTP operation */
596 CURLE_TFTP_UNKNOWNID, /* 72 - Unknown transfer ID */
597 CURLE_REMOTE_FILE_EXISTS, /* 73 - File already exists */
598 CURLE_TFTP_NOSUCHUSER, /* 74 - No such user */
599 CURLE_OBSOLETE75, /* 75 - NOT IN USE since 7.82.0 */
600 CURLE_OBSOLETE76, /* 76 - NOT IN USE since 7.82.0 */
601 CURLE_SSL_CACERT_BADFILE, /* 77 - could not load CACERT file, missing
602 or wrong format */
603 CURLE_REMOTE_FILE_NOT_FOUND, /* 78 - remote file not found */
604 CURLE_SSH, /* 79 - error from the SSH layer, somewhat
605 generic so the error message will be of
606 interest when this has happened */
607
608 CURLE_SSL_SHUTDOWN_FAILED, /* 80 - Failed to shut down the SSL
609 connection */
610 CURLE_AGAIN, /* 81 - socket is not ready for send/recv,
611 wait till it is ready and try again (Added
612 in 7.18.2) */
613 CURLE_SSL_CRL_BADFILE, /* 82 - could not load CRL file, missing or
614 wrong format (Added in 7.19.0) */
615 CURLE_SSL_ISSUER_ERROR, /* 83 - Issuer check failed. (Added in
616 7.19.0) */
617 CURLE_FTP_PRET_FAILED, /* 84 - a PRET command failed */
618 CURLE_RTSP_CSEQ_ERROR, /* 85 - mismatch of RTSP CSeq numbers */
619 CURLE_RTSP_SESSION_ERROR, /* 86 - mismatch of RTSP Session Ids */
620 CURLE_FTP_BAD_FILE_LIST, /* 87 - unable to parse FTP file list */
621 CURLE_CHUNK_FAILED, /* 88 - chunk callback reported error */
622 CURLE_NO_CONNECTION_AVAILABLE, /* 89 - No connection available, the
623 session will be queued */
624 CURLE_SSL_PINNEDPUBKEYNOTMATCH, /* 90 - specified pinned public key did not
625 match */
626 CURLE_SSL_INVALIDCERTSTATUS, /* 91 - invalid certificate status */
627 CURLE_HTTP2_STREAM, /* 92 - stream error in HTTP/2 framing layer
628 */
629 CURLE_RECURSIVE_API_CALL, /* 93 - an api function was called from
630 inside a callback */
631 CURLE_AUTH_ERROR, /* 94 - an authentication function returned an
632 error */
633 CURLE_HTTP3, /* 95 - An HTTP/3 layer problem */
634 CURLE_QUIC_CONNECT_ERROR, /* 96 - QUIC connection error */
635 CURLE_PROXY, /* 97 - proxy handshake error */
636 CURLE_SSL_CLIENTCERT, /* 98 - client-side certificate required */
637 CURLE_UNRECOVERABLE_POLL, /* 99 - poll/select returned fatal error */
638 CURLE_TOO_LARGE, /* 100 - a value/data met its maximum */
639 CURLE_ECH_REQUIRED, /* 101 - ECH tried but failed */
@ CURLE_TFTP_UNKNOWNID
Definition curl.h:594
@ CURLE_ECH_REQUIRED
Definition curl.h:637
@ CURLE_HTTP2
Definition curl.h:532
@ CURLE_TFTP_PERM
Definition curl.h:591
@ CURLE_BAD_FUNCTION_ARGUMENT
Definition curl.h:561
@ CURLE_FTP_ACCEPT_FAILED
Definition curl.h:523
@ CURLE_BAD_CONTENT_ENCODING
Definition curl.h:581
@ CURLE_FTP_WEIRD_PASV_REPLY
Definition curl.h:529
@ CURLE_SEND_FAIL_REWIND
Definition curl.h:585
@ CURLE_AUTH_ERROR
Definition curl.h:629
@ CURLE_HTTP_RETURNED_ERROR
Definition curl.h:540
@ CURLE_SSL_CRL_BADFILE
Definition curl.h:611
@ CURLE_OBSOLETE51
Definition curl.h:569
@ CURLE_FTP_PORT_FAILED
Definition curl.h:548
@ CURLE_OBSOLETE32
Definition curl.h:550
@ CURLE_OBSOLETE50
Definition curl.h:568
@ CURLE_ABORTED_BY_CALLBACK
Definition curl.h:560
@ CURLE_REMOTE_DISK_FULL
Definition curl.h:592
@ CURLE_SSL_CIPHER
Definition curl.h:578
@ CURLE_UPLOAD_FAILED
Definition curl.h:543
@ CURLE_HTTP2_STREAM
Definition curl.h:625
@ CURLE_FTP_COULDNT_USE_REST
Definition curl.h:549
@ CURLE_FTP_ACCEPT_TIMEOUT
Definition curl.h:526
@ CURLE_OBSOLETE75
Definition curl.h:597
@ CURLE_OBSOLETE24
Definition curl.h:542
@ CURLE_REMOTE_FILE_NOT_FOUND
Definition curl.h:601
@ CURLE_SSL_ENGINE_NOTFOUND
Definition curl.h:571
@ CURLE_SSL_ISSUER_ERROR
Definition curl.h:613
@ CURLE_FILESIZE_EXCEEDED
Definition curl.h:583
@ CURLE_SSL_INVALIDCERTSTATUS
Definition curl.h:624
@ CURLE_QUIC_CONNECT_ERROR
Definition curl.h:632
@ CURLE_SSL_CERTPROBLEM
Definition curl.h:577
@ CURLE_LOGIN_DENIED
Definition curl.h:588
@ CURLE_OBSOLETE57
Definition curl.h:576
@ CURLE_REMOTE_ACCESS_DENIED
Definition curl.h:520
@ CURLE_HTTP3
Definition curl.h:631
@ CURLE_RECURSIVE_API_CALL
Definition curl.h:627
@ CURLE_FILE_COULDNT_READ_FILE
Definition curl.h:555
@ CURLE_PEER_FAILED_VERIFICATION
Definition curl.h:579
@ CURLE_OBSOLETE44
Definition curl.h:562
@ CURLE_PROXY
Definition curl.h:633
@ CURLE_SSL_PINNEDPUBKEYNOTMATCH
Definition curl.h:622
@ CURLE_OBSOLETE46
Definition curl.h:564
@ CURLE_OBSOLETE29
Definition curl.h:547
@ CURLE_FAILED_INIT
Definition curl.h:512
@ CURLE_QUOTE_ERROR
Definition curl.h:539
@ CURLE_AGAIN
Definition curl.h:608
@ CURLE_TOO_MANY_REDIRECTS
Definition curl.h:565
@ CURLE_SSL_SHUTDOWN_FAILED
Definition curl.h:606
@ CURLE_SSL_CACERT_BADFILE
Definition curl.h:599
@ CURLE_COULDNT_CONNECT
Definition curl.h:518
@ CURLE_TFTP_NOTFOUND
Definition curl.h:590
@ CURLE_SSL_ENGINE_SETFAILED
Definition curl.h:572
@ CURLE_CHUNK_FAILED
Definition curl.h:619
@ CURLE_COULDNT_RESOLVE_PROXY
Definition curl.h:516
@ CURLE_UNSUPPORTED_PROTOCOL
Definition curl.h:511
@ CURLE_FTP_BAD_FILE_LIST
Definition curl.h:618
@ CURLE_GOT_NOTHING
Definition curl.h:570
@ CURLE_WEIRD_SERVER_REPLY
Definition curl.h:519
@ CURLE_FTP_WEIRD_PASS_REPLY
Definition curl.h:525
@ CURLE_SEND_ERROR
Definition curl.h:574
@ CURLE_SSH
Definition curl.h:602
@ CURLE_TFTP_NOSUCHUSER
Definition curl.h:596
@ CURLE_SSL_ENGINE_INITFAILED
Definition curl.h:587
@ CURLE_FTP_COULDNT_SET_TYPE
Definition curl.h:535
@ CURLE_TOO_LARGE
Definition curl.h:636
@ CURLE_BAD_DOWNLOAD_RESUME
Definition curl.h:554
@ CURLE_LDAP_SEARCH_FAILED
Definition curl.h:557
@ CURLE_FTP_WEIRD_227_FORMAT
Definition curl.h:530
@ CURLE_LDAP_CANNOT_BIND
Definition curl.h:556
@ CURLE_OPERATION_TIMEDOUT
Definition curl.h:546
@ CURLE_RANGE_ERROR
Definition curl.h:551
@ CURLE_RTSP_SESSION_ERROR
Definition curl.h:617
@ CURLE_URL_MALFORMAT
Definition curl.h:513
@ CURLE_OUT_OF_MEMORY
Definition curl.h:545
@ CURLE_OBSOLETE34
Definition curl.h:552
@ CURLE_TFTP_ILLEGAL
Definition curl.h:593
@ CURLE_UNKNOWN_OPTION
Definition curl.h:566
@ CURLE_INTERFACE_FAILED
Definition curl.h:563
@ CURLE_FTP_COULDNT_RETR_FILE
Definition curl.h:537
@ CURLE_OBSOLETE40
Definition curl.h:558
@ CURLE_OBSOLETE76
Definition curl.h:598
@ CURLE_PARTIAL_FILE
Definition curl.h:536
@ CURLE_NOT_BUILT_IN
Definition curl.h:514
@ CURLE_WRITE_ERROR
Definition curl.h:541
@ CURLE_SETOPT_OPTION_SYNTAX
Definition curl.h:567
@ CURLE_REMOTE_FILE_EXISTS
Definition curl.h:595
@ CURLE_COULDNT_RESOLVE_HOST
Definition curl.h:517
@ CURLE_OBSOLETE62
Definition curl.h:582
@ CURLE_READ_ERROR
Definition curl.h:544
@ CURLE_SSL_CLIENTCERT
Definition curl.h:634
@ CURLE_OBSOLETE20
Definition curl.h:538
@ CURLE_USE_SSL_FAILED
Definition curl.h:584
@ CURLE_RECV_ERROR
Definition curl.h:575
@ CURLE_UNRECOVERABLE_POLL
Definition curl.h:635
@ CURLE_NO_CONNECTION_AVAILABLE
Definition curl.h:620
@ CURLE_FTP_PRET_FAILED
Definition curl.h:615
@ CURLE_OK
Definition curl.h:510
@ CURLE_SSL_CONNECT_ERROR
Definition curl.h:553
@ CURLE_FTP_CANT_GET_HOST
Definition curl.h:531
@ CURLE_OBSOLETE41
Definition curl.h:559
@ CURLE_RTSP_CSEQ_ERROR
Definition curl.h:616

◆ curlfiletype

Enumerator
CURLFILETYPE_FILE 
CURLFILETYPE_DIRECTORY 
CURLFILETYPE_SYMLINK 
CURLFILETYPE_DEVICE_BLOCK 
CURLFILETYPE_DEVICE_CHAR 
CURLFILETYPE_NAMEDPIPE 
CURLFILETYPE_SOCKET 
CURLFILETYPE_DOOR 
CURLFILETYPE_UNKNOWN 

Definition at line 286 of file curl.h.

286 {
294 CURLFILETYPE_DOOR, /* is possible only on Sun Solaris now */
295
296 CURLFILETYPE_UNKNOWN /* should never occur */
curlfiletype
Definition curl.h:286
@ CURLFILETYPE_DOOR
Definition curl.h:294
@ CURLFILETYPE_SOCKET
Definition curl.h:293
@ CURLFILETYPE_DEVICE_CHAR
Definition curl.h:291
@ CURLFILETYPE_FILE
Definition curl.h:287
@ CURLFILETYPE_DIRECTORY
Definition curl.h:288
@ CURLFILETYPE_NAMEDPIPE
Definition curl.h:292
@ CURLFILETYPE_DEVICE_BLOCK
Definition curl.h:290
@ CURLFILETYPE_UNKNOWN
Definition curl.h:296
@ CURLFILETYPE_SYMLINK
Definition curl.h:289

◆ CURLFORMcode

Enumerator
CURL_DEPRECATED 
CURL_DEPRECATED 
CURL_DEPRECATED 
CURL_DEPRECATED 
CURL_DEPRECATED 
CURL_DEPRECATED 
CURL_DEPRECATED 
CURL_DEPRECATED 
CURL_FORMADD_LAST 

Definition at line 2571 of file curl.h.

2574 {
2575 CURL_FORMADD_OK CURL_DEPRECATED(7.56.0, ""), /* 1st, no error */
2576
2577 CURL_FORMADD_MEMORY CURL_DEPRECATED(7.56.0, ""),
2578 CURL_FORMADD_OPTION_TWICE CURL_DEPRECATED(7.56.0, ""),
2579 CURL_FORMADD_NULL CURL_DEPRECATED(7.56.0, ""),
2580 CURL_FORMADD_UNKNOWN_OPTION CURL_DEPRECATED(7.56.0, ""),
2581 CURL_FORMADD_INCOMPLETE CURL_DEPRECATED(7.56.0, ""),
2582 CURL_FORMADD_ILLEGAL_ARRAY CURL_DEPRECATED(7.56.0, ""),
2583 /* libcurl was built with form api disabled */
2584 CURL_FORMADD_DISABLED CURL_DEPRECATED(7.56.0, ""),

◆ CURLformoption

Enumerator
CURL_DEPRECATED 
CURL_DEPRECATED 
CURL_DEPRECATED 
CURL_DEPRECATED 
CURL_DEPRECATED 
CURL_DEPRECATED 
CURL_DEPRECATED 
CURL_DEPRECATED 
CURL_DEPRECATED 
CURLFORM_OBSOLETE 
CURL_DEPRECATED 
CURL_DEPRECATED 
CURL_DEPRECATED 
CURL_DEPRECATED 
CURL_DEPRECATED 
CURL_DEPRECATED 
CURL_DEPRECATED 
CURLFORM_END 
CURLFORM_OBSOLETE2 
CURL_DEPRECATED 
CURL_DEPRECATED 
CURLFORM_LASTENTRY 

Definition at line 2518 of file curl.h.

2521 {
2522 /********* the first one is unused ************/
2523 CURLFORM_NOTHING CURL_DEPRECATED(7.56.0, ""),
2524 CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
2525 CURLFORM_PTRNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"),
2526 CURLFORM_NAMELENGTH CURL_DEPRECATED(7.56.0, ""),
2527 CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
2528 CURLFORM_PTRCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
2529 CURLFORM_CONTENTSLENGTH CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
2530 CURLFORM_FILECONTENT CURL_DEPRECATED(7.56.0, "Use curl_mime_data_cb()"),
2531 CURLFORM_ARRAY CURL_DEPRECATED(7.56.0, ""),
2533 CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"),
2534
2535 CURLFORM_BUFFER CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"),
2536 CURLFORM_BUFFERPTR CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
2537 CURLFORM_BUFFERLENGTH CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
2538
2539 CURLFORM_CONTENTTYPE CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"),
2540 CURLFORM_CONTENTHEADER CURL_DEPRECATED(7.56.0, "Use curl_mime_headers()"),
2541 CURLFORM_FILENAME CURL_DEPRECATED(7.56.0, "Use curl_mime_filename()"),
2544
2545 CURLFORM_STREAM CURL_DEPRECATED(7.56.0, "Use curl_mime_data_cb()"),
2546 CURLFORM_CONTENTLEN /* added in 7.46.0, provide a curl_off_t length */
2547 CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"),
@ CURLFORM_OBSOLETE
Definition curl.h:2529
@ CURLFORM_END
Definition curl.h:2539
@ CURLFORM_OBSOLETE2
Definition curl.h:2540

◆ CURLINFO

enum CURLINFO
Enumerator
CURLINFO_NONE 
CURLINFO_EFFECTIVE_URL 
CURLINFO_RESPONSE_CODE 
CURLINFO_TOTAL_TIME 
CURLINFO_NAMELOOKUP_TIME 
CURLINFO_CONNECT_TIME 
CURLINFO_PRETRANSFER_TIME 
CURL_DEPRECATED 
CURLINFO_SIZE_UPLOAD_T 
CURLINFO_SIZE_DOWNLOAD 
CURLINFO_SIZE_DOWNLOAD_T 
CURLINFO_SPEED_DOWNLOAD 
CURLINFO_SPEED_DOWNLOAD_T 
CURLINFO_SPEED_UPLOAD 
CURLINFO_SPEED_UPLOAD_T 
CURLINFO_HEADER_SIZE 
CURLINFO_REQUEST_SIZE 
CURLINFO_SSL_VERIFYRESULT 
CURLINFO_FILETIME 
CURLINFO_FILETIME_T 
CURL_DEPRECATED 
CURLINFO_CONTENT_LENGTH_DOWNLOAD_T 
CURL_DEPRECATED 
CURLINFO_CONTENT_LENGTH_UPLOAD_T 
CURLINFO_STARTTRANSFER_TIME 
CURLINFO_CONTENT_TYPE 
CURLINFO_REDIRECT_TIME 
CURLINFO_REDIRECT_COUNT 
CURLINFO_PRIVATE 
CURLINFO_HTTP_CONNECTCODE 
CURLINFO_HTTPAUTH_AVAIL 
CURLINFO_PROXYAUTH_AVAIL 
CURLINFO_OS_ERRNO 
CURLINFO_NUM_CONNECTS 
CURLINFO_SSL_ENGINES 
CURLINFO_COOKIELIST 
CURL_DEPRECATED 
CURLINFO_FTP_ENTRY_PATH 
CURLINFO_REDIRECT_URL 
CURLINFO_PRIMARY_IP 
CURLINFO_APPCONNECT_TIME 
CURLINFO_CERTINFO 
CURLINFO_CONDITION_UNMET 
CURLINFO_RTSP_SESSION_ID 
CURLINFO_RTSP_CLIENT_CSEQ 
CURLINFO_RTSP_SERVER_CSEQ 
CURLINFO_RTSP_CSEQ_RECV 
CURLINFO_PRIMARY_PORT 
CURLINFO_LOCAL_IP 
CURLINFO_LOCAL_PORT 
CURL_DEPRECATED 
CURLINFO_ACTIVESOCKET 
CURLINFO_TLS_SSL_PTR 
CURLINFO_HTTP_VERSION 
CURLINFO_PROXY_SSL_VERIFYRESULT 
CURL_DEPRECATED 
CURLINFO_SCHEME 
CURLINFO_TOTAL_TIME_T 
CURLINFO_NAMELOOKUP_TIME_T 
CURLINFO_CONNECT_TIME_T 
CURLINFO_PRETRANSFER_TIME_T 
CURLINFO_STARTTRANSFER_TIME_T 
CURLINFO_REDIRECT_TIME_T 
CURLINFO_APPCONNECT_TIME_T 
CURLINFO_RETRY_AFTER 
CURLINFO_EFFECTIVE_METHOD 
CURLINFO_PROXY_ERROR 
CURLINFO_REFERER 
CURLINFO_CAINFO 
CURLINFO_CAPATH 
CURLINFO_XFER_ID 
CURLINFO_CONN_ID 
CURLINFO_QUEUE_TIME_T 
CURLINFO_USED_PROXY 
CURLINFO_POSTTRANSFER_TIME_T 
CURLINFO_EARLYDATA_SENT_T 
CURLINFO_HTTPAUTH_USED 
CURLINFO_PROXYAUTH_USED 
CURLINFO_LASTONE 

Definition at line 2866 of file curl.h.

2869 {
2870 CURLINFO_NONE, /* first, never use this */
2877 CURLINFO_SIZE_UPLOAD CURL_DEPRECATED(7.55.0, "Use CURLINFO_SIZE_UPLOAD_T")
2878 = CURLINFO_DOUBLE + 7,
2881 CURL_DEPRECATED(7.55.0, "Use CURLINFO_SIZE_DOWNLOAD_T")
2882 = CURLINFO_DOUBLE + 8,
2885 CURL_DEPRECATED(7.55.0, "Use CURLINFO_SPEED_DOWNLOAD_T")
2886 = CURLINFO_DOUBLE + 9,
2889 CURL_DEPRECATED(7.55.0, "Use CURLINFO_SPEED_UPLOAD_T")
2890 = CURLINFO_DOUBLE + 10,
2897 CURLINFO_CONTENT_LENGTH_DOWNLOAD
2898 CURL_DEPRECATED(7.55.0,
2899 "Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T")
2900 = CURLINFO_DOUBLE + 15,
2902 CURLINFO_CONTENT_LENGTH_UPLOAD
2903 CURL_DEPRECATED(7.55.0,
2904 "Use CURLINFO_CONTENT_LENGTH_UPLOAD_T")
2905 = CURLINFO_DOUBLE + 16,
2919 CURLINFO_LASTSOCKET CURL_DEPRECATED(7.45.0, "Use CURLINFO_ACTIVESOCKET")
2920 = CURLINFO_LONG + 29,
2934 CURLINFO_TLS_SESSION CURL_DEPRECATED(7.48.0, "Use CURLINFO_TLS_SSL_PTR")
2935 = CURLINFO_PTR + 43,
2940 CURLINFO_PROTOCOL CURL_DEPRECATED(7.85.0, "Use CURLINFO_SCHEME")
2941 = CURLINFO_LONG + 48,
#define CURLINFO_SOCKET
Definition curl.h:2861
#define CURLINFO_PTR
Definition curl.h:2860
#define CURLINFO_STRING
Definition curl.h:2856
#define CURLINFO_OFF_T
Definition curl.h:2862
#define CURLINFO_DOUBLE
Definition curl.h:2858
#define CURLINFO_SLIST
Definition curl.h:2859
@ CURLINFO_APPCONNECT_TIME_T
Definition curl.h:2946
@ CURLINFO_SSL_ENGINES
Definition curl.h:2914
@ CURLINFO_CERTINFO
Definition curl.h:2922
@ CURLINFO_HEADER_SIZE
Definition curl.h:2889
@ CURLINFO_STARTTRANSFER_TIME_T
Definition curl.h:2944
@ CURLINFO_REDIRECT_URL
Definition curl.h:2919
@ CURLINFO_FILETIME_T
Definition curl.h:2893
@ CURLINFO_TLS_SSL_PTR
Definition curl.h:2934
@ CURLINFO_PRETRANSFER_TIME_T
Definition curl.h:2943
@ CURLINFO_HTTP_VERSION
Definition curl.h:2935
@ CURLINFO_SIZE_DOWNLOAD
Definition curl.h:2877
@ CURLINFO_SIZE_DOWNLOAD_T
Definition curl.h:2880
@ CURLINFO_RTSP_CSEQ_RECV
Definition curl.h:2927
@ CURLINFO_PROXY_SSL_VERIFYRESULT
Definition curl.h:2936
@ CURLINFO_PRIVATE
Definition curl.h:2908
@ CURLINFO_APPCONNECT_TIME
Definition curl.h:2921
@ CURLINFO_RTSP_CLIENT_CSEQ
Definition curl.h:2925
@ CURLINFO_RTSP_SESSION_ID
Definition curl.h:2924
@ CURLINFO_HTTPAUTH_AVAIL
Definition curl.h:2910
@ CURLINFO_PRIMARY_IP
Definition curl.h:2920
@ CURLINFO_CONNECT_TIME
Definition curl.h:2872
@ CURLINFO_COOKIELIST
Definition curl.h:2915
@ CURLINFO_FILETIME
Definition curl.h:2892
@ CURLINFO_TOTAL_TIME_T
Definition curl.h:2940
@ CURLINFO_EFFECTIVE_METHOD
Definition curl.h:2948
@ CURLINFO_LOCAL_PORT
Definition curl.h:2930
@ CURLINFO_XFER_ID
Definition curl.h:2953
@ CURLINFO_NUM_CONNECTS
Definition curl.h:2913
@ CURLINFO_REQUEST_SIZE
Definition curl.h:2890
@ CURLINFO_CONDITION_UNMET
Definition curl.h:2923
@ CURLINFO_NONE
Definition curl.h:2867
@ CURLINFO_SSL_VERIFYRESULT
Definition curl.h:2891
@ CURLINFO_PRETRANSFER_TIME
Definition curl.h:2873
@ CURLINFO_PRIMARY_PORT
Definition curl.h:2928
@ CURLINFO_CONNECT_TIME_T
Definition curl.h:2942
@ CURLINFO_OS_ERRNO
Definition curl.h:2912
@ CURLINFO_SPEED_DOWNLOAD_T
Definition curl.h:2884
@ CURLINFO_RETRY_AFTER
Definition curl.h:2947
@ CURLINFO_CONTENT_LENGTH_UPLOAD_T
Definition curl.h:2903
@ CURLINFO_POSTTRANSFER_TIME_T
Definition curl.h:2957
@ CURLINFO_REFERER
Definition curl.h:2950
@ CURLINFO_PROXYAUTH_AVAIL
Definition curl.h:2911
@ CURLINFO_FTP_ENTRY_PATH
Definition curl.h:2918
@ CURLINFO_NAMELOOKUP_TIME
Definition curl.h:2871
@ CURLINFO_ACTIVESOCKET
Definition curl.h:2933
@ CURLINFO_CONN_ID
Definition curl.h:2954
@ CURLINFO_NAMELOOKUP_TIME_T
Definition curl.h:2941
@ CURLINFO_REDIRECT_COUNT
Definition curl.h:2907
@ CURLINFO_HTTPAUTH_USED
Definition curl.h:2959
@ CURLINFO_REDIRECT_TIME_T
Definition curl.h:2945
@ CURLINFO_CONTENT_TYPE
Definition curl.h:2905
@ CURLINFO_CAINFO
Definition curl.h:2951
@ CURLINFO_SPEED_UPLOAD
Definition curl.h:2885
@ CURLINFO_HTTP_CONNECTCODE
Definition curl.h:2909
@ CURLINFO_RTSP_SERVER_CSEQ
Definition curl.h:2926
@ CURLINFO_REDIRECT_TIME
Definition curl.h:2906
@ CURLINFO_CAPATH
Definition curl.h:2952
@ CURLINFO_CONTENT_LENGTH_DOWNLOAD_T
Definition curl.h:2898
@ CURLINFO_EFFECTIVE_URL
Definition curl.h:2868
@ CURLINFO_TOTAL_TIME
Definition curl.h:2870
@ CURLINFO_QUEUE_TIME_T
Definition curl.h:2955
@ CURLINFO_USED_PROXY
Definition curl.h:2956
@ CURLINFO_SPEED_UPLOAD_T
Definition curl.h:2888
@ CURLINFO_SIZE_UPLOAD_T
Definition curl.h:2876
@ CURLINFO_EARLYDATA_SENT_T
Definition curl.h:2958
@ CURLINFO_SPEED_DOWNLOAD
Definition curl.h:2881
@ CURLINFO_LOCAL_IP
Definition curl.h:2929
@ CURLINFO_RESPONSE_CODE
Definition curl.h:2869
@ CURLINFO_SCHEME
Definition curl.h:2939
@ CURLINFO_PROXY_ERROR
Definition curl.h:2949
@ CURLINFO_STARTTRANSFER_TIME
Definition curl.h:2904
#define CURLINFO_LONG
Definition curl.h:2857

◆ curliocmd

enum curliocmd
Enumerator
CURLIOCMD_NOP 
CURLIOCMD_RESTARTREAD 
CURLIOCMD_LAST 

Definition at line 443 of file curl.h.

445 {
446 CURLIOCMD_NOP, /* no operation */
447 CURLIOCMD_RESTARTREAD, /* restart the read stream from start */
@ CURLIOCMD_RESTARTREAD
Definition curl.h:445
@ CURLIOCMD_NOP
Definition curl.h:444

◆ curlioerr

enum curlioerr
Enumerator
CURLIOE_OK 
CURLIOE_UNKNOWNCMD 
CURLIOE_FAILRESTART 
CURLIOE_LAST 

Definition at line 436 of file curl.h.

438 {
439 CURLIOE_OK, /* I/O operation successful */
440 CURLIOE_UNKNOWNCMD, /* command was unknown to callback */
441 CURLIOE_FAILRESTART, /* failed to restart the read */
@ CURLIOE_FAILRESTART
Definition curl.h:439
@ CURLIOE_UNKNOWNCMD
Definition curl.h:438
@ CURLIOE_OK
Definition curl.h:437

◆ CURLoption

enum CURLoption
Enumerator
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPTDEPRECATED 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPTDEPRECATED 
CURLOPTDEPRECATED 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPTDEPRECATED 
CURLOPTDEPRECATED 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPTDEPRECATED 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPTDEPRECATED 
CURLOPTDEPRECATED 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPTDEPRECATED 
CURLOPTDEPRECATED 
CURLOPTDEPRECATED 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPTDEPRECATED 
CURLOPT 
CURLOPTDEPRECATED 
CURLOPTDEPRECATED 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPTDEPRECATED 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT 
CURLOPT_LASTENTRY 

Definition at line 1114 of file curl.h.

1116 {
1117 /* This is the FILE * or void * the regular output should be written to. */
1118 CURLOPT(CURLOPT_WRITEDATA, CURLOPTTYPE_CBPOINT, 1),
1119
1120 /* The full URL to get/put */
1121 CURLOPT(CURLOPT_URL, CURLOPTTYPE_STRINGPOINT, 2),
1122
1123 /* Port number to connect to, if other than default. */
1124 CURLOPT(CURLOPT_PORT, CURLOPTTYPE_LONG, 3),
1125
1126 /* Name of proxy to use. */
1127 CURLOPT(CURLOPT_PROXY, CURLOPTTYPE_STRINGPOINT, 4),
1128
1129 /* "user:password;options" to use when fetching. */
1130 CURLOPT(CURLOPT_USERPWD, CURLOPTTYPE_STRINGPOINT, 5),
1131
1132 /* "user:password" to use with proxy. */
1133 CURLOPT(CURLOPT_PROXYUSERPWD, CURLOPTTYPE_STRINGPOINT, 6),
1134
1135 /* Range to get, specified as an ASCII string. */
1136 CURLOPT(CURLOPT_RANGE, CURLOPTTYPE_STRINGPOINT, 7),
1137
1138 /* not used */
1139
1140 /* Specified file stream to upload from (use as input): */
1141 CURLOPT(CURLOPT_READDATA, CURLOPTTYPE_CBPOINT, 9),
1142
1143 /* Buffer to receive error messages in, must be at least CURL_ERROR_SIZE
1144 * bytes big. */
1145 CURLOPT(CURLOPT_ERRORBUFFER, CURLOPTTYPE_OBJECTPOINT, 10),
1146
1147 /* Function that will be called to store the output (instead of fwrite). The
1148 * parameters will use fwrite() syntax, make sure to follow them. */
1149 CURLOPT(CURLOPT_WRITEFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 11),
1150
1151 /* Function that will be called to read the input (instead of fread). The
1152 * parameters will use fread() syntax, make sure to follow them. */
1153 CURLOPT(CURLOPT_READFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 12),
1154
1155 /* Time-out the read operation after this amount of seconds */
1156 CURLOPT(CURLOPT_TIMEOUT, CURLOPTTYPE_LONG, 13),
1157
1158 /* If CURLOPT_READDATA is used, this can be used to inform libcurl about
1159 * how large the file being sent really is. That allows better error
1160 * checking and better verifies that the upload was successful. -1 means
1161 * unknown size.
1162 *
1163 * For large file support, there is also a _LARGE version of the key
1164 * which takes an off_t type, allowing platforms with larger off_t
1165 * sizes to handle larger files. See below for INFILESIZE_LARGE.
1166 */
1167 CURLOPT(CURLOPT_INFILESIZE, CURLOPTTYPE_LONG, 14),
1168
1169 /* POST static input fields. */
1170 CURLOPT(CURLOPT_POSTFIELDS, CURLOPTTYPE_OBJECTPOINT, 15),
1171
1172 /* Set the referrer page (needed by some CGIs) */
1173 CURLOPT(CURLOPT_REFERER, CURLOPTTYPE_STRINGPOINT, 16),
1174
1175 /* Set the FTP PORT string (interface name, named or numerical IP address)
1176 Use i.e '-' to use default address. */
1177 CURLOPT(CURLOPT_FTPPORT, CURLOPTTYPE_STRINGPOINT, 17),
1178
1179 /* Set the User-Agent string (examined by some CGIs) */
1180 CURLOPT(CURLOPT_USERAGENT, CURLOPTTYPE_STRINGPOINT, 18),
1181
1182 /* If the download receives less than "low speed limit" bytes/second
1183 * during "low speed time" seconds, the operations is aborted.
1184 * You could i.e if you have a pretty high speed connection, abort if
1185 * it is less than 2000 bytes/sec during 20 seconds.
1186 */
1187
1188 /* Set the "low speed limit" */
1189 CURLOPT(CURLOPT_LOW_SPEED_LIMIT, CURLOPTTYPE_LONG, 19),
1190
1191 /* Set the "low speed time" */
1192 CURLOPT(CURLOPT_LOW_SPEED_TIME, CURLOPTTYPE_LONG, 20),
1193
1194 /* Set the continuation offset.
1195 *
1196 * Note there is also a _LARGE version of this key which uses
1197 * off_t types, allowing for large file offsets on platforms which
1198 * use larger-than-32-bit off_t's. Look below for RESUME_FROM_LARGE.
1199 */
1200 CURLOPT(CURLOPT_RESUME_FROM, CURLOPTTYPE_LONG, 21),
1201
1202 /* Set cookie in request: */
1203 CURLOPT(CURLOPT_COOKIE, CURLOPTTYPE_STRINGPOINT, 22),
1204
1205 /* This points to a linked list of headers, struct curl_slist kind. This
1206 list is also used for RTSP (in spite of its name) */
1207 CURLOPT(CURLOPT_HTTPHEADER, CURLOPTTYPE_SLISTPOINT, 23),
1208
1209 /* This points to a linked list of post entries, struct curl_httppost */
1210 CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24,
1211 7.56.0, "Use CURLOPT_MIMEPOST"),
1212
1213 /* name of the file keeping your private SSL-certificate */
1214 CURLOPT(CURLOPT_SSLCERT, CURLOPTTYPE_STRINGPOINT, 25),
1215
1216 /* password for the SSL or SSH private key */
1217 CURLOPT(CURLOPT_KEYPASSWD, CURLOPTTYPE_STRINGPOINT, 26),
1218
1219 /* send TYPE parameter? */
1220 CURLOPT(CURLOPT_CRLF, CURLOPTTYPE_LONG, 27),
1221
1222 /* send linked-list of QUOTE commands */
1223 CURLOPT(CURLOPT_QUOTE, CURLOPTTYPE_SLISTPOINT, 28),
1224
1225 /* send FILE * or void * to store headers to, if you use a callback it
1226 is simply passed to the callback unmodified */
1227 CURLOPT(CURLOPT_HEADERDATA, CURLOPTTYPE_CBPOINT, 29),
1228
1229 /* point to a file to read the initial cookies from, also enables
1230 "cookie awareness" */
1231 CURLOPT(CURLOPT_COOKIEFILE, CURLOPTTYPE_STRINGPOINT, 31),
1232
1233 /* What version to specifically try to use.
1234 See CURL_SSLVERSION defines below. */
1235 CURLOPT(CURLOPT_SSLVERSION, CURLOPTTYPE_VALUES, 32),
1236
1237 /* What kind of HTTP time condition to use, see defines */
1238 CURLOPT(CURLOPT_TIMECONDITION, CURLOPTTYPE_VALUES, 33),
1239
1240 /* Time to use with the above condition. Specified in number of seconds
1241 since 1 Jan 1970 */
1242 CURLOPT(CURLOPT_TIMEVALUE, CURLOPTTYPE_LONG, 34),
1243
1244 /* 35 = OBSOLETE */
1245
1246 /* Custom request, for customizing the get command like
1247 HTTP: DELETE, TRACE and others
1248 FTP: to use a different list command
1249 */
1250 CURLOPT(CURLOPT_CUSTOMREQUEST, CURLOPTTYPE_STRINGPOINT, 36),
1251
1252 /* FILE handle to use instead of stderr */
1253 CURLOPT(CURLOPT_STDERR, CURLOPTTYPE_OBJECTPOINT, 37),
1254
1255 /* 38 is not used */
1256
1257 /* send linked-list of post-transfer QUOTE commands */
1258 CURLOPT(CURLOPT_POSTQUOTE, CURLOPTTYPE_SLISTPOINT, 39),
1259
1260 /* 40 is not used */
1261
1262 /* talk a lot */
1263 CURLOPT(CURLOPT_VERBOSE, CURLOPTTYPE_LONG, 41),
1264
1265 /* throw the header out too */
1266 CURLOPT(CURLOPT_HEADER, CURLOPTTYPE_LONG, 42),
1267
1268 /* shut off the progress meter */
1269 CURLOPT(CURLOPT_NOPROGRESS, CURLOPTTYPE_LONG, 43),
1270
1271 /* use HEAD to get http document */
1272 CURLOPT(CURLOPT_NOBODY, CURLOPTTYPE_LONG, 44),
1273
1274 /* no output on http error codes >= 400 */
1275 CURLOPT(CURLOPT_FAILONERROR, CURLOPTTYPE_LONG, 45),
1276
1277 /* this is an upload */
1278 CURLOPT(CURLOPT_UPLOAD, CURLOPTTYPE_LONG, 46),
1279
1280 /* HTTP POST method */
1281 CURLOPT(CURLOPT_POST, CURLOPTTYPE_LONG, 47),
1282
1283 /* bare names when listing directories */
1284 CURLOPT(CURLOPT_DIRLISTONLY, CURLOPTTYPE_LONG, 48),
1285
1286 /* Append instead of overwrite on upload! */
1287 CURLOPT(CURLOPT_APPEND, CURLOPTTYPE_LONG, 50),
1288
1289 /* Specify whether to read the user+password from the .netrc or the URL.
1290 * This must be one of the CURL_NETRC_* enums below. */
1291 CURLOPT(CURLOPT_NETRC, CURLOPTTYPE_VALUES, 51),
1292
1293 /* use Location: Luke! */
1294 CURLOPT(CURLOPT_FOLLOWLOCATION, CURLOPTTYPE_LONG, 52),
1295
1296 /* transfer data in text/ASCII format */
1297 CURLOPT(CURLOPT_TRANSFERTEXT, CURLOPTTYPE_LONG, 53),
1298
1299 /* HTTP PUT */
1300 CURLOPTDEPRECATED(CURLOPT_PUT, CURLOPTTYPE_LONG, 54,
1301 7.12.1, "Use CURLOPT_UPLOAD"),
1302
1303 /* 55 = OBSOLETE */
1304
1305 /* DEPRECATED
1306 * Function that will be called instead of the internal progress display
1307 * function. This function should be defined as the curl_progress_callback
1308 * prototype defines. */
1309 CURLOPTDEPRECATED(CURLOPT_PROGRESSFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 56,
1310 7.32.0, "Use CURLOPT_XFERINFOFUNCTION"),
1311
1312 /* Data passed to the CURLOPT_PROGRESSFUNCTION and CURLOPT_XFERINFOFUNCTION
1313 callbacks */
1314 CURLOPT(CURLOPT_XFERINFODATA, CURLOPTTYPE_CBPOINT, 57),
1315#define CURLOPT_PROGRESSDATA CURLOPT_XFERINFODATA
1316
1317 /* We want the referrer field set automatically when following locations */
1318 CURLOPT(CURLOPT_AUTOREFERER, CURLOPTTYPE_LONG, 58),
1319
1320 /* Port of the proxy, can be set in the proxy string as well with:
1321 "[host]:[port]" */
1322 CURLOPT(CURLOPT_PROXYPORT, CURLOPTTYPE_LONG, 59),
1323
1324 /* size of the POST input data, if strlen() is not good to use */
1325 CURLOPT(CURLOPT_POSTFIELDSIZE, CURLOPTTYPE_LONG, 60),
1326
1327 /* tunnel non-http operations through an HTTP proxy */
1328 CURLOPT(CURLOPT_HTTPPROXYTUNNEL, CURLOPTTYPE_LONG, 61),
1329
1330 /* Set the interface string to use as outgoing network interface */
1331 CURLOPT(CURLOPT_INTERFACE, CURLOPTTYPE_STRINGPOINT, 62),
1332
1333 /* Set the krb4/5 security level, this also enables krb4/5 awareness. This
1334 * is a string, 'clear', 'safe', 'confidential' or 'private'. If the string
1335 * is set but does not match one of these, 'private' will be used. */
1336 CURLOPT(CURLOPT_KRBLEVEL, CURLOPTTYPE_STRINGPOINT, 63),
1337
1338 /* Set if we should verify the peer in ssl handshake, set 1 to verify. */
1339 CURLOPT(CURLOPT_SSL_VERIFYPEER, CURLOPTTYPE_LONG, 64),
1340
1341 /* The CApath or CAfile used to validate the peer certificate
1342 this option is used only if SSL_VERIFYPEER is true */
1343 CURLOPT(CURLOPT_CAINFO, CURLOPTTYPE_STRINGPOINT, 65),
1344
1345 /* 66 = OBSOLETE */
1346 /* 67 = OBSOLETE */
1347
1348 /* Maximum number of http redirects to follow */
1349 CURLOPT(CURLOPT_MAXREDIRS, CURLOPTTYPE_LONG, 68),
1350
1351 /* Pass a long set to 1 to get the date of the requested document (if
1352 possible)! Pass a zero to shut it off. */
1353 CURLOPT(CURLOPT_FILETIME, CURLOPTTYPE_LONG, 69),
1354
1355 /* This points to a linked list of telnet options */
1356 CURLOPT(CURLOPT_TELNETOPTIONS, CURLOPTTYPE_SLISTPOINT, 70),
1357
1358 /* Max amount of cached alive connections */
1359 CURLOPT(CURLOPT_MAXCONNECTS, CURLOPTTYPE_LONG, 71),
1360
1361 /* 72 = OBSOLETE */
1362 /* 73 = OBSOLETE */
1363
1364 /* Set to explicitly use a new connection for the upcoming transfer.
1365 Do not use this unless you are absolutely sure of this, as it makes the
1366 operation slower and is less friendly for the network. */
1367 CURLOPT(CURLOPT_FRESH_CONNECT, CURLOPTTYPE_LONG, 74),
1368
1369 /* Set to explicitly forbid the upcoming transfer's connection to be reused
1370 when done. Do not use this unless you are absolutely sure of this, as it
1371 makes the operation slower and is less friendly for the network. */
1372 CURLOPT(CURLOPT_FORBID_REUSE, CURLOPTTYPE_LONG, 75),
1373
1374 /* Set to a filename that contains random data for libcurl to use to
1375 seed the random engine when doing SSL connects. */
1376 CURLOPTDEPRECATED(CURLOPT_RANDOM_FILE, CURLOPTTYPE_STRINGPOINT, 76,
1377 7.84.0, "Serves no purpose anymore"),
1378
1379 /* Set to the Entropy Gathering Daemon socket pathname */
1380 CURLOPTDEPRECATED(CURLOPT_EGDSOCKET, CURLOPTTYPE_STRINGPOINT, 77,
1381 7.84.0, "Serves no purpose anymore"),
1382
1383 /* Time-out connect operations after this amount of seconds, if connects are
1384 OK within this time, then fine... This only aborts the connect phase. */
1385 CURLOPT(CURLOPT_CONNECTTIMEOUT, CURLOPTTYPE_LONG, 78),
1386
1387 /* Function that will be called to store headers (instead of fwrite). The
1388 * parameters will use fwrite() syntax, make sure to follow them. */
1389 CURLOPT(CURLOPT_HEADERFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 79),
1390
1391 /* Set this to force the HTTP request to get back to GET. Only really usable
1392 if POST, PUT or a custom request have been used first.
1393 */
1394 CURLOPT(CURLOPT_HTTPGET, CURLOPTTYPE_LONG, 80),
1395
1396 /* Set if we should verify the Common name from the peer certificate in ssl
1397 * handshake, set 1 to check existence, 2 to ensure that it matches the
1398 * provided hostname. */
1399 CURLOPT(CURLOPT_SSL_VERIFYHOST, CURLOPTTYPE_LONG, 81),
1400
1401 /* Specify which filename to write all known cookies in after completed
1402 operation. Set filename to "-" (dash) to make it go to stdout. */
1403 CURLOPT(CURLOPT_COOKIEJAR, CURLOPTTYPE_STRINGPOINT, 82),
1404
1405 /* Specify which TLS 1.2 (1.1, 1.0) ciphers to use */
1406 CURLOPT(CURLOPT_SSL_CIPHER_LIST, CURLOPTTYPE_STRINGPOINT, 83),
1407
1408 /* Specify which HTTP version to use! This must be set to one of the
1409 CURL_HTTP_VERSION* enums set below. */
1410 CURLOPT(CURLOPT_HTTP_VERSION, CURLOPTTYPE_VALUES, 84),
1411
1412 /* Specifically switch on or off the FTP engine's use of the EPSV command. By
1413 default, that one will always be attempted before the more traditional
1414 PASV command. */
1415 CURLOPT(CURLOPT_FTP_USE_EPSV, CURLOPTTYPE_LONG, 85),
1416
1417 /* type of the file keeping your SSL-certificate ("DER", "PEM", "ENG") */
1418 CURLOPT(CURLOPT_SSLCERTTYPE, CURLOPTTYPE_STRINGPOINT, 86),
1419
1420 /* name of the file keeping your private SSL-key */
1421 CURLOPT(CURLOPT_SSLKEY, CURLOPTTYPE_STRINGPOINT, 87),
1422
1423 /* type of the file keeping your private SSL-key ("DER", "PEM", "ENG") */
1424 CURLOPT(CURLOPT_SSLKEYTYPE, CURLOPTTYPE_STRINGPOINT, 88),
1425
1426 /* crypto engine for the SSL-sub system */
1427 CURLOPT(CURLOPT_SSLENGINE, CURLOPTTYPE_STRINGPOINT, 89),
1428
1429 /* set the crypto engine for the SSL-sub system as default
1430 the param has no meaning...
1431 */
1432 CURLOPT(CURLOPT_SSLENGINE_DEFAULT, CURLOPTTYPE_LONG, 90),
1433
1434 /* Non-zero value means to use the global dns cache */
1435 /* DEPRECATED, do not use! */
1436 CURLOPTDEPRECATED(CURLOPT_DNS_USE_GLOBAL_CACHE, CURLOPTTYPE_LONG, 91,
1437 7.11.1, "Use CURLOPT_SHARE"),
1438
1439 /* DNS cache timeout */
1440 CURLOPT(CURLOPT_DNS_CACHE_TIMEOUT, CURLOPTTYPE_LONG, 92),
1441
1442 /* send linked-list of pre-transfer QUOTE commands */
1443 CURLOPT(CURLOPT_PREQUOTE, CURLOPTTYPE_SLISTPOINT, 93),
1444
1445 /* set the debug function */
1446 CURLOPT(CURLOPT_DEBUGFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 94),
1447
1448 /* set the data for the debug function */
1449 CURLOPT(CURLOPT_DEBUGDATA, CURLOPTTYPE_CBPOINT, 95),
1450
1451 /* mark this as start of a cookie session */
1452 CURLOPT(CURLOPT_COOKIESESSION, CURLOPTTYPE_LONG, 96),
1453
1454 /* The CApath directory used to validate the peer certificate
1455 this option is used only if SSL_VERIFYPEER is true */
1456 CURLOPT(CURLOPT_CAPATH, CURLOPTTYPE_STRINGPOINT, 97),
1457
1458 /* Instruct libcurl to use a smaller receive buffer */
1459 CURLOPT(CURLOPT_BUFFERSIZE, CURLOPTTYPE_LONG, 98),
1460
1461 /* Instruct libcurl to not use any signal/alarm handlers, even when using
1462 timeouts. This option is useful for multi-threaded applications.
1463 See libcurl-the-guide for more background information. */
1464 CURLOPT(CURLOPT_NOSIGNAL, CURLOPTTYPE_LONG, 99),
1465
1466 /* Provide a CURLShare for mutexing non-ts data */
1467 CURLOPT(CURLOPT_SHARE, CURLOPTTYPE_OBJECTPOINT, 100),
1468
1469 /* indicates type of proxy. accepted values are CURLPROXY_HTTP (default),
1470 CURLPROXY_HTTPS, CURLPROXY_SOCKS4, CURLPROXY_SOCKS4A and
1471 CURLPROXY_SOCKS5. */
1472 CURLOPT(CURLOPT_PROXYTYPE, CURLOPTTYPE_VALUES, 101),
1473
1474 /* Set the Accept-Encoding string. Use this to tell a server you would like
1475 the response to be compressed. Before 7.21.6, this was known as
1476 CURLOPT_ENCODING */
1477 CURLOPT(CURLOPT_ACCEPT_ENCODING, CURLOPTTYPE_STRINGPOINT, 102),
1478
1479 /* Set pointer to private data */
1480 CURLOPT(CURLOPT_PRIVATE, CURLOPTTYPE_OBJECTPOINT, 103),
1481
1482 /* Set aliases for HTTP 200 in the HTTP Response header */
1483 CURLOPT(CURLOPT_HTTP200ALIASES, CURLOPTTYPE_SLISTPOINT, 104),
1484
1485 /* Continue to send authentication (user+password) when following locations,
1486 even when hostname changed. This can potentially send off the name
1487 and password to whatever host the server decides. */
1488 CURLOPT(CURLOPT_UNRESTRICTED_AUTH, CURLOPTTYPE_LONG, 105),
1489
1490 /* Specifically switch on or off the FTP engine's use of the EPRT command (
1491 it also disables the LPRT attempt). By default, those ones will always be
1492 attempted before the good old traditional PORT command. */
1493 CURLOPT(CURLOPT_FTP_USE_EPRT, CURLOPTTYPE_LONG, 106),
1494
1495 /* Set this to a bitmask value to enable the particular authentications
1496 methods you like. Use this in combination with CURLOPT_USERPWD.
1497 Note that setting multiple bits may cause extra network round-trips. */
1498 CURLOPT(CURLOPT_HTTPAUTH, CURLOPTTYPE_VALUES, 107),
1499
1500 /* Set the ssl context callback function, currently only for OpenSSL or
1501 wolfSSL ssl_ctx, or mbedTLS mbedtls_ssl_config in the second argument.
1502 The function must match the curl_ssl_ctx_callback prototype. */
1503 CURLOPT(CURLOPT_SSL_CTX_FUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 108),
1504
1505 /* Set the userdata for the ssl context callback function's third
1506 argument */
1507 CURLOPT(CURLOPT_SSL_CTX_DATA, CURLOPTTYPE_CBPOINT, 109),
1508
1509 /* FTP Option that causes missing dirs to be created on the remote server.
1510 In 7.19.4 we introduced the convenience enums for this option using the
1511 CURLFTP_CREATE_DIR prefix.
1512 */
1513 CURLOPT(CURLOPT_FTP_CREATE_MISSING_DIRS, CURLOPTTYPE_LONG, 110),
1514
1515 /* Set this to a bitmask value to enable the particular authentications
1516 methods you like. Use this in combination with CURLOPT_PROXYUSERPWD.
1517 Note that setting multiple bits may cause extra network round-trips. */
1518 CURLOPT(CURLOPT_PROXYAUTH, CURLOPTTYPE_VALUES, 111),
1519
1520 /* Option that changes the timeout, in seconds, associated with getting a
1521 response. This is different from transfer timeout time and essentially
1522 places a demand on the server to acknowledge commands in a timely
1523 manner. For FTP, SMTP, IMAP and POP3. */
1524 CURLOPT(CURLOPT_SERVER_RESPONSE_TIMEOUT, CURLOPTTYPE_LONG, 112),
1525
1526 /* Set this option to one of the CURL_IPRESOLVE_* defines (see below) to
1527 tell libcurl to use those IP versions only. This only has effect on
1528 systems with support for more than one, i.e IPv4 _and_ IPv6. */
1529 CURLOPT(CURLOPT_IPRESOLVE, CURLOPTTYPE_VALUES, 113),
1530
1531 /* Set this option to limit the size of a file that will be downloaded from
1532 an HTTP or FTP server.
1533
1534 Note there is also _LARGE version which adds large file support for
1535 platforms which have larger off_t sizes. See MAXFILESIZE_LARGE below. */
1536 CURLOPT(CURLOPT_MAXFILESIZE, CURLOPTTYPE_LONG, 114),
1537
1538 /* See the comment for INFILESIZE above, but in short, specifies
1539 * the size of the file being uploaded. -1 means unknown.
1540 */
1541 CURLOPT(CURLOPT_INFILESIZE_LARGE, CURLOPTTYPE_OFF_T, 115),
1542
1543 /* Sets the continuation offset. There is also a CURLOPTTYPE_LONG version
1544 * of this; look above for RESUME_FROM.
1545 */
1546 CURLOPT(CURLOPT_RESUME_FROM_LARGE, CURLOPTTYPE_OFF_T, 116),
1547
1548 /* Sets the maximum size of data that will be downloaded from
1549 * an HTTP or FTP server. See MAXFILESIZE above for the LONG version.
1550 */
1551 CURLOPT(CURLOPT_MAXFILESIZE_LARGE, CURLOPTTYPE_OFF_T, 117),
1552
1553 /* Set this option to the filename of your .netrc file you want libcurl
1554 to parse (using the CURLOPT_NETRC option). If not set, libcurl will do
1555 a poor attempt to find the user's home directory and check for a .netrc
1556 file in there. */
1557 CURLOPT(CURLOPT_NETRC_FILE, CURLOPTTYPE_STRINGPOINT, 118),
1558
1559 /* Enable SSL/TLS for FTP, pick one of:
1560 CURLUSESSL_TRY - try using SSL, proceed anyway otherwise
1561 CURLUSESSL_CONTROL - SSL for the control connection or fail
1562 CURLUSESSL_ALL - SSL for all communication or fail
1563 */
1564 CURLOPT(CURLOPT_USE_SSL, CURLOPTTYPE_VALUES, 119),
1565
1566 /* The _LARGE version of the standard POSTFIELDSIZE option */
1567 CURLOPT(CURLOPT_POSTFIELDSIZE_LARGE, CURLOPTTYPE_OFF_T, 120),
1568
1569 /* Enable/disable the TCP Nagle algorithm */
1570 CURLOPT(CURLOPT_TCP_NODELAY, CURLOPTTYPE_LONG, 121),
1571
1572 /* 122 OBSOLETE, used in 7.12.3. Gone in 7.13.0 */
1573 /* 123 OBSOLETE. Gone in 7.16.0 */
1574 /* 124 OBSOLETE, used in 7.12.3. Gone in 7.13.0 */
1575 /* 125 OBSOLETE, used in 7.12.3. Gone in 7.13.0 */
1576 /* 126 OBSOLETE, used in 7.12.3. Gone in 7.13.0 */
1577 /* 127 OBSOLETE. Gone in 7.16.0 */
1578 /* 128 OBSOLETE. Gone in 7.16.0 */
1579
1580 /* When FTP over SSL/TLS is selected (with CURLOPT_USE_SSL), this option
1581 can be used to change libcurl's default action which is to first try
1582 "AUTH SSL" and then "AUTH TLS" in this order, and proceed when a OK
1583 response has been received.
1584
1585 Available parameters are:
1586 CURLFTPAUTH_DEFAULT - let libcurl decide
1587 CURLFTPAUTH_SSL - try "AUTH SSL" first, then TLS
1588 CURLFTPAUTH_TLS - try "AUTH TLS" first, then SSL
1589 */
1590 CURLOPT(CURLOPT_FTPSSLAUTH, CURLOPTTYPE_VALUES, 129),
1591
1592 CURLOPTDEPRECATED(CURLOPT_IOCTLFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 130,
1593 7.18.0, "Use CURLOPT_SEEKFUNCTION"),
1594 CURLOPTDEPRECATED(CURLOPT_IOCTLDATA, CURLOPTTYPE_CBPOINT, 131,
1595 7.18.0, "Use CURLOPT_SEEKDATA"),
1596
1597 /* 132 OBSOLETE. Gone in 7.16.0 */
1598 /* 133 OBSOLETE. Gone in 7.16.0 */
1599
1600 /* null-terminated string for pass on to the FTP server when asked for
1601 "account" info */
1602 CURLOPT(CURLOPT_FTP_ACCOUNT, CURLOPTTYPE_STRINGPOINT, 134),
1603
1604 /* feed cookie into cookie engine */
1605 CURLOPT(CURLOPT_COOKIELIST, CURLOPTTYPE_STRINGPOINT, 135),
1606
1607 /* ignore Content-Length */
1608 CURLOPT(CURLOPT_IGNORE_CONTENT_LENGTH, CURLOPTTYPE_LONG, 136),
1609
1610 /* Set to non-zero to skip the IP address received in a 227 PASV FTP server
1611 response. Typically used for FTP-SSL purposes but is not restricted to
1612 that. libcurl will then instead use the same IP address it used for the
1613 control connection. */
1614 CURLOPT(CURLOPT_FTP_SKIP_PASV_IP, CURLOPTTYPE_LONG, 137),
1615
1616 /* Select "file method" to use when doing FTP, see the curl_ftpmethod
1617 above. */
1618 CURLOPT(CURLOPT_FTP_FILEMETHOD, CURLOPTTYPE_VALUES, 138),
1619
1620 /* Local port number to bind the socket to */
1621 CURLOPT(CURLOPT_LOCALPORT, CURLOPTTYPE_LONG, 139),
1622
1623 /* Number of ports to try, including the first one set with LOCALPORT.
1624 Thus, setting it to 1 will make no additional attempts but the first.
1625 */
1626 CURLOPT(CURLOPT_LOCALPORTRANGE, CURLOPTTYPE_LONG, 140),
1627
1628 /* no transfer, set up connection and let application use the socket by
1629 extracting it with CURLINFO_LASTSOCKET */
1630 CURLOPT(CURLOPT_CONNECT_ONLY, CURLOPTTYPE_LONG, 141),
1631
1632 /* Function that will be called to convert from the
1633 network encoding (instead of using the iconv calls in libcurl) */
1634 CURLOPTDEPRECATED(CURLOPT_CONV_FROM_NETWORK_FUNCTION,
1636 7.82.0, "Serves no purpose anymore"),
1637
1638 /* Function that will be called to convert to the
1639 network encoding (instead of using the iconv calls in libcurl) */
1640 CURLOPTDEPRECATED(CURLOPT_CONV_TO_NETWORK_FUNCTION,
1642 7.82.0, "Serves no purpose anymore"),
1643
1644 /* Function that will be called to convert from UTF8
1645 (instead of using the iconv calls in libcurl)
1646 Note that this is used only for SSL certificate processing */
1647 CURLOPTDEPRECATED(CURLOPT_CONV_FROM_UTF8_FUNCTION,
1649 7.82.0, "Serves no purpose anymore"),
1650
1651 /* if the connection proceeds too quickly then need to slow it down */
1652 /* limit-rate: maximum number of bytes per second to send or receive */
1653 CURLOPT(CURLOPT_MAX_SEND_SPEED_LARGE, CURLOPTTYPE_OFF_T, 145),
1654 CURLOPT(CURLOPT_MAX_RECV_SPEED_LARGE, CURLOPTTYPE_OFF_T, 146),
1655
1656 /* Pointer to command string to send if USER/PASS fails. */
1657 CURLOPT(CURLOPT_FTP_ALTERNATIVE_TO_USER, CURLOPTTYPE_STRINGPOINT, 147),
1658
1659 /* callback function for setting socket options */
1660 CURLOPT(CURLOPT_SOCKOPTFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 148),
1661 CURLOPT(CURLOPT_SOCKOPTDATA, CURLOPTTYPE_CBPOINT, 149),
1662
1663 /* set to 0 to disable session ID reuse for this transfer, default is
1664 enabled (== 1) */
1665 CURLOPT(CURLOPT_SSL_SESSIONID_CACHE, CURLOPTTYPE_LONG, 150),
1666
1667 /* allowed SSH authentication methods */
1668 CURLOPT(CURLOPT_SSH_AUTH_TYPES, CURLOPTTYPE_VALUES, 151),
1669
1670 /* Used by scp/sftp to do public/private key authentication */
1671 CURLOPT(CURLOPT_SSH_PUBLIC_KEYFILE, CURLOPTTYPE_STRINGPOINT, 152),
1672 CURLOPT(CURLOPT_SSH_PRIVATE_KEYFILE, CURLOPTTYPE_STRINGPOINT, 153),
1673
1674 /* Send CCC (Clear Command Channel) after authentication */
1675 CURLOPT(CURLOPT_FTP_SSL_CCC, CURLOPTTYPE_LONG, 154),
1676
1677 /* Same as TIMEOUT and CONNECTTIMEOUT, but with ms resolution */
1678 CURLOPT(CURLOPT_TIMEOUT_MS, CURLOPTTYPE_LONG, 155),
1679 CURLOPT(CURLOPT_CONNECTTIMEOUT_MS, CURLOPTTYPE_LONG, 156),
1680
1681 /* set to zero to disable the libcurl's decoding and thus pass the raw body
1682 data to the application even when it is encoded/compressed */
1683 CURLOPT(CURLOPT_HTTP_TRANSFER_DECODING, CURLOPTTYPE_LONG, 157),
1684 CURLOPT(CURLOPT_HTTP_CONTENT_DECODING, CURLOPTTYPE_LONG, 158),
1685
1686 /* Permission used when creating new files and directories on the remote
1687 server for protocols that support it, SFTP/SCP/FILE */
1688 CURLOPT(CURLOPT_NEW_FILE_PERMS, CURLOPTTYPE_LONG, 159),
1689 CURLOPT(CURLOPT_NEW_DIRECTORY_PERMS, CURLOPTTYPE_LONG, 160),
1690
1691 /* Set the behavior of POST when redirecting. Values must be set to one
1692 of CURL_REDIR* defines below. This used to be called CURLOPT_POST301 */
1693 CURLOPT(CURLOPT_POSTREDIR, CURLOPTTYPE_VALUES, 161),
1694
1695 /* used by scp/sftp to verify the host's public key */
1696 CURLOPT(CURLOPT_SSH_HOST_PUBLIC_KEY_MD5, CURLOPTTYPE_STRINGPOINT, 162),
1697
1698 /* Callback function for opening socket (instead of socket(2)). Optionally,
1699 callback is able change the address or refuse to connect returning
1700 CURL_SOCKET_BAD. The callback should have type
1701 curl_opensocket_callback */
1702 CURLOPT(CURLOPT_OPENSOCKETFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 163),
1703 CURLOPT(CURLOPT_OPENSOCKETDATA, CURLOPTTYPE_CBPOINT, 164),
1704
1705 /* POST volatile input fields. */
1706 CURLOPT(CURLOPT_COPYPOSTFIELDS, CURLOPTTYPE_OBJECTPOINT, 165),
1707
1708 /* set transfer mode (;type=<a|i>) when doing FTP via an HTTP proxy */
1709 CURLOPT(CURLOPT_PROXY_TRANSFER_MODE, CURLOPTTYPE_LONG, 166),
1710
1711 /* Callback function for seeking in the input stream */
1712 CURLOPT(CURLOPT_SEEKFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 167),
1713 CURLOPT(CURLOPT_SEEKDATA, CURLOPTTYPE_CBPOINT, 168),
1714
1715 /* CRL file */
1716 CURLOPT(CURLOPT_CRLFILE, CURLOPTTYPE_STRINGPOINT, 169),
1717
1718 /* Issuer certificate */
1719 CURLOPT(CURLOPT_ISSUERCERT, CURLOPTTYPE_STRINGPOINT, 170),
1720
1721 /* (IPv6) Address scope */
1722 CURLOPT(CURLOPT_ADDRESS_SCOPE, CURLOPTTYPE_LONG, 171),
1723
1724 /* Collect certificate chain info and allow it to get retrievable with
1725 CURLINFO_CERTINFO after the transfer is complete. */
1726 CURLOPT(CURLOPT_CERTINFO, CURLOPTTYPE_LONG, 172),
1727
1728 /* "name" and "pwd" to use when fetching. */
1729 CURLOPT(CURLOPT_USERNAME, CURLOPTTYPE_STRINGPOINT, 173),
1730 CURLOPT(CURLOPT_PASSWORD, CURLOPTTYPE_STRINGPOINT, 174),
1731
1732 /* "name" and "pwd" to use with Proxy when fetching. */
1733 CURLOPT(CURLOPT_PROXYUSERNAME, CURLOPTTYPE_STRINGPOINT, 175),
1734 CURLOPT(CURLOPT_PROXYPASSWORD, CURLOPTTYPE_STRINGPOINT, 176),
1735
1736 /* Comma separated list of hostnames defining no-proxy zones. These should
1737 match both hostnames directly, and hostnames within a domain. For
1738 example, local.com will match local.com and www.local.com, but NOT
1739 notlocal.com or www.notlocal.com. For compatibility with other
1740 implementations of this, .local.com will be considered to be the same as
1741 local.com. A single * is the only valid wildcard, and effectively
1742 disables the use of proxy. */
1743 CURLOPT(CURLOPT_NOPROXY, CURLOPTTYPE_STRINGPOINT, 177),
1744
1745 /* block size for TFTP transfers */
1746 CURLOPT(CURLOPT_TFTP_BLKSIZE, CURLOPTTYPE_LONG, 178),
1747
1748 /* Socks Service */
1749 /* DEPRECATED, do not use! */
1750 CURLOPTDEPRECATED(CURLOPT_SOCKS5_GSSAPI_SERVICE,
1752 7.49.0, "Use CURLOPT_PROXY_SERVICE_NAME"),
1753
1754 /* Socks Service */
1755 CURLOPT(CURLOPT_SOCKS5_GSSAPI_NEC, CURLOPTTYPE_LONG, 180),
1756
1757 /* set the bitmask for the protocols that are allowed to be used for the
1758 transfer, which thus helps the app which takes URLs from users or other
1759 external inputs and want to restrict what protocol(s) to deal
1760 with. Defaults to CURLPROTO_ALL. */
1761 CURLOPTDEPRECATED(CURLOPT_PROTOCOLS, CURLOPTTYPE_LONG, 181,
1762 7.85.0, "Use CURLOPT_PROTOCOLS_STR"),
1763
1764 /* set the bitmask for the protocols that libcurl is allowed to follow to,
1765 as a subset of the CURLOPT_PROTOCOLS ones. That means the protocol needs
1766 to be set in both bitmasks to be allowed to get redirected to. */
1767 CURLOPTDEPRECATED(CURLOPT_REDIR_PROTOCOLS, CURLOPTTYPE_LONG, 182,
1768 7.85.0, "Use CURLOPT_REDIR_PROTOCOLS_STR"),
1769
1770 /* set the SSH knownhost filename to use */
1771 CURLOPT(CURLOPT_SSH_KNOWNHOSTS, CURLOPTTYPE_STRINGPOINT, 183),
1772
1773 /* set the SSH host key callback, must point to a curl_sshkeycallback
1774 function */
1775 CURLOPT(CURLOPT_SSH_KEYFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 184),
1776
1777 /* set the SSH host key callback custom pointer */
1778 CURLOPT(CURLOPT_SSH_KEYDATA, CURLOPTTYPE_CBPOINT, 185),
1779
1780 /* set the SMTP mail originator */
1781 CURLOPT(CURLOPT_MAIL_FROM, CURLOPTTYPE_STRINGPOINT, 186),
1782
1783 /* set the list of SMTP mail receiver(s) */
1784 CURLOPT(CURLOPT_MAIL_RCPT, CURLOPTTYPE_SLISTPOINT, 187),
1785
1786 /* FTP: send PRET before PASV */
1787 CURLOPT(CURLOPT_FTP_USE_PRET, CURLOPTTYPE_LONG, 188),
1788
1789 /* RTSP request method (OPTIONS, SETUP, PLAY, etc...) */
1790 CURLOPT(CURLOPT_RTSP_REQUEST, CURLOPTTYPE_VALUES, 189),
1791
1792 /* The RTSP session identifier */
1793 CURLOPT(CURLOPT_RTSP_SESSION_ID, CURLOPTTYPE_STRINGPOINT, 190),
1794
1795 /* The RTSP stream URI */
1796 CURLOPT(CURLOPT_RTSP_STREAM_URI, CURLOPTTYPE_STRINGPOINT, 191),
1797
1798 /* The Transport: header to use in RTSP requests */
1799 CURLOPT(CURLOPT_RTSP_TRANSPORT, CURLOPTTYPE_STRINGPOINT, 192),
1800
1801 /* Manually initialize the client RTSP CSeq for this handle */
1802 CURLOPT(CURLOPT_RTSP_CLIENT_CSEQ, CURLOPTTYPE_LONG, 193),
1803
1804 /* Manually initialize the server RTSP CSeq for this handle */
1805 CURLOPT(CURLOPT_RTSP_SERVER_CSEQ, CURLOPTTYPE_LONG, 194),
1806
1807 /* The stream to pass to INTERLEAVEFUNCTION. */
1808 CURLOPT(CURLOPT_INTERLEAVEDATA, CURLOPTTYPE_CBPOINT, 195),
1809
1810 /* Let the application define a custom write method for RTP data */
1811 CURLOPT(CURLOPT_INTERLEAVEFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 196),
1812
1813 /* Turn on wildcard matching */
1814 CURLOPT(CURLOPT_WILDCARDMATCH, CURLOPTTYPE_LONG, 197),
1815
1816 /* Directory matching callback called before downloading of an
1817 individual file (chunk) started */
1818 CURLOPT(CURLOPT_CHUNK_BGN_FUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 198),
1819
1820 /* Directory matching callback called after the file (chunk)
1821 was downloaded, or skipped */
1822 CURLOPT(CURLOPT_CHUNK_END_FUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 199),
1823
1824 /* Change match (fnmatch-like) callback for wildcard matching */
1825 CURLOPT(CURLOPT_FNMATCH_FUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 200),
1826
1827 /* Let the application define custom chunk data pointer */
1828 CURLOPT(CURLOPT_CHUNK_DATA, CURLOPTTYPE_CBPOINT, 201),
1829
1830 /* FNMATCH_FUNCTION user pointer */
1831 CURLOPT(CURLOPT_FNMATCH_DATA, CURLOPTTYPE_CBPOINT, 202),
1832
1833 /* send linked-list of name:port:address sets */
1834 CURLOPT(CURLOPT_RESOLVE, CURLOPTTYPE_SLISTPOINT, 203),
1835
1836 /* Set a username for authenticated TLS */
1837 CURLOPT(CURLOPT_TLSAUTH_USERNAME, CURLOPTTYPE_STRINGPOINT, 204),
1838
1839 /* Set a password for authenticated TLS */
1840 CURLOPT(CURLOPT_TLSAUTH_PASSWORD, CURLOPTTYPE_STRINGPOINT, 205),
1841
1842 /* Set authentication type for authenticated TLS */
1843 CURLOPT(CURLOPT_TLSAUTH_TYPE, CURLOPTTYPE_STRINGPOINT, 206),
1844
1845 /* Set to 1 to enable the "TE:" header in HTTP requests to ask for
1846 compressed transfer-encoded responses. Set to 0 to disable the use of TE:
1847 in outgoing requests. The current default is 0, but it might change in a
1848 future libcurl release.
1849
1850 libcurl will ask for the compressed methods it knows of, and if that
1851 is not any, it will not ask for transfer-encoding at all even if this
1852 option is set to 1.
1853
1854 */
1855 CURLOPT(CURLOPT_TRANSFER_ENCODING, CURLOPTTYPE_LONG, 207),
1856
1857 /* Callback function for closing socket (instead of close(2)). The callback
1858 should have type curl_closesocket_callback */
1859 CURLOPT(CURLOPT_CLOSESOCKETFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 208),
1860 CURLOPT(CURLOPT_CLOSESOCKETDATA, CURLOPTTYPE_CBPOINT, 209),
1861
1862 /* allow GSSAPI credential delegation */
1863 CURLOPT(CURLOPT_GSSAPI_DELEGATION, CURLOPTTYPE_VALUES, 210),
1864
1865 /* Set the name servers to use for DNS resolution.
1866 * Only supported by the c-ares DNS backend */
1867 CURLOPT(CURLOPT_DNS_SERVERS, CURLOPTTYPE_STRINGPOINT, 211),
1868
1869 /* Time-out accept operations (currently for FTP only) after this amount
1870 of milliseconds. */
1871 CURLOPT(CURLOPT_ACCEPTTIMEOUT_MS, CURLOPTTYPE_LONG, 212),
1872
1873 /* Set TCP keepalive */
1874 CURLOPT(CURLOPT_TCP_KEEPALIVE, CURLOPTTYPE_LONG, 213),
1875
1876 /* non-universal keepalive knobs (Linux, AIX, HP-UX, more) */
1877 CURLOPT(CURLOPT_TCP_KEEPIDLE, CURLOPTTYPE_LONG, 214),
1878 CURLOPT(CURLOPT_TCP_KEEPINTVL, CURLOPTTYPE_LONG, 215),
1879
1880 /* Enable/disable specific SSL features with a bitmask, see CURLSSLOPT_* */
1881 CURLOPT(CURLOPT_SSL_OPTIONS, CURLOPTTYPE_VALUES, 216),
1882
1883 /* Set the SMTP auth originator */
1884 CURLOPT(CURLOPT_MAIL_AUTH, CURLOPTTYPE_STRINGPOINT, 217),
1885
1886 /* Enable/disable SASL initial response */
1887 CURLOPT(CURLOPT_SASL_IR, CURLOPTTYPE_LONG, 218),
1888
1889 /* Function that will be called instead of the internal progress display
1890 * function. This function should be defined as the curl_xferinfo_callback
1891 * prototype defines. (Deprecates CURLOPT_PROGRESSFUNCTION) */
1892 CURLOPT(CURLOPT_XFERINFOFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 219),
1893
1894 /* The XOAUTH2 bearer token */
1895 CURLOPT(CURLOPT_XOAUTH2_BEARER, CURLOPTTYPE_STRINGPOINT, 220),
1896
1897 /* Set the interface string to use as outgoing network
1898 * interface for DNS requests.
1899 * Only supported by the c-ares DNS backend */
1900 CURLOPT(CURLOPT_DNS_INTERFACE, CURLOPTTYPE_STRINGPOINT, 221),
1901
1902 /* Set the local IPv4 address to use for outgoing DNS requests.
1903 * Only supported by the c-ares DNS backend */
1904 CURLOPT(CURLOPT_DNS_LOCAL_IP4, CURLOPTTYPE_STRINGPOINT, 222),
1905
1906 /* Set the local IPv6 address to use for outgoing DNS requests.
1907 * Only supported by the c-ares DNS backend */
1908 CURLOPT(CURLOPT_DNS_LOCAL_IP6, CURLOPTTYPE_STRINGPOINT, 223),
1909
1910 /* Set authentication options directly */
1911 CURLOPT(CURLOPT_LOGIN_OPTIONS, CURLOPTTYPE_STRINGPOINT, 224),
1912
1913 /* Enable/disable TLS NPN extension (http2 over ssl might fail without) */
1914 CURLOPTDEPRECATED(CURLOPT_SSL_ENABLE_NPN, CURLOPTTYPE_LONG, 225,
1915 7.86.0, "Has no function"),
1916
1917 /* Enable/disable TLS ALPN extension (http2 over ssl might fail without) */
1918 CURLOPT(CURLOPT_SSL_ENABLE_ALPN, CURLOPTTYPE_LONG, 226),
1919
1920 /* Time to wait for a response to an HTTP request containing an
1921 * Expect: 100-continue header before sending the data anyway. */
1922 CURLOPT(CURLOPT_EXPECT_100_TIMEOUT_MS, CURLOPTTYPE_LONG, 227),
1923
1924 /* This points to a linked list of headers used for proxy requests only,
1925 struct curl_slist kind */
1926 CURLOPT(CURLOPT_PROXYHEADER, CURLOPTTYPE_SLISTPOINT, 228),
1927
1928 /* Pass in a bitmask of "header options" */
1929 CURLOPT(CURLOPT_HEADEROPT, CURLOPTTYPE_VALUES, 229),
1930
1931 /* The public key in DER form used to validate the peer public key
1932 this option is used only if SSL_VERIFYPEER is true */
1933 CURLOPT(CURLOPT_PINNEDPUBLICKEY, CURLOPTTYPE_STRINGPOINT, 230),
1934
1935 /* Path to Unix domain socket */
1936 CURLOPT(CURLOPT_UNIX_SOCKET_PATH, CURLOPTTYPE_STRINGPOINT, 231),
1937
1938 /* Set if we should verify the certificate status. */
1939 CURLOPT(CURLOPT_SSL_VERIFYSTATUS, CURLOPTTYPE_LONG, 232),
1940
1941 /* Set if we should enable TLS false start. */
1942 CURLOPT(CURLOPT_SSL_FALSESTART, CURLOPTTYPE_LONG, 233),
1943
1944 /* Do not squash dot-dot sequences */
1945 CURLOPT(CURLOPT_PATH_AS_IS, CURLOPTTYPE_LONG, 234),
1946
1947 /* Proxy Service Name */
1948 CURLOPT(CURLOPT_PROXY_SERVICE_NAME, CURLOPTTYPE_STRINGPOINT, 235),
1949
1950 /* Service Name */
1951 CURLOPT(CURLOPT_SERVICE_NAME, CURLOPTTYPE_STRINGPOINT, 236),
1952
1953 /* Wait/do not wait for pipe/mutex to clarify */
1954 CURLOPT(CURLOPT_PIPEWAIT, CURLOPTTYPE_LONG, 237),
1955
1956 /* Set the protocol used when curl is given a URL without a protocol */
1957 CURLOPT(CURLOPT_DEFAULT_PROTOCOL, CURLOPTTYPE_STRINGPOINT, 238),
1958
1959 /* Set stream weight, 1 - 256 (default is 16) */
1960 CURLOPT(CURLOPT_STREAM_WEIGHT, CURLOPTTYPE_LONG, 239),
1961
1962 /* Set stream dependency on another curl handle */
1963 CURLOPT(CURLOPT_STREAM_DEPENDS, CURLOPTTYPE_OBJECTPOINT, 240),
1964
1965 /* Set E-xclusive stream dependency on another curl handle */
1966 CURLOPT(CURLOPT_STREAM_DEPENDS_E, CURLOPTTYPE_OBJECTPOINT, 241),
1967
1968 /* Do not send any tftp option requests to the server */
1969 CURLOPT(CURLOPT_TFTP_NO_OPTIONS, CURLOPTTYPE_LONG, 242),
1970
1971 /* Linked-list of host:port:connect-to-host:connect-to-port,
1972 overrides the URL's host:port (only for the network layer) */
1973 CURLOPT(CURLOPT_CONNECT_TO, CURLOPTTYPE_SLISTPOINT, 243),
1974
1975 /* Set TCP Fast Open */
1976 CURLOPT(CURLOPT_TCP_FASTOPEN, CURLOPTTYPE_LONG, 244),
1977
1978 /* Continue to send data if the server responds early with an
1979 * HTTP status code >= 300 */
1980 CURLOPT(CURLOPT_KEEP_SENDING_ON_ERROR, CURLOPTTYPE_LONG, 245),
1981
1982 /* The CApath or CAfile used to validate the proxy certificate
1983 this option is used only if PROXY_SSL_VERIFYPEER is true */
1984 CURLOPT(CURLOPT_PROXY_CAINFO, CURLOPTTYPE_STRINGPOINT, 246),
1985
1986 /* The CApath directory used to validate the proxy certificate
1987 this option is used only if PROXY_SSL_VERIFYPEER is true */
1988 CURLOPT(CURLOPT_PROXY_CAPATH, CURLOPTTYPE_STRINGPOINT, 247),
1989
1990 /* Set if we should verify the proxy in ssl handshake,
1991 set 1 to verify. */
1992 CURLOPT(CURLOPT_PROXY_SSL_VERIFYPEER, CURLOPTTYPE_LONG, 248),
1993
1994 /* Set if we should verify the Common name from the proxy certificate in ssl
1995 * handshake, set 1 to check existence, 2 to ensure that it matches
1996 * the provided hostname. */
1997 CURLOPT(CURLOPT_PROXY_SSL_VERIFYHOST, CURLOPTTYPE_LONG, 249),
1998
1999 /* What version to specifically try to use for proxy.
2000 See CURL_SSLVERSION defines below. */
2001 CURLOPT(CURLOPT_PROXY_SSLVERSION, CURLOPTTYPE_VALUES, 250),
2002
2003 /* Set a username for authenticated TLS for proxy */
2004 CURLOPT(CURLOPT_PROXY_TLSAUTH_USERNAME, CURLOPTTYPE_STRINGPOINT, 251),
2005
2006 /* Set a password for authenticated TLS for proxy */
2007 CURLOPT(CURLOPT_PROXY_TLSAUTH_PASSWORD, CURLOPTTYPE_STRINGPOINT, 252),
2008
2009 /* Set authentication type for authenticated TLS for proxy */
2010 CURLOPT(CURLOPT_PROXY_TLSAUTH_TYPE, CURLOPTTYPE_STRINGPOINT, 253),
2011
2012 /* name of the file keeping your private SSL-certificate for proxy */
2013 CURLOPT(CURLOPT_PROXY_SSLCERT, CURLOPTTYPE_STRINGPOINT, 254),
2014
2015 /* type of the file keeping your SSL-certificate ("DER", "PEM", "ENG") for
2016 proxy */
2017 CURLOPT(CURLOPT_PROXY_SSLCERTTYPE, CURLOPTTYPE_STRINGPOINT, 255),
2018
2019 /* name of the file keeping your private SSL-key for proxy */
2020 CURLOPT(CURLOPT_PROXY_SSLKEY, CURLOPTTYPE_STRINGPOINT, 256),
2021
2022 /* type of the file keeping your private SSL-key ("DER", "PEM", "ENG") for
2023 proxy */
2024 CURLOPT(CURLOPT_PROXY_SSLKEYTYPE, CURLOPTTYPE_STRINGPOINT, 257),
2025
2026 /* password for the SSL private key for proxy */
2027 CURLOPT(CURLOPT_PROXY_KEYPASSWD, CURLOPTTYPE_STRINGPOINT, 258),
2028
2029 /* Specify which TLS 1.2 (1.1, 1.0) ciphers to use for proxy */
2030 CURLOPT(CURLOPT_PROXY_SSL_CIPHER_LIST, CURLOPTTYPE_STRINGPOINT, 259),
2031
2032 /* CRL file for proxy */
2033 CURLOPT(CURLOPT_PROXY_CRLFILE, CURLOPTTYPE_STRINGPOINT, 260),
2034
2035 /* Enable/disable specific SSL features with a bitmask for proxy, see
2036 CURLSSLOPT_* */
2037 CURLOPT(CURLOPT_PROXY_SSL_OPTIONS, CURLOPTTYPE_LONG, 261),
2038
2039 /* Name of pre proxy to use. */
2040 CURLOPT(CURLOPT_PRE_PROXY, CURLOPTTYPE_STRINGPOINT, 262),
2041
2042 /* The public key in DER form used to validate the proxy public key
2043 this option is used only if PROXY_SSL_VERIFYPEER is true */
2044 CURLOPT(CURLOPT_PROXY_PINNEDPUBLICKEY, CURLOPTTYPE_STRINGPOINT, 263),
2045
2046 /* Path to an abstract Unix domain socket */
2047 CURLOPT(CURLOPT_ABSTRACT_UNIX_SOCKET, CURLOPTTYPE_STRINGPOINT, 264),
2048
2049 /* Suppress proxy CONNECT response headers from user callbacks */
2050 CURLOPT(CURLOPT_SUPPRESS_CONNECT_HEADERS, CURLOPTTYPE_LONG, 265),
2051
2052 /* The request target, instead of extracted from the URL */
2053 CURLOPT(CURLOPT_REQUEST_TARGET, CURLOPTTYPE_STRINGPOINT, 266),
2054
2055 /* bitmask of allowed auth methods for connections to SOCKS5 proxies */
2056 CURLOPT(CURLOPT_SOCKS5_AUTH, CURLOPTTYPE_LONG, 267),
2057
2058 /* Enable/disable SSH compression */
2059 CURLOPT(CURLOPT_SSH_COMPRESSION, CURLOPTTYPE_LONG, 268),
2060
2061 /* Post MIME data. */
2062 CURLOPT(CURLOPT_MIMEPOST, CURLOPTTYPE_OBJECTPOINT, 269),
2063
2064 /* Time to use with the CURLOPT_TIMECONDITION. Specified in number of
2065 seconds since 1 Jan 1970. */
2066 CURLOPT(CURLOPT_TIMEVALUE_LARGE, CURLOPTTYPE_OFF_T, 270),
2067
2068 /* Head start in milliseconds to give happy eyeballs. */
2069 CURLOPT(CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS, CURLOPTTYPE_LONG, 271),
2070
2071 /* Function that will be called before a resolver request is made */
2072 CURLOPT(CURLOPT_RESOLVER_START_FUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 272),
2073
2074 /* User data to pass to the resolver start callback. */
2075 CURLOPT(CURLOPT_RESOLVER_START_DATA, CURLOPTTYPE_CBPOINT, 273),
2076
2077 /* send HAProxy PROXY protocol header? */
2078 CURLOPT(CURLOPT_HAPROXYPROTOCOL, CURLOPTTYPE_LONG, 274),
2079
2080 /* shuffle addresses before use when DNS returns multiple */
2081 CURLOPT(CURLOPT_DNS_SHUFFLE_ADDRESSES, CURLOPTTYPE_LONG, 275),
2082
2083 /* Specify which TLS 1.3 ciphers suites to use */
2084 CURLOPT(CURLOPT_TLS13_CIPHERS, CURLOPTTYPE_STRINGPOINT, 276),
2085 CURLOPT(CURLOPT_PROXY_TLS13_CIPHERS, CURLOPTTYPE_STRINGPOINT, 277),
2086
2087 /* Disallow specifying username/login in URL. */
2088 CURLOPT(CURLOPT_DISALLOW_USERNAME_IN_URL, CURLOPTTYPE_LONG, 278),
2089
2090 /* DNS-over-HTTPS URL */
2091 CURLOPT(CURLOPT_DOH_URL, CURLOPTTYPE_STRINGPOINT, 279),
2092
2093 /* Preferred buffer size to use for uploads */
2094 CURLOPT(CURLOPT_UPLOAD_BUFFERSIZE, CURLOPTTYPE_LONG, 280),
2095
2096 /* Time in ms between connection upkeep calls for long-lived connections. */
2097 CURLOPT(CURLOPT_UPKEEP_INTERVAL_MS, CURLOPTTYPE_LONG, 281),
2098
2099 /* Specify URL using CURL URL API. */
2100 CURLOPT(CURLOPT_CURLU, CURLOPTTYPE_OBJECTPOINT, 282),
2101
2102 /* add trailing data just after no more data is available */
2103 CURLOPT(CURLOPT_TRAILERFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 283),
2104
2105 /* pointer to be passed to HTTP_TRAILER_FUNCTION */
2106 CURLOPT(CURLOPT_TRAILERDATA, CURLOPTTYPE_CBPOINT, 284),
2107
2108 /* set this to 1L to allow HTTP/0.9 responses or 0L to disallow */
2109 CURLOPT(CURLOPT_HTTP09_ALLOWED, CURLOPTTYPE_LONG, 285),
2110
2111 /* alt-svc control bitmask */
2112 CURLOPT(CURLOPT_ALTSVC_CTRL, CURLOPTTYPE_LONG, 286),
2113
2114 /* alt-svc cache filename to possibly read from/write to */
2115 CURLOPT(CURLOPT_ALTSVC, CURLOPTTYPE_STRINGPOINT, 287),
2116
2117 /* maximum age (idle time) of a connection to consider it for reuse
2118 * (in seconds) */
2119 CURLOPT(CURLOPT_MAXAGE_CONN, CURLOPTTYPE_LONG, 288),
2120
2121 /* SASL authorization identity */
2122 CURLOPT(CURLOPT_SASL_AUTHZID, CURLOPTTYPE_STRINGPOINT, 289),
2123
2124 /* allow RCPT TO command to fail for some recipients */
2125 CURLOPT(CURLOPT_MAIL_RCPT_ALLOWFAILS, CURLOPTTYPE_LONG, 290),
2126
2127 /* the private SSL-certificate as a "blob" */
2128 CURLOPT(CURLOPT_SSLCERT_BLOB, CURLOPTTYPE_BLOB, 291),
2129 CURLOPT(CURLOPT_SSLKEY_BLOB, CURLOPTTYPE_BLOB, 292),
2130 CURLOPT(CURLOPT_PROXY_SSLCERT_BLOB, CURLOPTTYPE_BLOB, 293),
2131 CURLOPT(CURLOPT_PROXY_SSLKEY_BLOB, CURLOPTTYPE_BLOB, 294),
2132 CURLOPT(CURLOPT_ISSUERCERT_BLOB, CURLOPTTYPE_BLOB, 295),
2133
2134 /* Issuer certificate for proxy */
2135 CURLOPT(CURLOPT_PROXY_ISSUERCERT, CURLOPTTYPE_STRINGPOINT, 296),
2136 CURLOPT(CURLOPT_PROXY_ISSUERCERT_BLOB, CURLOPTTYPE_BLOB, 297),
2137
2138 /* the EC curves requested by the TLS client (RFC 8422, 5.1);
2139 * OpenSSL support via 'set_groups'/'set_curves':
2140 * https://docs.openssl.org/master/man3/SSL_CTX_set1_curves/
2141 */
2142 CURLOPT(CURLOPT_SSL_EC_CURVES, CURLOPTTYPE_STRINGPOINT, 298),
2143
2144 /* HSTS bitmask */
2145 CURLOPT(CURLOPT_HSTS_CTRL, CURLOPTTYPE_LONG, 299),
2146 /* HSTS filename */
2147 CURLOPT(CURLOPT_HSTS, CURLOPTTYPE_STRINGPOINT, 300),
2148
2149 /* HSTS read callback */
2150 CURLOPT(CURLOPT_HSTSREADFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 301),
2151 CURLOPT(CURLOPT_HSTSREADDATA, CURLOPTTYPE_CBPOINT, 302),
2152
2153 /* HSTS write callback */
2154 CURLOPT(CURLOPT_HSTSWRITEFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 303),
2155 CURLOPT(CURLOPT_HSTSWRITEDATA, CURLOPTTYPE_CBPOINT, 304),
2156
2157 /* Parameters for V4 signature */
2158 CURLOPT(CURLOPT_AWS_SIGV4, CURLOPTTYPE_STRINGPOINT, 305),
2159
2160 /* Same as CURLOPT_SSL_VERIFYPEER but for DoH (DNS-over-HTTPS) servers. */
2161 CURLOPT(CURLOPT_DOH_SSL_VERIFYPEER, CURLOPTTYPE_LONG, 306),
2162
2163 /* Same as CURLOPT_SSL_VERIFYHOST but for DoH (DNS-over-HTTPS) servers. */
2164 CURLOPT(CURLOPT_DOH_SSL_VERIFYHOST, CURLOPTTYPE_LONG, 307),
2165
2166 /* Same as CURLOPT_SSL_VERIFYSTATUS but for DoH (DNS-over-HTTPS) servers. */
2167 CURLOPT(CURLOPT_DOH_SSL_VERIFYSTATUS, CURLOPTTYPE_LONG, 308),
2168
2169 /* The CA certificates as "blob" used to validate the peer certificate
2170 this option is used only if SSL_VERIFYPEER is true */
2171 CURLOPT(CURLOPT_CAINFO_BLOB, CURLOPTTYPE_BLOB, 309),
2172
2173 /* The CA certificates as "blob" used to validate the proxy certificate
2174 this option is used only if PROXY_SSL_VERIFYPEER is true */
2175 CURLOPT(CURLOPT_PROXY_CAINFO_BLOB, CURLOPTTYPE_BLOB, 310),
2176
2177 /* used by scp/sftp to verify the host's public key */
2178 CURLOPT(CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256, CURLOPTTYPE_STRINGPOINT, 311),
2179
2180 /* Function that will be called immediately before the initial request
2181 is made on a connection (after any protocol negotiation step). */
2182 CURLOPT(CURLOPT_PREREQFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 312),
2183
2184 /* Data passed to the CURLOPT_PREREQFUNCTION callback */
2185 CURLOPT(CURLOPT_PREREQDATA, CURLOPTTYPE_CBPOINT, 313),
2186
2187 /* maximum age (since creation) of a connection to consider it for reuse
2188 * (in seconds) */
2189 CURLOPT(CURLOPT_MAXLIFETIME_CONN, CURLOPTTYPE_LONG, 314),
2190
2191 /* Set MIME option flags. */
2192 CURLOPT(CURLOPT_MIME_OPTIONS, CURLOPTTYPE_LONG, 315),
2193
2194 /* set the SSH host key callback, must point to a curl_sshkeycallback
2195 function */
2196 CURLOPT(CURLOPT_SSH_HOSTKEYFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 316),
2197
2198 /* set the SSH host key callback custom pointer */
2199 CURLOPT(CURLOPT_SSH_HOSTKEYDATA, CURLOPTTYPE_CBPOINT, 317),
2200
2201 /* specify which protocols that are allowed to be used for the transfer,
2202 which thus helps the app which takes URLs from users or other external
2203 inputs and want to restrict what protocol(s) to deal with. Defaults to
2204 all built-in protocols. */
2205 CURLOPT(CURLOPT_PROTOCOLS_STR, CURLOPTTYPE_STRINGPOINT, 318),
2206
2207 /* specify which protocols that libcurl is allowed to follow directs to */
2208 CURLOPT(CURLOPT_REDIR_PROTOCOLS_STR, CURLOPTTYPE_STRINGPOINT, 319),
2209
2210 /* WebSockets options */
2211 CURLOPT(CURLOPT_WS_OPTIONS, CURLOPTTYPE_LONG, 320),
2212
2213 /* CA cache timeout */
2214 CURLOPT(CURLOPT_CA_CACHE_TIMEOUT, CURLOPTTYPE_LONG, 321),
2215
2216 /* Can leak things, gonna exit() soon */
2217 CURLOPT(CURLOPT_QUICK_EXIT, CURLOPTTYPE_LONG, 322),
2218
2219 /* set a specific client IP for HAProxy PROXY protocol header? */
2220 CURLOPT(CURLOPT_HAPROXY_CLIENT_IP, CURLOPTTYPE_STRINGPOINT, 323),
2221
2222 /* millisecond version */
2223 CURLOPT(CURLOPT_SERVER_RESPONSE_TIMEOUT_MS, CURLOPTTYPE_LONG, 324),
2224
2225 /* set ECH configuration */
2226 CURLOPT(CURLOPT_ECH, CURLOPTTYPE_STRINGPOINT, 325),
2227
2228 /* maximum number of keepalive probes (Linux, *BSD, macOS, etc.) */
2229 CURLOPT(CURLOPT_TCP_KEEPCNT, CURLOPTTYPE_LONG, 326),
2230
#define CURLOPTTYPE_CBPOINT
Definition curl.h:1105
#define CURLOPTTYPE_STRINGPOINT
Definition curl.h:1099
#define CURLOPTTYPE_BLOB
Definition curl.h:1087
#define CURLOPTTYPE_SLISTPOINT
Definition curl.h:1102
#define CURLOPTTYPE_FUNCTIONPOINT
Definition curl.h:1085
#define CURLOPTTYPE_OBJECTPOINT
Definition curl.h:1084
#define CURLOPT(na, t, nu)
Definition curl.h:1093
#define CURLOPTDEPRECATED(na, t, nu, v, m)
Definition curl.h:1094
#define CURLOPTTYPE_LONG
Definition curl.h:1083
#define CURLOPTTYPE_OFF_T
Definition curl.h:1086
#define CURLOPTTYPE_VALUES
Definition curl.h:1108

◆ CURLproxycode

Enumerator
CURLPX_OK 
CURLPX_BAD_ADDRESS_TYPE 
CURLPX_BAD_VERSION 
CURLPX_CLOSED 
CURLPX_GSSAPI 
CURLPX_GSSAPI_PERMSG 
CURLPX_GSSAPI_PROTECTION 
CURLPX_IDENTD 
CURLPX_IDENTD_DIFFER 
CURLPX_LONG_HOSTNAME 
CURLPX_LONG_PASSWD 
CURLPX_LONG_USER 
CURLPX_NO_AUTH 
CURLPX_RECV_ADDRESS 
CURLPX_RECV_AUTH 
CURLPX_RECV_CONNECT 
CURLPX_RECV_REQACK 
CURLPX_REPLY_ADDRESS_TYPE_NOT_SUPPORTED 
CURLPX_REPLY_COMMAND_NOT_SUPPORTED 
CURLPX_REPLY_CONNECTION_REFUSED 
CURLPX_REPLY_GENERAL_SERVER_FAILURE 
CURLPX_REPLY_HOST_UNREACHABLE 
CURLPX_REPLY_NETWORK_UNREACHABLE 
CURLPX_REPLY_NOT_ALLOWED 
CURLPX_REPLY_TTL_EXPIRED 
CURLPX_REPLY_UNASSIGNED 
CURLPX_REQUEST_FAILED 
CURLPX_RESOLVE_HOST 
CURLPX_SEND_AUTH 
CURLPX_SEND_CONNECT 
CURLPX_SEND_REQUEST 
CURLPX_UNKNOWN_FAIL 
CURLPX_UNKNOWN_MODE 
CURLPX_USER_REJECTED 
CURLPX_LAST 

Definition at line 733 of file curl.h.

735 {
736 CURLPX_OK,
@ CURLPX_GSSAPI_PERMSG
Definition curl.h:739
@ CURLPX_CLOSED
Definition curl.h:737
@ CURLPX_BAD_VERSION
Definition curl.h:736
@ CURLPX_GSSAPI
Definition curl.h:738
@ CURLPX_REPLY_ADDRESS_TYPE_NOT_SUPPORTED
Definition curl.h:751
@ CURLPX_UNKNOWN_MODE
Definition curl.h:766
@ CURLPX_SEND_AUTH
Definition curl.h:762
@ CURLPX_REPLY_GENERAL_SERVER_FAILURE
Definition curl.h:754
@ CURLPX_REPLY_TTL_EXPIRED
Definition curl.h:758
@ CURLPX_IDENTD_DIFFER
Definition curl.h:742
@ CURLPX_REPLY_UNASSIGNED
Definition curl.h:759
@ CURLPX_BAD_ADDRESS_TYPE
Definition curl.h:735
@ CURLPX_RECV_ADDRESS
Definition curl.h:747
@ CURLPX_REPLY_NETWORK_UNREACHABLE
Definition curl.h:756
@ CURLPX_LONG_HOSTNAME
Definition curl.h:743
@ CURLPX_SEND_REQUEST
Definition curl.h:764
@ CURLPX_REPLY_COMMAND_NOT_SUPPORTED
Definition curl.h:752
@ CURLPX_NO_AUTH
Definition curl.h:746
@ CURLPX_IDENTD
Definition curl.h:741
@ CURLPX_GSSAPI_PROTECTION
Definition curl.h:740
@ CURLPX_REQUEST_FAILED
Definition curl.h:760
@ CURLPX_LONG_PASSWD
Definition curl.h:744
@ CURLPX_LONG_USER
Definition curl.h:745
@ CURLPX_RECV_AUTH
Definition curl.h:748
@ CURLPX_RECV_REQACK
Definition curl.h:750
@ CURLPX_UNKNOWN_FAIL
Definition curl.h:765
@ CURLPX_REPLY_HOST_UNREACHABLE
Definition curl.h:755
@ CURLPX_OK
Definition curl.h:734
@ CURLPX_RESOLVE_HOST
Definition curl.h:761
@ CURLPX_REPLY_NOT_ALLOWED
Definition curl.h:757
@ CURLPX_REPLY_CONNECTION_REFUSED
Definition curl.h:753
@ CURLPX_SEND_CONNECT
Definition curl.h:763
@ CURLPX_USER_REJECTED
Definition curl.h:767
@ CURLPX_RECV_CONNECT
Definition curl.h:749

◆ CURLSHcode

enum CURLSHcode
Enumerator
CURLSHE_OK 
CURLSHE_BAD_OPTION 
CURLSHE_IN_USE 
CURLSHE_INVALID 
CURLSHE_NOMEM 
CURLSHE_NOT_BUILT_IN 
CURLSHE_LAST 

Definition at line 3026 of file curl.h.

3029 {
3030 CURLSHE_OK, /* all is fine */
3031 CURLSHE_BAD_OPTION, /* 1 */
3032 CURLSHE_IN_USE, /* 2 */
3033 CURLSHE_INVALID, /* 3 */
3034 CURLSHE_NOMEM, /* 4 out of memory */
@ CURLSHE_OK
Definition curl.h:3027
@ CURLSHE_INVALID
Definition curl.h:3030
@ CURLSHE_BAD_OPTION
Definition curl.h:3028
@ CURLSHE_IN_USE
Definition curl.h:3029
@ CURLSHE_NOMEM
Definition curl.h:3031

◆ CURLSHoption

Enumerator
CURLSHOPT_NONE 
CURLSHOPT_SHARE 
CURLSHOPT_UNSHARE 
CURLSHOPT_LOCKFUNC 
CURLSHOPT_UNLOCKFUNC 
CURLSHOPT_USERDATA 
CURLSHOPT_LAST 

Definition at line 3036 of file curl.h.

3039 {
3040 CURLSHOPT_NONE, /* do not use */
3041 CURLSHOPT_SHARE, /* specify a data type to share */
3042 CURLSHOPT_UNSHARE, /* specify which data type to stop sharing */
3043 CURLSHOPT_LOCKFUNC, /* pass in a 'curl_lock_function' pointer */
3044 CURLSHOPT_UNLOCKFUNC, /* pass in a 'curl_unlock_function' pointer */
3045 CURLSHOPT_USERDATA, /* pass in a user data pointer used in the lock/unlock
@ CURLSHOPT_UNLOCKFUNC
Definition curl.h:3041
@ CURLSHOPT_LOCKFUNC
Definition curl.h:3040
@ CURLSHOPT_USERDATA
Definition curl.h:3042
@ CURLSHOPT_UNSHARE
Definition curl.h:3039
@ CURLSHOPT_NONE
Definition curl.h:3037
@ CURLSHOPT_SHARE
Definition curl.h:3038

◆ curlsocktype

Enumerator
CURLSOCKTYPE_IPCXN 
CURLSOCKTYPE_ACCEPT 
CURLSOCKTYPE_LAST 

Definition at line 402 of file curl.h.

403 {
404 CURLSOCKTYPE_IPCXN, /* socket created for a specific IP connection */
405 CURLSOCKTYPE_ACCEPT, /* socket created by accept() call */
406 CURLSOCKTYPE_LAST /* never use */
@ CURLSOCKTYPE_LAST
Definition curl.h:405
@ CURLSOCKTYPE_IPCXN
Definition curl.h:403
@ CURLSOCKTYPE_ACCEPT
Definition curl.h:404

◆ CURLsslset

enum CURLsslset
Enumerator
CURLSSLSET_OK 
CURLSSLSET_UNKNOWN_BACKEND 
CURLSSLSET_TOO_LATE 
CURLSSLSET_NO_BACKENDS 

Definition at line 2797 of file curl.h.

2800 {
2801 CURLSSLSET_OK = 0,
@ CURLSSLSET_UNKNOWN_BACKEND
Definition curl.h:2799
@ CURLSSLSET_OK
Definition curl.h:2798

◆ CURLSTScode

Enumerator
CURLSTS_OK 
CURLSTS_DONE 
CURLSTS_FAIL 

Definition at line 1029 of file curl.h.

1031 {
1032 CURLSTS_OK,
@ CURLSTS_OK
Definition curl.h:1030
@ CURLSTS_DONE
Definition curl.h:1031

◆ CURLversion

Enumerator
CURLVERSION_FIRST 
CURLVERSION_SECOND 
CURLVERSION_THIRD 
CURLVERSION_FOURTH 
CURLVERSION_FIFTH 
CURLVERSION_SIXTH 
CURLVERSION_SEVENTH 
CURLVERSION_EIGHTH 
CURLVERSION_NINTH 
CURLVERSION_TENTH 
CURLVERSION_ELEVENTH 
CURLVERSION_TWELFTH 
CURLVERSION_LAST 

Definition at line 3056 of file curl.h.

3059 {
3060 CURLVERSION_FIRST, /* 7.10 */
3061 CURLVERSION_SECOND, /* 7.11.1 */
3062 CURLVERSION_THIRD, /* 7.12.0 */
3063 CURLVERSION_FOURTH, /* 7.16.1 */
3064 CURLVERSION_FIFTH, /* 7.57.0 */
3065 CURLVERSION_SIXTH, /* 7.66.0 */
3066 CURLVERSION_SEVENTH, /* 7.70.0 */
3067 CURLVERSION_EIGHTH, /* 7.72.0 */
3068 CURLVERSION_NINTH, /* 7.75.0 */
3069 CURLVERSION_TENTH, /* 7.77.0 */
3070 CURLVERSION_ELEVENTH, /* 7.87.0 */
@ CURLVERSION_SIXTH
Definition curl.h:3062
@ CURLVERSION_EIGHTH
Definition curl.h:3064
@ CURLVERSION_FIFTH
Definition curl.h:3061
@ CURLVERSION_SECOND
Definition curl.h:3058
@ CURLVERSION_FOURTH
Definition curl.h:3060
@ CURLVERSION_THIRD
Definition curl.h:3059
@ CURLVERSION_FIRST
Definition curl.h:3057
@ CURLVERSION_SEVENTH
Definition curl.h:3063
@ CURLVERSION_TENTH
Definition curl.h:3066
@ CURLVERSION_ELEVENTH
Definition curl.h:3067
@ CURLVERSION_NINTH
Definition curl.h:3065

Function Documentation

◆ CURL_DEPRECATED() [1/3]

CURL_EXTERN int CURL_DEPRECATED ( 7.56. 0,
""  )

◆ CURL_DEPRECATED() [2/3]

CURL_EXTERN void CURL_DEPRECATED ( 7.56. 0,
"Use curl_mime_free()"  )

◆ CURL_DEPRECATED() [3/3]

CURL_EXTERN CURLFORMcode CURL_DEPRECATED ( 7.56. 0,
"Use curl_mime_init()"  )

◆ curl_easy_escape()

CURL_EXTERN char * curl_easy_escape ( CURL * handle,
const char * string,
int length )

◆ curl_easy_pause()

CURL_EXTERN CURLcode curl_easy_pause ( CURL * handle,
int bitmask )

◆ curl_easy_ssls_export()

CURL_EXTERN CURLcode curl_easy_ssls_export ( CURL * handle,
curl_ssls_export_cb * export_fn,
void * userptr )

◆ curl_easy_ssls_import()

CURL_EXTERN CURLcode curl_easy_ssls_import ( CURL * handle,
const char * session_key,
const unsigned char * shmac,
size_t shmac_len,
const unsigned char * sdata,
size_t sdata_len )

◆ curl_easy_strerror()

CURL_EXTERN const char * curl_easy_strerror ( CURLcode )

Referenced by fetch_github_user(), and http_get().

◆ curl_easy_unescape()

CURL_EXTERN char * curl_easy_unescape ( CURL * handle,
const char * string,
int length,
int * outlength )

◆ curl_escape()

CURL_EXTERN char * curl_escape ( const char * string,
int length )

◆ curl_free()

CURL_EXTERN void curl_free ( void * p)

◆ curl_getdate()

CURL_EXTERN time_t curl_getdate ( const char * p,
const time_t * unused )

◆ curl_getenv()

CURL_EXTERN char * curl_getenv ( const char * variable)

◆ curl_global_cleanup()

CURL_EXTERN void curl_global_cleanup ( void )

◆ curl_global_init()

CURL_EXTERN CURLcode curl_global_init ( long flags)

◆ curl_global_init_mem()

◆ curl_global_sslset()

CURL_EXTERN CURLsslset curl_global_sslset ( curl_sslbackend id,
const char * name,
const curl_ssl_backend *** avail )

◆ curl_global_trace()

CURL_EXTERN CURLcode curl_global_trace ( const char * config)

◆ curl_mime_addpart()

CURL_EXTERN curl_mimepart * curl_mime_addpart ( curl_mime * mime)

◆ curl_mime_data()

CURL_EXTERN CURLcode curl_mime_data ( curl_mimepart * part,
const char * data,
size_t datasize )

◆ curl_mime_data_cb()

CURL_EXTERN CURLcode curl_mime_data_cb ( curl_mimepart * part,
curl_off_t datasize,
curl_read_callback readfunc,
curl_seek_callback seekfunc,
curl_free_callback freefunc,
void * arg )

◆ curl_mime_encoder()

CURL_EXTERN CURLcode curl_mime_encoder ( curl_mimepart * part,
const char * encoding )

◆ curl_mime_filedata()

CURL_EXTERN CURLcode curl_mime_filedata ( curl_mimepart * part,
const char * filename )

◆ curl_mime_filename()

CURL_EXTERN CURLcode curl_mime_filename ( curl_mimepart * part,
const char * filename )

◆ curl_mime_free()

CURL_EXTERN void curl_mime_free ( curl_mime * mime)

◆ curl_mime_headers()

CURL_EXTERN CURLcode curl_mime_headers ( curl_mimepart * part,
struct curl_slist * headers,
int take_ownership )

◆ curl_mime_init()

CURL_EXTERN curl_mime * curl_mime_init ( CURL * easy)

◆ curl_mime_name()

CURL_EXTERN CURLcode curl_mime_name ( curl_mimepart * part,
const char * name )

◆ curl_mime_subparts()

CURL_EXTERN CURLcode curl_mime_subparts ( curl_mimepart * part,
curl_mime * subparts )

◆ curl_mime_type()

CURL_EXTERN CURLcode curl_mime_type ( curl_mimepart * part,
const char * mimetype )

◆ curl_share_cleanup()

CURL_EXTERN CURLSHcode curl_share_cleanup ( CURLSH * share)

◆ curl_share_init()

CURL_EXTERN CURLSH * curl_share_init ( void )

◆ curl_share_setopt()

CURL_EXTERN CURLSHcode curl_share_setopt ( CURLSH * share,
CURLSHoption option,
... )

◆ curl_share_strerror()

CURL_EXTERN const char * curl_share_strerror ( CURLSHcode )

◆ curl_slist_append()

CURL_EXTERN struct curl_slist * curl_slist_append ( struct curl_slist * list,
const char * data )

◆ curl_slist_free_all()

CURL_EXTERN void curl_slist_free_all ( struct curl_slist * list)

◆ curl_strequal()

CURL_EXTERN int curl_strequal ( const char * s1,
const char * s2 )

◆ curl_strnequal()

CURL_EXTERN int curl_strnequal ( const char * s1,
const char * s2,
size_t n )

◆ curl_unescape()

CURL_EXTERN char * curl_unescape ( const char * string,
int length )

◆ curl_version()

CURL_EXTERN char * curl_version ( void )

◆ curl_version_info()

Variable Documentation

◆ append

Definition at line 2623 of file curl.h.

◆ arg

◆ curl_formget_callback

CURL_EXTERN CURLFORMcode struct curl_httppost typedef size_t(* curl_formget_callback) (void *arg, const char *buf, size_t len) ( void * arg,
const char * buf,
size_t len )

Definition at line 2608 of file curl.h.

◆ last_post

Definition at line 2597 of file curl.h.