ReactOS 0.4.16-dev-1946-g52006dd
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 dependency graph for curl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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 __has_declspec_attribute(x)   0
 
#define CURL_EXTERN
 
#define CURL_SOCKET_BAD   -1
 
#define curl_socket_typedef
 
#define CURLSSLBACKEND_LIBRESSL   CURLSSLBACKEND_OPENSSL
 
#define CURLSSLBACKEND_BORINGSSL   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   524288
 
#define CURL_MAX_WRITE_SIZE   16384
 
#define CURL_MAX_HTTP_HEADER   (100*1024)
 
#define CURL_WRITEFUNC_PAUSE   0x10000001
 
#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 doesn't 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_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_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 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 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 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_SERVER_RESPONSE_TIMEOUT   CURLOPT_FTP_RESPONSE_TIMEOUT
 
#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 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_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_TENTH
 
#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 size_t(* curl_formget_callback) (void *arg, const char *buf, size_t len)
 
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
 

Enumerations

enum  curl_sslbackend {
  CURLSSLBACKEND_NONE = 0 , CURLSSLBACKEND_OPENSSL = 1 , CURLSSLBACKEND_GNUTLS = 2 , CURLSSLBACKEND_NSS = 3 ,
  CURLSSLBACKEND_OBSOLETE4 = 4 , CURLSSLBACKEND_GSKIT = 5 , CURLSSLBACKEND_POLARSSL = 6 , CURLSSLBACKEND_WOLFSSL = 7 ,
  CURLSSLBACKEND_SCHANNEL = 8 , CURLSSLBACKEND_SECURETRANSPORT = 9 , CURLSSLBACKEND_AXTLS = 10 , CURLSSLBACKEND_MBEDTLS = 11 ,
  CURLSSLBACKEND_MESALINK = 12 , 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_HTTP_POST_ERROR , CURLE_SSL_CONNECT_ERROR ,
  CURLE_BAD_DOWNLOAD_RESUME , CURLE_FILE_COULDNT_READ_FILE , CURLE_LDAP_CANNOT_BIND , CURLE_LDAP_SEARCH_FAILED ,
  CURLE_OBSOLETE40 , CURLE_FUNCTION_NOT_FOUND , 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_CONV_FAILED ,
  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 ,
  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_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) , 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 =(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 =(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_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_SSLVERSION_DEFAULT , CURL_SSLVERSION_TLSv1 , CURL_SSLVERSION_SSLv2 , CURL_SSLVERSION_SSLv3 ,
  CURL_SSLVERSION_TLSv1_0 , CURL_SSLVERSION_TLSv1_1 , CURL_SSLVERSION_TLSv1_2 , CURL_SSLVERSION_TLSv1_3 ,
  CURL_SSLVERSION_LAST
}
 
enum  {
  CURL_SSLVERSION_MAX_NONE = 0 , CURL_SSLVERSION_MAX_DEFAULT = (CURL_SSLVERSION_TLSv1 << 16) , CURL_SSLVERSION_MAX_TLSv1_0 = (CURL_SSLVERSION_TLSv1_0 << 16) , CURL_SSLVERSION_MAX_TLSv1_1 = (CURL_SSLVERSION_TLSv1_1 << 16) ,
  CURL_SSLVERSION_MAX_TLSv1_2 = (CURL_SSLVERSION_TLSv1_2 << 16) , CURL_SSLVERSION_MAX_TLSv1_3 = (CURL_SSLVERSION_TLSv1_3 << 16) , CURL_SSLVERSION_MAX_LAST = (CURL_SSLVERSION_LAST << 16)
}
 
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 {
  CURLFORM_NOTHING , CURLFORM_COPYNAME , CURLFORM_PTRNAME , CURLFORM_NAMELENGTH ,
  CURLFORM_COPYCONTENTS , CURLFORM_PTRCONTENTS , CURLFORM_CONTENTSLENGTH , CURLFORM_FILECONTENT ,
  CURLFORM_ARRAY , CURLFORM_OBSOLETE , CURLFORM_FILE , CURLFORM_BUFFER ,
  CURLFORM_BUFFERPTR , CURLFORM_BUFFERLENGTH , CURLFORM_CONTENTTYPE , CURLFORM_CONTENTHEADER ,
  CURLFORM_FILENAME , CURLFORM_END , CURLFORM_OBSOLETE2 , CURLFORM_STREAM ,
  CURLFORM_CONTENTLEN , CURLFORM_LASTENTRY
}
 
enum  CURLFORMcode {
  CURL_FORMADD_OK , CURL_FORMADD_MEMORY , CURL_FORMADD_OPTION_TWICE , CURL_FORMADD_NULL ,
  CURL_FORMADD_UNKNOWN_OPTION , CURL_FORMADD_INCOMPLETE , CURL_FORMADD_ILLEGAL_ARRAY , CURL_FORMADD_DISABLED ,
  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 , CURLINFO_SIZE_UPLOAD = CURLINFO_DOUBLE + 7 ,
  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 ,
  CURLINFO_CONTENT_LENGTH_DOWNLOAD = CURLINFO_DOUBLE + 15 , CURLINFO_CONTENT_LENGTH_DOWNLOAD_T = CURLINFO_OFF_T + 15 , CURLINFO_CONTENT_LENGTH_UPLOAD = CURLINFO_DOUBLE + 16 , 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 ,
  CURLINFO_LASTSOCKET = CURLINFO_LONG + 29 , 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 , CURLINFO_TLS_SESSION = CURLINFO_PTR + 43 , 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 , CURLINFO_PROTOCOL = CURLINFO_LONG + 48 ,
  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_LASTONE = 62
}
 
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_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_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_formadd (struct curl_httppost **httppost, struct curl_httppost **last_post,...)
 
CURL_EXTERN int curl_formget (struct curl_httppost *form, void *arg, curl_formget_callback append)
 
CURL_EXTERN void curl_formfree (struct curl_httppost *form)
 
CURL_EXTERN charcurl_getenv (const char *variable)
 
CURL_EXTERN charcurl_version (void)
 
CURL_EXTERN charcurl_easy_escape (CURL *handle, const char *string, int length)
 
CURL_EXTERN charcurl_escape (const char *string, int length)
 
CURL_EXTERN charcurl_easy_unescape (CURL *handle, const char *string, int length, int *outlength)
 
CURL_EXTERN charcurl_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 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 *, const char *)
 
CURL_EXTERN void curl_slist_free_all (struct curl_slist *)
 
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 *, CURLSHoption option,...)
 
CURL_EXTERN CURLSHcode curl_share_cleanup (CURLSH *)
 
CURL_EXTERN curl_version_info_datacurl_version_info (CURLversion)
 
CURL_EXTERN const charcurl_easy_strerror (CURLcode)
 
CURL_EXTERN const charcurl_share_strerror (CURLSHcode)
 
CURL_EXTERN CURLcode curl_easy_pause (CURL *handle, int bitmask)
 

Macro Definition Documentation

◆ __has_declspec_attribute

#define __has_declspec_attribute (   x)    0

Definition at line 92 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 320 of file curl.h.

◆ CURL_CHUNK_BGN_FUNC_OK

#define CURL_CHUNK_BGN_FUNC_OK   0

Definition at line 319 of file curl.h.

◆ CURL_CHUNK_BGN_FUNC_SKIP

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

Definition at line 321 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 332 of file curl.h.

◆ CURL_CHUNK_END_FUNC_OK

#define CURL_CHUNK_END_FUNC_OK   0

Definition at line 331 of file curl.h.

◆ CURL_DID_MEMORY_FUNC_TYPEDEFS

#define CURL_DID_MEMORY_FUNC_TYPEDEFS

Definition at line 447 of file curl.h.

◆ CURL_ERROR_SIZE

#define CURL_ERROR_SIZE   256

Definition at line 815 of file curl.h.

◆ CURL_EXTERN

#define CURL_EXTERN

Definition at line 124 of file curl.h.

◆ CURL_FNMATCHFUNC_FAIL

#define CURL_FNMATCHFUNC_FAIL   2 /* an error occurred */

Definition at line 345 of file curl.h.

◆ CURL_FNMATCHFUNC_MATCH

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

Definition at line 343 of file curl.h.

◆ CURL_FNMATCHFUNC_NOMATCH

#define CURL_FNMATCHFUNC_NOMATCH   1 /* pattern doesn't match the string */

Definition at line 344 of file curl.h.

◆ curl_ftpssl

#define curl_ftpssl   curl_usessl

Definition at line 930 of file curl.h.

◆ CURL_GLOBAL_ACK_EINTR

#define CURL_GLOBAL_ACK_EINTR   (1<<2)

Definition at line 2848 of file curl.h.

◆ CURL_GLOBAL_ALL

#define CURL_GLOBAL_ALL   (CURL_GLOBAL_SSL|CURL_GLOBAL_WIN32)

Definition at line 2845 of file curl.h.

◆ CURL_GLOBAL_DEFAULT

#define CURL_GLOBAL_DEFAULT   CURL_GLOBAL_ALL

Definition at line 2847 of file curl.h.

◆ CURL_GLOBAL_NOTHING

#define CURL_GLOBAL_NOTHING   0

Definition at line 2846 of file curl.h.

◆ CURL_GLOBAL_SSL

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

Definition at line 2843 of file curl.h.

◆ CURL_GLOBAL_WIN32

#define CURL_GLOBAL_WIN32   (1<<1)

Definition at line 2844 of file curl.h.

◆ CURL_HET_DEFAULT

#define CURL_HET_DEFAULT   200L

Definition at line 914 of file curl.h.

◆ CURL_HTTP_VERSION_2

#define CURL_HTTP_VERSION_2   CURL_HTTP_VERSION_2_0

Definition at line 2204 of file curl.h.

◆ CURL_HTTPPOST_BUFFER

#define CURL_HTTPPOST_BUFFER   (1<<4)

Definition at line 191 of file curl.h.

◆ CURL_HTTPPOST_CALLBACK

#define CURL_HTTPPOST_CALLBACK   (1<<6)

Definition at line 196 of file curl.h.

◆ CURL_HTTPPOST_FILENAME

#define CURL_HTTPPOST_FILENAME   (1<<0)

Definition at line 183 of file curl.h.

◆ CURL_HTTPPOST_LARGE

#define CURL_HTTPPOST_LARGE   (1<<7)

Definition at line 198 of file curl.h.

◆ CURL_HTTPPOST_PTRBUFFER

#define CURL_HTTPPOST_PTRBUFFER   (1<<5)

Definition at line 193 of file curl.h.

◆ CURL_HTTPPOST_PTRCONTENTS

#define CURL_HTTPPOST_PTRCONTENTS   (1<<3)

Definition at line 189 of file curl.h.

◆ CURL_HTTPPOST_PTRNAME

#define CURL_HTTPPOST_PTRNAME   (1<<2)

Definition at line 187 of file curl.h.

◆ CURL_HTTPPOST_READFILE

#define CURL_HTTPPOST_READFILE   (1<<1)

Definition at line 185 of file curl.h.

◆ CURL_IPRESOLVE_V4

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

Definition at line 2179 of file curl.h.

◆ CURL_IPRESOLVE_V6

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

Definition at line 2180 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 2178 of file curl.h.

◆ CURL_MAX_HTTP_HEADER

#define CURL_MAX_HTTP_HEADER   (100*1024)

Definition at line 251 of file curl.h.

◆ CURL_MAX_READ_SIZE

#define CURL_MAX_READ_SIZE   524288

Definition at line 234 of file curl.h.

◆ CURL_MAX_WRITE_SIZE

#define CURL_MAX_WRITE_SIZE   16384

Definition at line 244 of file curl.h.

◆ CURL_PREREQFUNC_ABORT

#define CURL_PREREQFUNC_ABORT   1

Definition at line 481 of file curl.h.

◆ CURL_PREREQFUNC_OK

#define CURL_PREREQFUNC_OK   0

Definition at line 478 of file curl.h.

◆ CURL_PROGRESSFUNC_CONTINUE

#define CURL_PROGRESSFUNC_CONTINUE   0x10000001

Definition at line 213 of file curl.h.

◆ CURL_READFUNC_ABORT

#define CURL_READFUNC_ABORT   0x10000000

Definition at line 363 of file curl.h.

◆ CURL_READFUNC_PAUSE

#define CURL_READFUNC_PAUSE   0x10000001

Definition at line 366 of file curl.h.

◆ CURL_REDIR_GET_ALL

#define CURL_REDIR_GET_ALL   0

Definition at line 2273 of file curl.h.

◆ CURL_REDIR_POST_301

#define CURL_REDIR_POST_301   1

Definition at line 2274 of file curl.h.

◆ CURL_REDIR_POST_302

#define CURL_REDIR_POST_302   2

Definition at line 2275 of file curl.h.

◆ CURL_REDIR_POST_303

#define CURL_REDIR_POST_303   4

Definition at line 2276 of file curl.h.

◆ CURL_REDIR_POST_ALL

Definition at line 2277 of file curl.h.

◆ CURL_SEEKFUNC_CANTSEEK

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

Definition at line 356 of file curl.h.

◆ CURL_SEEKFUNC_FAIL

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

Definition at line 355 of file curl.h.

◆ CURL_SEEKFUNC_OK

#define CURL_SEEKFUNC_OK   0

Definition at line 354 of file curl.h.

◆ CURL_SOCKET_BAD

#define CURL_SOCKET_BAD   -1

Definition at line 134 of file curl.h.

◆ curl_socket_typedef

#define curl_socket_typedef

Definition at line 136 of file curl.h.

◆ CURL_SOCKOPT_ALREADY_CONNECTED

#define CURL_SOCKOPT_ALREADY_CONNECTED   2

Definition at line 393 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 392 of file curl.h.

◆ CURL_SOCKOPT_OK

#define CURL_SOCKOPT_OK   0

Definition at line 391 of file curl.h.

◆ CURL_TRAILERFUNC_ABORT

#define CURL_TRAILERFUNC_ABORT   1

Definition at line 373 of file curl.h.

◆ CURL_TRAILERFUNC_OK

#define CURL_TRAILERFUNC_OK   0

Definition at line 370 of file curl.h.

◆ CURL_UPKEEP_INTERVAL_DEFAULT

#define CURL_UPKEEP_INTERVAL_DEFAULT   60000L

Definition at line 917 of file curl.h.

◆ CURL_VERSION_ALTSVC

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

Definition at line 3019 of file curl.h.

◆ CURL_VERSION_ASYNCHDNS

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

Definition at line 3002 of file curl.h.

◆ CURL_VERSION_BROTLI

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

Definition at line 3018 of file curl.h.

◆ CURL_VERSION_CONV

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

Definition at line 3007 of file curl.h.

◆ CURL_VERSION_CURLDEBUG

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

Definition at line 3008 of file curl.h.

◆ CURL_VERSION_DEBUG

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

Definition at line 3001 of file curl.h.

◆ CURL_VERSION_GSASL

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

Definition at line 3024 of file curl.h.

◆ CURL_VERSION_GSSAPI

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

Definition at line 3012 of file curl.h.

◆ CURL_VERSION_GSSNEGOTIATE

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

Definition at line 3000 of file curl.h.

◆ CURL_VERSION_HSTS

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

Definition at line 3023 of file curl.h.

◆ CURL_VERSION_HTTP2

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

Definition at line 3011 of file curl.h.

◆ CURL_VERSION_HTTP3

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

Definition at line 3020 of file curl.h.

◆ CURL_VERSION_HTTPS_PROXY

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

Definition at line 3016 of file curl.h.

◆ CURL_VERSION_IDN

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

Definition at line 3005 of file curl.h.

◆ CURL_VERSION_IPV6

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

Definition at line 2995 of file curl.h.

◆ CURL_VERSION_KERBEROS4

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

Definition at line 2996 of file curl.h.

◆ CURL_VERSION_KERBEROS5

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

Definition at line 3013 of file curl.h.

◆ CURL_VERSION_LARGEFILE

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

Definition at line 3004 of file curl.h.

◆ CURL_VERSION_LIBZ

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

Definition at line 2998 of file curl.h.

◆ CURL_VERSION_MULTI_SSL

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

Definition at line 3017 of file curl.h.

◆ CURL_VERSION_NTLM

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

Definition at line 2999 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 3010 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 3015 of file curl.h.

◆ CURL_VERSION_SPNEGO

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

Definition at line 3003 of file curl.h.

◆ CURL_VERSION_SSL

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

Definition at line 2997 of file curl.h.

◆ CURL_VERSION_SSPI

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

Definition at line 3006 of file curl.h.

◆ CURL_VERSION_THREADSAFE

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

Definition at line 3025 of file curl.h.

◆ CURL_VERSION_TLSAUTH_SRP

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

Definition at line 3009 of file curl.h.

◆ CURL_VERSION_UNICODE

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

Definition at line 3022 of file curl.h.

◆ CURL_VERSION_UNIX_SOCKETS

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

Definition at line 3014 of file curl.h.

◆ CURL_VERSION_ZSTD

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

Definition at line 3021 of file curl.h.

◆ CURL_WRITEFUNC_PAUSE

#define CURL_WRITEFUNC_PAUSE   0x10000001

Definition at line 256 of file curl.h.

◆ CURL_ZERO_TERMINATED

#define CURL_ZERO_TERMINATED   ((size_t) -1)

Definition at line 2291 of file curl.h.

◆ CURLALTSVC_H1

#define CURLALTSVC_H1   (1<<3)

Definition at line 975 of file curl.h.

◆ CURLALTSVC_H2

#define CURLALTSVC_H2   (1<<4)

Definition at line 976 of file curl.h.

◆ CURLALTSVC_H3

#define CURLALTSVC_H3   (1<<5)

Definition at line 977 of file curl.h.

◆ CURLALTSVC_READONLYFILE

#define CURLALTSVC_READONLYFILE   (1<<2)

Definition at line 974 of file curl.h.

◆ CURLAUTH_ANY

#define CURLAUTH_ANY   (~CURLAUTH_DIGEST_IE)

Definition at line 798 of file curl.h.

◆ CURLAUTH_ANYSAFE

#define CURLAUTH_ANYSAFE   (~(CURLAUTH_BASIC|CURLAUTH_DIGEST_IE))

Definition at line 799 of file curl.h.

◆ CURLAUTH_AWS_SIGV4

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

Definition at line 796 of file curl.h.

◆ CURLAUTH_BASIC

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

Definition at line 785 of file curl.h.

◆ CURLAUTH_BEARER

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

Definition at line 795 of file curl.h.

◆ CURLAUTH_DIGEST

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

Definition at line 786 of file curl.h.

◆ CURLAUTH_DIGEST_IE

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

Definition at line 793 of file curl.h.

◆ CURLAUTH_GSSAPI

#define CURLAUTH_GSSAPI   CURLAUTH_NEGOTIATE

Definition at line 791 of file curl.h.

◆ CURLAUTH_GSSNEGOTIATE

#define CURLAUTH_GSSNEGOTIATE   CURLAUTH_NEGOTIATE

Definition at line 789 of file curl.h.

◆ CURLAUTH_NEGOTIATE

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

Definition at line 787 of file curl.h.

◆ CURLAUTH_NONE

#define CURLAUTH_NONE   ((unsigned long)0)

Definition at line 784 of file curl.h.

◆ CURLAUTH_NTLM

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

Definition at line 792 of file curl.h.

◆ CURLAUTH_NTLM_WB

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

Definition at line 794 of file curl.h.

◆ CURLAUTH_ONLY

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

Definition at line 797 of file curl.h.

◆ CURLE_ALREADY_COMPLETE

#define CURLE_ALREADY_COMPLETE   99999

Definition at line 685 of file curl.h.

◆ CURLE_BAD_CALLING_ORDER

#define CURLE_BAD_CALLING_ORDER   CURLE_OBSOLETE44

Definition at line 651 of file curl.h.

◆ CURLE_BAD_PASSWORD_ENTERED

#define CURLE_BAD_PASSWORD_ENTERED   CURLE_OBSOLETE46

Definition at line 650 of file curl.h.

◆ CURLE_CONV_REQD

#define CURLE_CONV_REQD   CURLE_OBSOLETE76

Definition at line 680 of file curl.h.

◆ CURLE_FTP_ACCESS_DENIED

#define CURLE_FTP_ACCESS_DENIED   CURLE_REMOTE_ACCESS_DENIED

Definition at line 663 of file curl.h.

◆ CURLE_FTP_BAD_DOWNLOAD_RESUME

#define CURLE_FTP_BAD_DOWNLOAD_RESUME   CURLE_BAD_DOWNLOAD_RESUME

Definition at line 678 of file curl.h.

◆ CURLE_FTP_CANT_RECONNECT

#define CURLE_FTP_CANT_RECONNECT   CURLE_OBSOLETE16

Definition at line 653 of file curl.h.

◆ CURLE_FTP_COULDNT_GET_SIZE

#define CURLE_FTP_COULDNT_GET_SIZE   CURLE_OBSOLETE32

Definition at line 654 of file curl.h.

◆ CURLE_FTP_COULDNT_SET_ASCII

#define CURLE_FTP_COULDNT_SET_ASCII   CURLE_OBSOLETE29

Definition at line 655 of file curl.h.

◆ CURLE_FTP_COULDNT_SET_BINARY

#define CURLE_FTP_COULDNT_SET_BINARY   CURLE_FTP_COULDNT_SET_TYPE

Definition at line 664 of file curl.h.

◆ CURLE_FTP_COULDNT_STOR_FILE

#define CURLE_FTP_COULDNT_STOR_FILE   CURLE_UPLOAD_FAILED

Definition at line 676 of file curl.h.

◆ CURLE_FTP_PARTIAL_FILE

#define CURLE_FTP_PARTIAL_FILE   CURLE_PARTIAL_FILE

Definition at line 677 of file curl.h.

◆ CURLE_FTP_QUOTE_ERROR

#define CURLE_FTP_QUOTE_ERROR   CURLE_QUOTE_ERROR

Definition at line 665 of file curl.h.

◆ CURLE_FTP_SSL_FAILED

#define CURLE_FTP_SSL_FAILED   CURLE_USE_SSL_FAILED

Definition at line 669 of file curl.h.

◆ CURLE_FTP_USER_PASSWORD_INCORRECT

#define CURLE_FTP_USER_PASSWORD_INCORRECT   CURLE_OBSOLETE10

Definition at line 652 of file curl.h.

◆ CURLE_FTP_WEIRD_SERVER_REPLY

#define CURLE_FTP_WEIRD_SERVER_REPLY   CURLE_WEIRD_SERVER_REPLY

Definition at line 632 of file curl.h.

◆ CURLE_FTP_WEIRD_USER_REPLY

#define CURLE_FTP_WEIRD_USER_REPLY   CURLE_OBSOLETE12

Definition at line 656 of file curl.h.

◆ CURLE_FTP_WRITE_ERROR

#define CURLE_FTP_WRITE_ERROR   CURLE_OBSOLETE20

Definition at line 657 of file curl.h.

◆ CURLE_HTTP_NOT_FOUND

#define CURLE_HTTP_NOT_FOUND   CURLE_HTTP_RETURNED_ERROR

Definition at line 674 of file curl.h.

◆ CURLE_HTTP_PORT_FAILED

#define CURLE_HTTP_PORT_FAILED   CURLE_INTERFACE_FAILED

Definition at line 675 of file curl.h.

◆ CURLE_HTTP_RANGE_ERROR

#define CURLE_HTTP_RANGE_ERROR   CURLE_RANGE_ERROR

Definition at line 668 of file curl.h.

◆ CURLE_LDAP_INVALID_URL

#define CURLE_LDAP_INVALID_URL   CURLE_OBSOLETE62

Definition at line 679 of file curl.h.

◆ CURLE_LIBRARY_NOT_FOUND

#define CURLE_LIBRARY_NOT_FOUND   CURLE_OBSOLETE40

Definition at line 658 of file curl.h.

◆ CURLE_MALFORMAT_USER

#define CURLE_MALFORMAT_USER   CURLE_OBSOLETE24

Definition at line 659 of file curl.h.

◆ CURLE_OBSOLETE

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

Definition at line 649 of file curl.h.

◆ CURLE_OBSOLETE10

#define CURLE_OBSOLETE10   CURLE_FTP_ACCEPT_FAILED

Definition at line 627 of file curl.h.

◆ CURLE_OBSOLETE12

#define CURLE_OBSOLETE12   CURLE_FTP_ACCEPT_TIMEOUT

Definition at line 628 of file curl.h.

◆ CURLE_OBSOLETE16

#define CURLE_OBSOLETE16   CURLE_HTTP2

Definition at line 624 of file curl.h.

◆ CURLE_OPERATION_TIMEOUTED

#define CURLE_OPERATION_TIMEOUTED   CURLE_OPERATION_TIMEDOUT

Definition at line 673 of file curl.h.

◆ CURLE_SHARE_IN_USE

#define CURLE_SHARE_IN_USE   CURLE_OBSOLETE57

Definition at line 660 of file curl.h.

◆ CURLE_SSL_CACERT

#define CURLE_SSL_CACERT   CURLE_PEER_FAILED_VERIFICATION

Definition at line 635 of file curl.h.

◆ CURLE_SSL_PEER_CERTIFICATE

#define CURLE_SSL_PEER_CERTIFICATE   CURLE_PEER_FAILED_VERIFICATION

Definition at line 645 of file curl.h.

◆ CURLE_TELNET_OPTION_SYNTAX

#define CURLE_TELNET_OPTION_SYNTAX   CURLE_SETOPT_OPTION_SYNTAX

Definition at line 641 of file curl.h.

◆ CURLE_TFTP_DISKFULL

#define CURLE_TFTP_DISKFULL   CURLE_REMOTE_DISK_FULL

Definition at line 666 of file curl.h.

◆ CURLE_TFTP_EXISTS

#define CURLE_TFTP_EXISTS   CURLE_REMOTE_FILE_EXISTS

Definition at line 667 of file curl.h.

◆ CURLE_UNKNOWN_TELNET_OPTION

#define CURLE_UNKNOWN_TELNET_OPTION   CURLE_UNKNOWN_OPTION

Definition at line 638 of file curl.h.

◆ CURLE_URL_MALFORMAT_USER

#define CURLE_URL_MALFORMAT_USER   CURLE_NOT_BUILT_IN

Definition at line 661 of file curl.h.

◆ CURLFINFOFLAG_KNOWN_FILENAME

#define CURLFINFOFLAG_KNOWN_FILENAME   (1<<0)

Definition at line 281 of file curl.h.

◆ CURLFINFOFLAG_KNOWN_FILETYPE

#define CURLFINFOFLAG_KNOWN_FILETYPE   (1<<1)

Definition at line 282 of file curl.h.

◆ CURLFINFOFLAG_KNOWN_GID

#define CURLFINFOFLAG_KNOWN_GID   (1<<5)

Definition at line 286 of file curl.h.

◆ CURLFINFOFLAG_KNOWN_HLINKCOUNT

#define CURLFINFOFLAG_KNOWN_HLINKCOUNT   (1<<7)

Definition at line 288 of file curl.h.

◆ CURLFINFOFLAG_KNOWN_PERM

#define CURLFINFOFLAG_KNOWN_PERM   (1<<3)

Definition at line 284 of file curl.h.

◆ CURLFINFOFLAG_KNOWN_SIZE

#define CURLFINFOFLAG_KNOWN_SIZE   (1<<6)

Definition at line 287 of file curl.h.

◆ CURLFINFOFLAG_KNOWN_TIME

#define CURLFINFOFLAG_KNOWN_TIME   (1<<2)

Definition at line 283 of file curl.h.

◆ CURLFINFOFLAG_KNOWN_UID

#define CURLFINFOFLAG_KNOWN_UID   (1<<4)

Definition at line 285 of file curl.h.

◆ CURLFTPSSL_ALL

#define CURLFTPSSL_ALL   CURLUSESSL_ALL

Definition at line 928 of file curl.h.

◆ CURLFTPSSL_CONTROL

#define CURLFTPSSL_CONTROL   CURLUSESSL_CONTROL

Definition at line 927 of file curl.h.

◆ CURLFTPSSL_LAST

#define CURLFTPSSL_LAST   CURLUSESSL_LAST

Definition at line 929 of file curl.h.

◆ CURLFTPSSL_NONE

#define CURLFTPSSL_NONE   CURLUSESSL_NONE

Definition at line 925 of file curl.h.

◆ CURLFTPSSL_TRY

#define CURLFTPSSL_TRY   CURLUSESSL_TRY

Definition at line 926 of file curl.h.

◆ CURLGSSAPI_DELEGATION_FLAG

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

Definition at line 813 of file curl.h.

◆ CURLGSSAPI_DELEGATION_NONE

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

Definition at line 811 of file curl.h.

◆ CURLGSSAPI_DELEGATION_POLICY_FLAG

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

Definition at line 812 of file curl.h.

◆ CURLHEADER_SEPARATE

#define CURLHEADER_SEPARATE   (1<<0)

Definition at line 971 of file curl.h.

◆ CURLHEADER_UNIFIED

#define CURLHEADER_UNIFIED   0

Definition at line 970 of file curl.h.

◆ CURLHSTS_ENABLE

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

Definition at line 1007 of file curl.h.

◆ CURLHSTS_READONLYFILE

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

Definition at line 1008 of file curl.h.

◆ CURLINFO_DOUBLE

#define CURLINFO_DOUBLE   0x300000

Definition at line 2745 of file curl.h.

◆ CURLINFO_HTTP_CODE

#define CURLINFO_HTTP_CODE   CURLINFO_RESPONSE_CODE

Definition at line 2829 of file curl.h.

◆ CURLINFO_LONG

#define CURLINFO_LONG   0x200000

Definition at line 2744 of file curl.h.

◆ CURLINFO_MASK

#define CURLINFO_MASK   0x0fffff

Definition at line 2750 of file curl.h.

◆ CURLINFO_OFF_T

#define CURLINFO_OFF_T   0x600000

Definition at line 2749 of file curl.h.

◆ CURLINFO_PTR

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

Definition at line 2747 of file curl.h.

◆ CURLINFO_SLIST

#define CURLINFO_SLIST   0x400000

Definition at line 2746 of file curl.h.

◆ CURLINFO_SOCKET

#define CURLINFO_SOCKET   0x500000

Definition at line 2748 of file curl.h.

◆ CURLINFO_STRING

#define CURLINFO_STRING   0x100000

Definition at line 2743 of file curl.h.

◆ CURLINFO_TYPEMASK

#define CURLINFO_TYPEMASK   0xf00000

Definition at line 2751 of file curl.h.

◆ CURLMIMEOPT_FORMESCAPE

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

Definition at line 2303 of file curl.h.

◆ CURLOPT

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

Definition at line 1055 of file curl.h.

◆ CURLOPT_CLOSEPOLICY

#define CURLOPT_CLOSEPOLICY   CURLOPT_OBSOLETE72

Definition at line 695 of file curl.h.

◆ CURLOPT_ENCODING

#define CURLOPT_ENCODING   CURLOPT_ACCEPT_ENCODING

Definition at line 631 of file curl.h.

◆ CURLOPT_FILE

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

Definition at line 688 of file curl.h.

◆ CURLOPT_FTP_SSL

#define CURLOPT_FTP_SSL   CURLOPT_USE_SSL

Definition at line 2162 of file curl.h.

◆ CURLOPT_FTPAPPEND

#define CURLOPT_FTPAPPEND   CURLOPT_APPEND

Definition at line 2160 of file curl.h.

◆ CURLOPT_FTPLISTONLY

#define CURLOPT_FTPLISTONLY   CURLOPT_DIRLISTONLY

Definition at line 2161 of file curl.h.

◆ CURLOPT_INFILE

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

Definition at line 689 of file curl.h.

◆ CURLOPT_KRB4LEVEL

#define CURLOPT_KRB4LEVEL   CURLOPT_KRBLEVEL

Definition at line 2167 of file curl.h.

◆ CURLOPT_POST301

#define CURLOPT_POST301   CURLOPT_POSTREDIR

Definition at line 2154 of file curl.h.

◆ CURLOPT_PROGRESSDATA

#define CURLOPT_PROGRESSDATA   CURLOPT_XFERINFODATA

Definition at line 1272 of file curl.h.

◆ CURLOPT_RTSPHEADER

#define CURLOPT_RTSPHEADER   CURLOPT_HTTPHEADER

Definition at line 2183 of file curl.h.

◆ CURLOPT_SERVER_RESPONSE_TIMEOUT

#define CURLOPT_SERVER_RESPONSE_TIMEOUT   CURLOPT_FTP_RESPONSE_TIMEOUT

Definition at line 1481 of file curl.h.

◆ CURLOPT_SSLCERTPASSWD

#define CURLOPT_SSLCERTPASSWD   CURLOPT_KEYPASSWD

Definition at line 2166 of file curl.h.

◆ CURLOPT_SSLKEYPASSWD

#define CURLOPT_SSLKEYPASSWD   CURLOPT_KEYPASSWD

Definition at line 2159 of file curl.h.

◆ CURLOPT_WRITEHEADER

#define CURLOPT_WRITEHEADER   CURLOPT_HEADERDATA

Definition at line 690 of file curl.h.

◆ CURLOPT_WRITEINFO

#define CURLOPT_WRITEINFO   CURLOPT_OBSOLETE40

Definition at line 694 of file curl.h.

◆ CURLOPTTYPE_BLOB

#define CURLOPTTYPE_BLOB   40000

Definition at line 1049 of file curl.h.

◆ CURLOPTTYPE_CBPOINT

#define CURLOPTTYPE_CBPOINT   CURLOPTTYPE_OBJECTPOINT

Definition at line 1066 of file curl.h.

◆ CURLOPTTYPE_FUNCTIONPOINT

#define CURLOPTTYPE_FUNCTIONPOINT   20000

Definition at line 1047 of file curl.h.

◆ CURLOPTTYPE_LONG

#define CURLOPTTYPE_LONG   0

Definition at line 1045 of file curl.h.

◆ CURLOPTTYPE_OBJECTPOINT

#define CURLOPTTYPE_OBJECTPOINT   10000

Definition at line 1046 of file curl.h.

◆ CURLOPTTYPE_OFF_T

#define CURLOPTTYPE_OFF_T   30000

Definition at line 1048 of file curl.h.

◆ CURLOPTTYPE_SLISTPOINT

#define CURLOPTTYPE_SLISTPOINT   CURLOPTTYPE_OBJECTPOINT

Definition at line 1063 of file curl.h.

◆ CURLOPTTYPE_STRINGPOINT

#define CURLOPTTYPE_STRINGPOINT   CURLOPTTYPE_OBJECTPOINT

Definition at line 1060 of file curl.h.

◆ CURLOPTTYPE_VALUES

#define CURLOPTTYPE_VALUES   CURLOPTTYPE_LONG

Definition at line 1069 of file curl.h.

◆ CURLPAUSE_ALL

#define CURLPAUSE_ALL   (CURLPAUSE_RECV|CURLPAUSE_SEND)

Definition at line 3076 of file curl.h.

◆ CURLPAUSE_CONT

Definition at line 3077 of file curl.h.

◆ CURLPAUSE_RECV

#define CURLPAUSE_RECV   (1<<0)

Definition at line 3070 of file curl.h.

◆ CURLPAUSE_RECV_CONT

#define CURLPAUSE_RECV_CONT   (0)

Definition at line 3071 of file curl.h.

◆ CURLPAUSE_SEND

#define CURLPAUSE_SEND   (1<<2)

Definition at line 3073 of file curl.h.

◆ CURLPAUSE_SEND_CONT

#define CURLPAUSE_SEND_CONT   (0)

Definition at line 3074 of file curl.h.

◆ CURLPROTO_ALL

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

Definition at line 1041 of file curl.h.

◆ CURLPROTO_DICT

#define CURLPROTO_DICT   (1<<9)

Definition at line 1020 of file curl.h.

◆ CURLPROTO_FILE

#define CURLPROTO_FILE   (1<<10)

Definition at line 1021 of file curl.h.

◆ CURLPROTO_FTP

#define CURLPROTO_FTP   (1<<2)

Definition at line 1013 of file curl.h.

◆ CURLPROTO_FTPS

#define CURLPROTO_FTPS   (1<<3)

Definition at line 1014 of file curl.h.

◆ CURLPROTO_GOPHER

#define CURLPROTO_GOPHER   (1<<25)

Definition at line 1036 of file curl.h.

◆ CURLPROTO_GOPHERS

#define CURLPROTO_GOPHERS   (1<<29)

Definition at line 1040 of file curl.h.

◆ CURLPROTO_HTTP

#define CURLPROTO_HTTP   (1<<0)

Definition at line 1011 of file curl.h.

◆ CURLPROTO_HTTPS

#define CURLPROTO_HTTPS   (1<<1)

Definition at line 1012 of file curl.h.

◆ CURLPROTO_IMAP

#define CURLPROTO_IMAP   (1<<12)

Definition at line 1023 of file curl.h.

◆ CURLPROTO_IMAPS

#define CURLPROTO_IMAPS   (1<<13)

Definition at line 1024 of file curl.h.

◆ CURLPROTO_LDAP

#define CURLPROTO_LDAP   (1<<7)

Definition at line 1018 of file curl.h.

◆ CURLPROTO_LDAPS

#define CURLPROTO_LDAPS   (1<<8)

Definition at line 1019 of file curl.h.

◆ CURLPROTO_MQTT

#define CURLPROTO_MQTT   (1<<28)

Definition at line 1039 of file curl.h.

◆ CURLPROTO_POP3

#define CURLPROTO_POP3   (1<<14)

Definition at line 1025 of file curl.h.

◆ CURLPROTO_POP3S

#define CURLPROTO_POP3S   (1<<15)

Definition at line 1026 of file curl.h.

◆ CURLPROTO_RTMP

#define CURLPROTO_RTMP   (1<<19)

Definition at line 1030 of file curl.h.

◆ CURLPROTO_RTMPE

#define CURLPROTO_RTMPE   (1<<21)

Definition at line 1032 of file curl.h.

◆ CURLPROTO_RTMPS

#define CURLPROTO_RTMPS   (1<<23)

Definition at line 1034 of file curl.h.

◆ CURLPROTO_RTMPT

#define CURLPROTO_RTMPT   (1<<20)

Definition at line 1031 of file curl.h.

◆ CURLPROTO_RTMPTE

#define CURLPROTO_RTMPTE   (1<<22)

Definition at line 1033 of file curl.h.

◆ CURLPROTO_RTMPTS

#define CURLPROTO_RTMPTS   (1<<24)

Definition at line 1035 of file curl.h.

◆ CURLPROTO_RTSP

#define CURLPROTO_RTSP   (1<<18)

Definition at line 1029 of file curl.h.

◆ CURLPROTO_SCP

#define CURLPROTO_SCP   (1<<4)

Definition at line 1015 of file curl.h.

◆ CURLPROTO_SFTP

#define CURLPROTO_SFTP   (1<<5)

Definition at line 1016 of file curl.h.

◆ CURLPROTO_SMB

#define CURLPROTO_SMB   (1<<26)

Definition at line 1037 of file curl.h.

◆ CURLPROTO_SMBS

#define CURLPROTO_SMBS   (1<<27)

Definition at line 1038 of file curl.h.

◆ CURLPROTO_SMTP

#define CURLPROTO_SMTP   (1<<16)

Definition at line 1027 of file curl.h.

◆ CURLPROTO_SMTPS

#define CURLPROTO_SMTPS   (1<<17)

Definition at line 1028 of file curl.h.

◆ CURLPROTO_TELNET

#define CURLPROTO_TELNET   (1<<6)

Definition at line 1017 of file curl.h.

◆ CURLPROTO_TFTP

#define CURLPROTO_TFTP   (1<<11)

Definition at line 1022 of file curl.h.

◆ CURLSSH_AUTH_AGENT

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

Definition at line 807 of file curl.h.

◆ CURLSSH_AUTH_ANY

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

Definition at line 801 of file curl.h.

◆ CURLSSH_AUTH_DEFAULT

#define CURLSSH_AUTH_DEFAULT   CURLSSH_AUTH_ANY

Definition at line 809 of file curl.h.

◆ CURLSSH_AUTH_GSSAPI

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

Definition at line 808 of file curl.h.

◆ CURLSSH_AUTH_HOST

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

Definition at line 805 of file curl.h.

◆ CURLSSH_AUTH_KEYBOARD

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

Definition at line 806 of file curl.h.

◆ CURLSSH_AUTH_NONE

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

Definition at line 802 of file curl.h.

◆ CURLSSH_AUTH_PASSWORD

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

Definition at line 804 of file curl.h.

◆ CURLSSH_AUTH_PUBLICKEY

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

Definition at line 803 of file curl.h.

◆ CURLSSLBACKEND_BORINGSSL

#define CURLSSLBACKEND_BORINGSSL   CURLSSLBACKEND_OPENSSL

Definition at line 160 of file curl.h.

◆ CURLSSLBACKEND_CYASSL

#define CURLSSLBACKEND_CYASSL   CURLSSLBACKEND_WOLFSSL

Definition at line 163 of file curl.h.

◆ CURLSSLBACKEND_DARWINSSL

#define CURLSSLBACKEND_DARWINSSL   CURLSSLBACKEND_SECURETRANSPORT

Definition at line 164 of file curl.h.

◆ CURLSSLBACKEND_LIBRESSL

#define CURLSSLBACKEND_LIBRESSL   CURLSSLBACKEND_OPENSSL

Definition at line 159 of file curl.h.

◆ CURLSSLOPT_ALLOW_BEAST

#define CURLSSLOPT_ALLOW_BEAST   (1<<0)

Definition at line 888 of file curl.h.

◆ CURLSSLOPT_AUTO_CLIENT_CERT

#define CURLSSLOPT_AUTO_CLIENT_CERT   (1<<5)

Definition at line 909 of file curl.h.

◆ CURLSSLOPT_NATIVE_CA

#define CURLSSLOPT_NATIVE_CA   (1<<4)

Definition at line 905 of file curl.h.

◆ CURLSSLOPT_NO_PARTIALCHAIN

#define CURLSSLOPT_NO_PARTIALCHAIN   (1<<2)

Definition at line 896 of file curl.h.

◆ CURLSSLOPT_NO_REVOKE

#define CURLSSLOPT_NO_REVOKE   (1<<1)

Definition at line 892 of file curl.h.

◆ CURLSSLOPT_REVOKE_BEST_EFFORT

#define CURLSSLOPT_REVOKE_BEST_EFFORT   (1<<3)

Definition at line 901 of file curl.h.

◆ CURLVERSION_NOW

#define CURLVERSION_NOW   CURLVERSION_TENTH

Definition at line 2936 of file curl.h.

Typedef Documentation

◆ CURL

typedef void CURL

Definition at line 103 of file curl.h.

◆ curl_calloc_callback

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

Definition at line 445 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 326 of file curl.h.

◆ curl_chunk_end_callback

typedef long(* curl_chunk_end_callback) (void *ptr)

Definition at line 340 of file curl.h.

◆ curl_closesocket_callback

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

Definition at line 414 of file curl.h.

◆ curl_conv_callback

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

Definition at line 742 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 462 of file curl.h.

◆ curl_fnmatch_callback

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

Definition at line 349 of file curl.h.

◆ curl_formget_callback

typedef size_t(* curl_formget_callback) (void *arg, const char *buf, size_t len)

Definition at line 2512 of file curl.h.

◆ curl_free_callback

typedef void(* curl_free_callback) (void *ptr)

Definition at line 442 of file curl.h.

◆ curl_hstsread_callback

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

Definition at line 998 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 1001 of file curl.h.

◆ curl_ioctl_callback

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

Definition at line 430 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 2879 of file curl.h.

◆ curl_malloc_callback

typedef void *(* curl_malloc_callback) (size_t size)

Definition at line 441 of file curl.h.

◆ curl_mime

Definition at line 2299 of file curl.h.

◆ curl_mimepart

Definition at line 2300 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 409 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 470 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 217 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 375 of file curl.h.

◆ curl_realloc_callback

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

Definition at line 443 of file curl.h.

◆ curl_resolver_start_callback

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

Definition at line 264 of file curl.h.

◆ curl_seek_callback

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

Definition at line 357 of file curl.h.

◆ curl_socket_t

typedef int curl_socket_t

Definition at line 133 of file curl.h.

◆ curl_sockopt_callback

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

Definition at line 395 of file curl.h.

◆ curl_sshhostkeycallback

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

Definition at line 862 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 854 of file curl.h.

◆ curl_ssl_backend

Definition at line 2683 of file curl.h.

◆ curl_ssl_ctx_callback

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

Definition at line 744 of file curl.h.

◆ curl_strdup_callback

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

Definition at line 444 of file curl.h.

◆ curl_trailer_callback

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

Definition at line 380 of file curl.h.

◆ curl_unlock_function

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

Definition at line 2883 of file curl.h.

◆ curl_version_info_data

Definition at line 2993 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 258 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 226 of file curl.h.

◆ CURLSH

typedef void CURLSH

Definition at line 104 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_LAST 

Definition at line 2186 of file curl.h.

2189 {
2190 CURL_HTTP_VERSION_NONE, /* setting this means we don't care, and that we'd
2191 like the library to choose the best possible
2192 for us! */
2193 CURL_HTTP_VERSION_1_0, /* please use HTTP 1.0 in the request */
2194 CURL_HTTP_VERSION_1_1, /* please use HTTP 1.1 in the request */
2195 CURL_HTTP_VERSION_2_0, /* please use HTTP 2 in the request */
2196 CURL_HTTP_VERSION_2TLS, /* use version 2 for HTTPS, version 1.1 for HTTP */
2197 CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE, /* please use HTTP 2 without HTTP/1.1
2198 Upgrade */
2199 CURL_HTTP_VERSION_3 = 30, /* Makes use of explicit HTTP/3 without fallback.
@ CURL_HTTP_VERSION_2TLS
Definition: curl.h:2193
@ CURL_HTTP_VERSION_3
Definition: curl.h:2196
@ CURL_HTTP_VERSION_1_1
Definition: curl.h:2191
@ CURL_HTTP_VERSION_NONE
Definition: curl.h:2187
@ CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE
Definition: curl.h:2194
@ CURL_HTTP_VERSION_1_0
Definition: curl.h:2190
@ CURL_HTTP_VERSION_2_0
Definition: curl.h:2192

◆ 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 2209 of file curl.h.

2212 {
2213 CURL_RTSPREQ_NONE, /* first in list */
@ CURL_RTSPREQ_ANNOUNCE
Definition: curl.h:2213
@ CURL_RTSPREQ_RECORD
Definition: curl.h:2220
@ CURL_RTSPREQ_NONE
Definition: curl.h:2210
@ CURL_RTSPREQ_PAUSE
Definition: curl.h:2216
@ CURL_RTSPREQ_OPTIONS
Definition: curl.h:2211
@ CURL_RTSPREQ_SET_PARAMETER
Definition: curl.h:2219
@ CURL_RTSPREQ_TEARDOWN
Definition: curl.h:2217
@ CURL_RTSPREQ_PLAY
Definition: curl.h:2215
@ CURL_RTSPREQ_GET_PARAMETER
Definition: curl.h:2218
@ CURL_RTSPREQ_SETUP
Definition: curl.h:2214
@ CURL_RTSPREQ_DESCRIBE
Definition: curl.h:2212

◆ anonymous enum

anonymous enum
Enumerator
CURL_SSLVERSION_DEFAULT 
CURL_SSLVERSION_TLSv1 
CURL_SSLVERSION_SSLv2 
CURL_SSLVERSION_SSLv3 
CURL_SSLVERSION_TLSv1_0 
CURL_SSLVERSION_TLSv1_1 
CURL_SSLVERSION_TLSv1_2 
CURL_SSLVERSION_TLSv1_3 
CURL_SSLVERSION_LAST 

Definition at line 2237 of file curl.h.

2240 {
2242 CURL_SSLVERSION_TLSv1, /* TLS 1.x */
@ CURL_SSLVERSION_DEFAULT
Definition: curl.h:2238
@ CURL_SSLVERSION_SSLv2
Definition: curl.h:2240
@ CURL_SSLVERSION_SSLv3
Definition: curl.h:2241
@ CURL_SSLVERSION_TLSv1_1
Definition: curl.h:2243
@ CURL_SSLVERSION_TLSv1_3
Definition: curl.h:2245
@ CURL_SSLVERSION_TLSv1_0
Definition: curl.h:2242
@ CURL_SSLVERSION_TLSv1_2
Definition: curl.h:2244
@ CURL_SSLVERSION_TLSv1
Definition: curl.h:2239

◆ anonymous enum

anonymous enum
Enumerator
CURL_SSLVERSION_MAX_NONE 
CURL_SSLVERSION_MAX_DEFAULT 
CURL_SSLVERSION_MAX_TLSv1_0 
CURL_SSLVERSION_MAX_TLSv1_1 
CURL_SSLVERSION_MAX_TLSv1_2 
CURL_SSLVERSION_MAX_TLSv1_3 
CURL_SSLVERSION_MAX_LAST 

Definition at line 2250 of file curl.h.

2253 {
2260
@ CURL_SSLVERSION_MAX_DEFAULT
Definition: curl.h:2252
@ CURL_SSLVERSION_MAX_TLSv1_0
Definition: curl.h:2253
@ CURL_SSLVERSION_MAX_TLSv1_3
Definition: curl.h:2256
@ CURL_SSLVERSION_MAX_TLSv1_1
Definition: curl.h:2254
@ CURL_SSLVERSION_MAX_TLSv1_2
Definition: curl.h:2255
@ CURL_SSLVERSION_MAX_NONE
Definition: curl.h:2251

◆ curl_closepolicy

Enumerator
CURLCLOSEPOLICY_NONE 
CURLCLOSEPOLICY_OLDEST 
CURLCLOSEPOLICY_LEAST_RECENTLY_USED 
CURLCLOSEPOLICY_LEAST_TRAFFIC 
CURLCLOSEPOLICY_SLOWEST 
CURLCLOSEPOLICY_CALLBACK 
CURLCLOSEPOLICY_LAST 

Definition at line 2831 of file curl.h.

2834 {
2835 CURLCLOSEPOLICY_NONE, /* first, never use this */
2836
@ CURLCLOSEPOLICY_CALLBACK
Definition: curl.h:2838
@ CURLCLOSEPOLICY_SLOWEST
Definition: curl.h:2837
@ CURLCLOSEPOLICY_OLDEST
Definition: curl.h:2834
@ CURLCLOSEPOLICY_NONE
Definition: curl.h:2832
@ CURLCLOSEPOLICY_LEAST_TRAFFIC
Definition: curl.h:2836
@ CURLCLOSEPOLICY_LEAST_RECENTLY_USED
Definition: curl.h:2835

◆ curl_ftpauth

Enumerator
CURLFTPAUTH_DEFAULT 
CURLFTPAUTH_SSL 
CURLFTPAUTH_TLS 
CURLFTPAUTH_LAST 

Definition at line 942 of file curl.h.

944 {
945 CURLFTPAUTH_DEFAULT, /* let libcurl decide */
946 CURLFTPAUTH_SSL, /* use "AUTH SSL" */
947 CURLFTPAUTH_TLS, /* use "AUTH TLS" */
@ CURLFTPAUTH_DEFAULT
Definition: curl.h:943
@ CURLFTPAUTH_SSL
Definition: curl.h:944
@ CURLFTPAUTH_TLS
Definition: curl.h:945

◆ curl_ftpccc

CURL_NO_OLDIES

Enumerator
CURLFTPSSL_CCC_NONE 
CURLFTPSSL_CCC_PASSIVE 
CURLFTPSSL_CCC_ACTIVE 
CURLFTPSSL_CCC_LAST 

Definition at line 934 of file curl.h.

936 {
937 CURLFTPSSL_CCC_NONE, /* do not send CCC */
938 CURLFTPSSL_CCC_PASSIVE, /* Let the server initiate the shutdown */
939 CURLFTPSSL_CCC_ACTIVE, /* Initiate the shutdown */
@ CURLFTPSSL_CCC_PASSIVE
Definition: curl.h:936
@ CURLFTPSSL_CCC_ACTIVE
Definition: curl.h:937
@ CURLFTPSSL_CCC_NONE
Definition: curl.h:935

◆ curl_ftpcreatedir

Enumerator
CURLFTP_CREATE_DIR_NONE 
CURLFTP_CREATE_DIR 
CURLFTP_CREATE_DIR_RETRY 
CURLFTP_CREATE_DIR_LAST 

Definition at line 950 of file curl.h.

952 {
953 CURLFTP_CREATE_DIR_NONE, /* do NOT create missing dirs! */
954 CURLFTP_CREATE_DIR, /* (FTP/SFTP) if CWD fails, try MKD and then CWD
955 again if MKD succeeded, for SFTP this does
956 similar magic */
957 CURLFTP_CREATE_DIR_RETRY, /* (FTP only) if CWD fails, try MKD and then CWD
958 again even if MKD failed! */
@ CURLFTP_CREATE_DIR
Definition: curl.h:952
@ CURLFTP_CREATE_DIR_RETRY
Definition: curl.h:955
@ CURLFTP_CREATE_DIR_NONE
Definition: curl.h:951

◆ curl_ftpmethod

Enumerator
CURLFTPMETHOD_DEFAULT 
CURLFTPMETHOD_MULTICWD 
CURLFTPMETHOD_NOCWD 
CURLFTPMETHOD_SINGLECWD 
CURLFTPMETHOD_LAST 

Definition at line 961 of file curl.h.

963 {
964 CURLFTPMETHOD_DEFAULT, /* let libcurl pick */
965 CURLFTPMETHOD_MULTICWD, /* single CWD operation for each path part */
966 CURLFTPMETHOD_NOCWD, /* no CWD at all */
967 CURLFTPMETHOD_SINGLECWD, /* one CWD to full dir, then work on file */
@ CURLFTPMETHOD_SINGLECWD
Definition: curl.h:965
@ CURLFTPMETHOD_MULTICWD
Definition: curl.h:963
@ CURLFTPMETHOD_NOCWD
Definition: curl.h:964
@ CURLFTPMETHOD_DEFAULT
Definition: curl.h:962

◆ 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 451 of file curl.h.

453 {
454 CURLINFO_TEXT = 0,
455 CURLINFO_HEADER_IN, /* 1 */
456 CURLINFO_HEADER_OUT, /* 2 */
457 CURLINFO_DATA_IN, /* 3 */
458 CURLINFO_DATA_OUT, /* 4 */
459 CURLINFO_SSL_DATA_IN, /* 5 */
460 CURLINFO_SSL_DATA_OUT, /* 6 */
@ CURLINFO_SSL_DATA_OUT
Definition: curl.h:458
@ CURLINFO_HEADER_OUT
Definition: curl.h:454
@ CURLINFO_DATA_IN
Definition: curl.h:455
@ CURLINFO_TEXT
Definition: curl.h:452
@ CURLINFO_DATA_OUT
Definition: curl.h:456
@ CURLINFO_HEADER_IN
Definition: curl.h:453
@ CURLINFO_SSL_DATA_IN
Definition: curl.h:457

◆ curl_khmatch

Enumerator
CURLKHMATCH_OK 
CURLKHMATCH_MISMATCH 
CURLKHMATCH_MISSING 
CURLKHMATCH_LAST 

Definition at line 847 of file curl.h.

849 {
850 CURLKHMATCH_OK, /* match */
851 CURLKHMATCH_MISMATCH, /* host found, key mismatch! */
852 CURLKHMATCH_MISSING, /* no matching host/key found */
@ CURLKHMATCH_OK
Definition: curl.h:848
@ CURLKHMATCH_MISSING
Definition: curl.h:850
@ CURLKHMATCH_MISMATCH
Definition: curl.h:849

◆ curl_khstat

Enumerator
CURLKHSTAT_FINE_ADD_TO_FILE 
CURLKHSTAT_FINE 
CURLKHSTAT_REJECT 
CURLKHSTAT_DEFER 
CURLKHSTAT_FINE_REPLACE 
CURLKHSTAT_LAST 

Definition at line 835 of file curl.h.

837 {
840 CURLKHSTAT_REJECT, /* reject the connection, return an error */
841 CURLKHSTAT_DEFER, /* do not accept it, but we can't answer right now so
842 this causes a CURLE_DEFER error but otherwise the
843 connection will be left intact etc */
844 CURLKHSTAT_FINE_REPLACE, /* accept and replace the wrong key*/
@ CURLKHSTAT_FINE
Definition: curl.h:837
@ CURLKHSTAT_REJECT
Definition: curl.h:838
@ CURLKHSTAT_FINE_ADD_TO_FILE
Definition: curl.h:836
@ CURLKHSTAT_FINE_REPLACE
Definition: curl.h:842
@ CURLKHSTAT_DEFER
Definition: curl.h:839

◆ curl_khtype

Enumerator
CURLKHTYPE_UNKNOWN 
CURLKHTYPE_RSA1 
CURLKHTYPE_RSA 
CURLKHTYPE_DSS 
CURLKHTYPE_ECDSA 
CURLKHTYPE_ED25519 

Definition at line 817 of file curl.h.

819 {
@ CURLKHTYPE_ECDSA
Definition: curl.h:822
@ CURLKHTYPE_DSS
Definition: curl.h:821
@ CURLKHTYPE_RSA1
Definition: curl.h:819
@ CURLKHTYPE_RSA
Definition: curl.h:820
@ CURLKHTYPE_UNKNOWN
Definition: curl.h:818

◆ curl_lock_access

Enumerator
CURL_LOCK_ACCESS_NONE 
CURL_LOCK_ACCESS_SHARED 
CURL_LOCK_ACCESS_SINGLE 
CURL_LOCK_ACCESS_LAST 

Definition at line 2872 of file curl.h.

2875 {
2876 CURL_LOCK_ACCESS_NONE = 0, /* unspecified action */
2877 CURL_LOCK_ACCESS_SHARED = 1, /* for read perhaps */
@ CURL_LOCK_ACCESS_SHARED
Definition: curl.h:2874
@ CURL_LOCK_ACCESS_NONE
Definition: curl.h:2873

◆ 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_LAST 

Definition at line 2856 of file curl.h.

2859 {
2861 /* CURL_LOCK_DATA_SHARE is used internally to say that
2862 * the locking is just made to change the internal state of the share
2863 * itself.
2864 */
@ CURL_LOCK_DATA_COOKIE
Definition: curl.h:2863
@ CURL_LOCK_DATA_SHARE
Definition: curl.h:2862
@ CURL_LOCK_DATA_CONNECT
Definition: curl.h:2866
@ CURL_LOCK_DATA_NONE
Definition: curl.h:2857
@ CURL_LOCK_DATA_DNS
Definition: curl.h:2864
@ CURL_LOCK_DATA_SSL_SESSION
Definition: curl.h:2865

◆ CURL_NETRC_OPTION

Enumerator
CURL_NETRC_IGNORED 
CURL_NETRC_OPTIONAL 
CURL_NETRC_REQUIRED 
CURL_NETRC_LAST 

Definition at line 2226 of file curl.h.

2229 {
2230 CURL_NETRC_IGNORED, /* The .netrc will never be read.
2231 * This is the default. */
2232 CURL_NETRC_OPTIONAL, /* A user:password in the URL will be preferred
2233 * to one in the .netrc. */
2234 CURL_NETRC_REQUIRED, /* A user:password in the URL will be ignored.
2235 * Unless one is set programmatically, the .netrc
@ CURL_NETRC_OPTIONAL
Definition: curl.h:2229
@ CURL_NETRC_REQUIRED
Definition: curl.h:2231
@ CURL_NETRC_IGNORED
Definition: curl.h:2227

◆ curl_proxytype

Enumerator
CURLPROXY_HTTP 
CURLPROXY_HTTP_1_0 
CURLPROXY_HTTPS 
CURLPROXY_SOCKS4 
CURLPROXY_SOCKS5 
CURLPROXY_SOCKS4A 
CURLPROXY_SOCKS5_HOSTNAME 

Definition at line 751 of file curl.h.

753 {
754 CURLPROXY_HTTP = 0, /* added in 7.10, new in 7.19.4 default is to use
755 CONNECT HTTP/1.1 */
756 CURLPROXY_HTTP_1_0 = 1, /* added in 7.19.4, force to use CONNECT
757 HTTP/1.0 */
758 CURLPROXY_HTTPS = 2, /* added in 7.52.0 */
759 CURLPROXY_SOCKS4 = 4, /* support added in 7.15.2, enum existed already
760 in 7.10 */
761 CURLPROXY_SOCKS5 = 5, /* added in 7.10 */
762 CURLPROXY_SOCKS4A = 6, /* added in 7.18.0 */
763 CURLPROXY_SOCKS5_HOSTNAME = 7 /* Use the SOCKS5 protocol but pass along the
764 host name rather than the IP address. added
@ CURLPROXY_SOCKS5
Definition: curl.h:759
@ CURLPROXY_SOCKS4
Definition: curl.h:757
@ CURLPROXY_SOCKS4A
Definition: curl.h:760
@ CURLPROXY_HTTP_1_0
Definition: curl.h:754
@ CURLPROXY_HTTP
Definition: curl.h:752
@ CURLPROXY_SOCKS5_HOSTNAME
Definition: curl.h:761
@ CURLPROXY_HTTPS
Definition: curl.h:756

◆ curl_sslbackend

Enumerator
CURLSSLBACKEND_NONE 
CURLSSLBACKEND_OPENSSL 
CURLSSLBACKEND_GNUTLS 
CURLSSLBACKEND_NSS 
CURLSSLBACKEND_OBSOLETE4 
CURLSSLBACKEND_GSKIT 
CURLSSLBACKEND_POLARSSL 
CURLSSLBACKEND_WOLFSSL 
CURLSSLBACKEND_SCHANNEL 
CURLSSLBACKEND_SECURETRANSPORT 
CURLSSLBACKEND_AXTLS 
CURLSSLBACKEND_MBEDTLS 
CURLSSLBACKEND_MESALINK 
CURLSSLBACKEND_BEARSSL 
CURLSSLBACKEND_RUSTLS 

Definition at line 140 of file curl.h.

140 {
145 CURLSSLBACKEND_OBSOLETE4 = 4, /* Was QSOSSL. */
151 CURLSSLBACKEND_AXTLS = 10, /* never used since 7.63.0 */
curl_sslbackend
Definition: curl.h:140
@ CURLSSLBACKEND_GNUTLS
Definition: curl.h:143
@ CURLSSLBACKEND_NONE
Definition: curl.h:141
@ CURLSSLBACKEND_MBEDTLS
Definition: curl.h:152
@ CURLSSLBACKEND_MESALINK
Definition: curl.h:153
@ CURLSSLBACKEND_RUSTLS
Definition: curl.h:155
@ CURLSSLBACKEND_NSS
Definition: curl.h:144
@ CURLSSLBACKEND_GSKIT
Definition: curl.h:146
@ CURLSSLBACKEND_WOLFSSL
Definition: curl.h:148
@ CURLSSLBACKEND_POLARSSL
Definition: curl.h:147
@ CURLSSLBACKEND_BEARSSL
Definition: curl.h:154
@ CURLSSLBACKEND_SECURETRANSPORT
Definition: curl.h:150
@ CURLSSLBACKEND_OBSOLETE4
Definition: curl.h:145
@ CURLSSLBACKEND_OPENSSL
Definition: curl.h:142
@ CURLSSLBACKEND_AXTLS
Definition: curl.h:151
@ CURLSSLBACKEND_SCHANNEL
Definition: curl.h:149

◆ curl_TimeCond

Enumerator
CURL_TIMECOND_NONE 
CURL_TIMECOND_IFMODSINCE 
CURL_TIMECOND_IFUNMODSINCE 
CURL_TIMECOND_LASTMOD 
CURL_TIMECOND_LAST 

Definition at line 2280 of file curl.h.

2283 {
2285
@ CURL_TIMECOND_LASTMOD
Definition: curl.h:2285
@ CURL_TIMECOND_IFUNMODSINCE
Definition: curl.h:2284
@ CURL_TIMECOND_IFMODSINCE
Definition: curl.h:2283
@ CURL_TIMECOND_NONE
Definition: curl.h:2281

◆ CURL_TLSAUTH

Enumerator
CURL_TLSAUTH_NONE 
CURL_TLSAUTH_SRP 
CURL_TLSAUTH_LAST 

Definition at line 2262 of file curl.h.

2265 {
@ CURL_TLSAUTH_NONE
Definition: curl.h:2263

◆ curl_usessl

Enumerator
CURLUSESSL_NONE 
CURLUSESSL_TRY 
CURLUSESSL_CONTROL 
CURLUSESSL_ALL 
CURLUSESSL_LAST 

Definition at line 873 of file curl.h.

875 {
876 CURLUSESSL_NONE, /* do not attempt to use SSL */
877 CURLUSESSL_TRY, /* try using SSL, proceed anyway otherwise */
878 CURLUSESSL_CONTROL, /* SSL for the control connection or fail */
879 CURLUSESSL_ALL, /* SSL for all communication or fail */
@ CURLUSESSL_TRY
Definition: curl.h:875
@ CURLUSESSL_CONTROL
Definition: curl.h:876
@ CURLUSESSL_NONE
Definition: curl.h:874
@ CURLUSESSL_ALL
Definition: curl.h:877

◆ 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_HTTP_POST_ERROR 
CURLE_SSL_CONNECT_ERROR 
CURLE_BAD_DOWNLOAD_RESUME 
CURLE_FILE_COULDNT_READ_FILE 
CURLE_LDAP_CANNOT_BIND 
CURLE_LDAP_SEARCH_FAILED 
CURLE_OBSOLETE40 
CURLE_FUNCTION_NOT_FOUND 
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_CONV_FAILED 
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 
CURL_LAST 

Definition at line 490 of file curl.h.

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

◆ 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 268 of file curl.h.

268 {
276 CURLFILETYPE_DOOR, /* is possible only on Sun Solaris now */
277
278 CURLFILETYPE_UNKNOWN /* should never occur */
curlfiletype
Definition: curl.h:268
@ CURLFILETYPE_DOOR
Definition: curl.h:276
@ CURLFILETYPE_SOCKET
Definition: curl.h:275
@ CURLFILETYPE_DEVICE_CHAR
Definition: curl.h:273
@ CURLFILETYPE_FILE
Definition: curl.h:269
@ CURLFILETYPE_DIRECTORY
Definition: curl.h:270
@ CURLFILETYPE_NAMEDPIPE
Definition: curl.h:274
@ CURLFILETYPE_DEVICE_BLOCK
Definition: curl.h:272
@ CURLFILETYPE_UNKNOWN
Definition: curl.h:278
@ CURLFILETYPE_SYMLINK
Definition: curl.h:271

◆ CURLFORMcode

Enumerator
CURL_FORMADD_OK 
CURL_FORMADD_MEMORY 
CURL_FORMADD_OPTION_TWICE 
CURL_FORMADD_NULL 
CURL_FORMADD_UNKNOWN_OPTION 
CURL_FORMADD_INCOMPLETE 
CURL_FORMADD_ILLEGAL_ARRAY 
CURL_FORMADD_DISABLED 
CURL_FORMADD_LAST 

Definition at line 2477 of file curl.h.

2480 {
2481 CURL_FORMADD_OK, /* first, no error */
2482
2489 CURL_FORMADD_DISABLED, /* libcurl was built with this disabled */
@ CURL_FORMADD_MEMORY
Definition: curl.h:2480
@ CURL_FORMADD_ILLEGAL_ARRAY
Definition: curl.h:2485
@ CURL_FORMADD_INCOMPLETE
Definition: curl.h:2484
@ CURL_FORMADD_DISABLED
Definition: curl.h:2486
@ CURL_FORMADD_OPTION_TWICE
Definition: curl.h:2481
@ CURL_FORMADD_UNKNOWN_OPTION
Definition: curl.h:2483
@ CURL_FORMADD_OK
Definition: curl.h:2478
@ CURL_FORMADD_NULL
Definition: curl.h:2482

◆ CURLformoption

Enumerator
CURLFORM_NOTHING 
CURLFORM_COPYNAME 
CURLFORM_PTRNAME 
CURLFORM_NAMELENGTH 
CURLFORM_COPYCONTENTS 
CURLFORM_PTRCONTENTS 
CURLFORM_CONTENTSLENGTH 
CURLFORM_FILECONTENT 
CURLFORM_ARRAY 
CURLFORM_OBSOLETE 
CURLFORM_FILE 
CURLFORM_BUFFER 
CURLFORM_BUFFERPTR 
CURLFORM_BUFFERLENGTH 
CURLFORM_CONTENTTYPE 
CURLFORM_CONTENTHEADER 
CURLFORM_FILENAME 
CURLFORM_END 
CURLFORM_OBSOLETE2 
CURLFORM_STREAM 
CURLFORM_CONTENTLEN 
CURLFORM_LASTENTRY 

Definition at line 2426 of file curl.h.

2429 {
2430 CURLFORM_NOTHING, /********* the first one is unused ************/
2441
2445
2451
2453 CURLFORM_CONTENTLEN, /* added in 7.46.0, provide a curl_off_t length */
@ CURLFORM_PTRNAME
Definition: curl.h:2429
@ CURLFORM_BUFFERLENGTH
Definition: curl.h:2441
@ CURLFORM_BUFFER
Definition: curl.h:2439
@ CURLFORM_FILENAME
Definition: curl.h:2445
@ CURLFORM_FILECONTENT
Definition: curl.h:2434
@ CURLFORM_NOTHING
Definition: curl.h:2427
@ CURLFORM_NAMELENGTH
Definition: curl.h:2430
@ CURLFORM_OBSOLETE
Definition: curl.h:2436
@ CURLFORM_COPYNAME
Definition: curl.h:2428
@ CURLFORM_CONTENTSLENGTH
Definition: curl.h:2433
@ CURLFORM_END
Definition: curl.h:2446
@ CURLFORM_OBSOLETE2
Definition: curl.h:2447
@ CURLFORM_PTRCONTENTS
Definition: curl.h:2432
@ CURLFORM_STREAM
Definition: curl.h:2449
@ CURLFORM_ARRAY
Definition: curl.h:2435
@ CURLFORM_CONTENTHEADER
Definition: curl.h:2444
@ CURLFORM_FILE
Definition: curl.h:2437
@ CURLFORM_BUFFERPTR
Definition: curl.h:2440
@ CURLFORM_CONTENTTYPE
Definition: curl.h:2443
@ CURLFORM_CONTENTLEN
Definition: curl.h:2450
@ CURLFORM_COPYCONTENTS
Definition: curl.h:2431

◆ CURLINFO

Enumerator
CURLINFO_NONE 
CURLINFO_EFFECTIVE_URL 
CURLINFO_RESPONSE_CODE 
CURLINFO_TOTAL_TIME 
CURLINFO_NAMELOOKUP_TIME 
CURLINFO_CONNECT_TIME 
CURLINFO_PRETRANSFER_TIME 
CURLINFO_SIZE_UPLOAD 
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 
CURLINFO_CONTENT_LENGTH_DOWNLOAD 
CURLINFO_CONTENT_LENGTH_DOWNLOAD_T 
CURLINFO_CONTENT_LENGTH_UPLOAD 
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 
CURLINFO_LASTSOCKET 
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 
CURLINFO_TLS_SESSION 
CURLINFO_ACTIVESOCKET 
CURLINFO_TLS_SSL_PTR 
CURLINFO_HTTP_VERSION 
CURLINFO_PROXY_SSL_VERIFYRESULT 
CURLINFO_PROTOCOL 
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_LASTONE 

Definition at line 2753 of file curl.h.

2756 {
2757 CURLINFO_NONE, /* first, never use this */
#define CURLINFO_SOCKET
Definition: curl.h:2748
#define CURLINFO_PTR
Definition: curl.h:2747
#define CURLINFO_STRING
Definition: curl.h:2743
#define CURLINFO_OFF_T
Definition: curl.h:2749
#define CURLINFO_DOUBLE
Definition: curl.h:2745
#define CURLINFO_SLIST
Definition: curl.h:2746
@ CURLINFO_APPCONNECT_TIME_T
Definition: curl.h:2817
@ CURLINFO_SSL_ENGINES
Definition: curl.h:2788
@ CURLINFO_CERTINFO
Definition: curl.h:2795
@ CURLINFO_HEADER_SIZE
Definition: curl.h:2769
@ CURLINFO_STARTTRANSFER_TIME_T
Definition: curl.h:2815
@ CURLINFO_REDIRECT_URL
Definition: curl.h:2792
@ CURLINFO_FILETIME_T
Definition: curl.h:2773
@ CURLINFO_TLS_SSL_PTR
Definition: curl.h:2806
@ CURLINFO_PRETRANSFER_TIME_T
Definition: curl.h:2814
@ CURLINFO_HTTP_VERSION
Definition: curl.h:2807
@ CURLINFO_SIZE_DOWNLOAD
Definition: curl.h:2763
@ CURLINFO_SIZE_DOWNLOAD_T
Definition: curl.h:2764
@ CURLINFO_RTSP_CSEQ_RECV
Definition: curl.h:2800
@ CURLINFO_PROXY_SSL_VERIFYRESULT
Definition: curl.h:2808
@ CURLINFO_PRIVATE
Definition: curl.h:2782
@ CURLINFO_APPCONNECT_TIME
Definition: curl.h:2794
@ CURLINFO_RTSP_CLIENT_CSEQ
Definition: curl.h:2798
@ CURLINFO_RTSP_SESSION_ID
Definition: curl.h:2797
@ CURLINFO_HTTPAUTH_AVAIL
Definition: curl.h:2784
@ CURLINFO_PRIMARY_IP
Definition: curl.h:2793
@ CURLINFO_CONNECT_TIME
Definition: curl.h:2759
@ CURLINFO_COOKIELIST
Definition: curl.h:2789
@ CURLINFO_FILETIME
Definition: curl.h:2772
@ CURLINFO_TOTAL_TIME_T
Definition: curl.h:2811
@ CURLINFO_EFFECTIVE_METHOD
Definition: curl.h:2819
@ CURLINFO_LOCAL_PORT
Definition: curl.h:2803
@ CURLINFO_NUM_CONNECTS
Definition: curl.h:2787
@ CURLINFO_REQUEST_SIZE
Definition: curl.h:2770
@ CURLINFO_CONDITION_UNMET
Definition: curl.h:2796
@ CURLINFO_NONE
Definition: curl.h:2754
@ CURLINFO_SSL_VERIFYRESULT
Definition: curl.h:2771
@ CURLINFO_PRETRANSFER_TIME
Definition: curl.h:2760
@ CURLINFO_CONTENT_LENGTH_UPLOAD
Definition: curl.h:2776
@ CURLINFO_PRIMARY_PORT
Definition: curl.h:2801
@ CURLINFO_CONNECT_TIME_T
Definition: curl.h:2813
@ CURLINFO_OS_ERRNO
Definition: curl.h:2786
@ CURLINFO_SPEED_DOWNLOAD_T
Definition: curl.h:2766
@ CURLINFO_RETRY_AFTER
Definition: curl.h:2818
@ CURLINFO_CONTENT_LENGTH_UPLOAD_T
Definition: curl.h:2777
@ CURLINFO_REFERER
Definition: curl.h:2821
@ CURLINFO_PROXYAUTH_AVAIL
Definition: curl.h:2785
@ CURLINFO_FTP_ENTRY_PATH
Definition: curl.h:2791
@ CURLINFO_NAMELOOKUP_TIME
Definition: curl.h:2758
@ CURLINFO_LASTSOCKET
Definition: curl.h:2790
@ CURLINFO_ACTIVESOCKET
Definition: curl.h:2805
@ CURLINFO_NAMELOOKUP_TIME_T
Definition: curl.h:2812
@ CURLINFO_SIZE_UPLOAD
Definition: curl.h:2761
@ CURLINFO_REDIRECT_COUNT
Definition: curl.h:2781
@ CURLINFO_REDIRECT_TIME_T
Definition: curl.h:2816
@ CURLINFO_CONTENT_TYPE
Definition: curl.h:2779
@ CURLINFO_CAINFO
Definition: curl.h:2822
@ CURLINFO_SPEED_UPLOAD
Definition: curl.h:2767
@ CURLINFO_HTTP_CONNECTCODE
Definition: curl.h:2783
@ CURLINFO_RTSP_SERVER_CSEQ
Definition: curl.h:2799
@ CURLINFO_REDIRECT_TIME
Definition: curl.h:2780
@ CURLINFO_CONTENT_LENGTH_DOWNLOAD
Definition: curl.h:2774
@ CURLINFO_CONTENT_LENGTH_DOWNLOAD_T
Definition: curl.h:2775
@ CURLINFO_EFFECTIVE_URL
Definition: curl.h:2755
@ CURLINFO_TOTAL_TIME
Definition: curl.h:2757
@ CURLINFO_SPEED_UPLOAD_T
Definition: curl.h:2768
@ CURLINFO_SIZE_UPLOAD_T
Definition: curl.h:2762
@ CURLINFO_PROTOCOL
Definition: curl.h:2809
@ CURLINFO_SPEED_DOWNLOAD
Definition: curl.h:2765
@ CURLINFO_TLS_SESSION
Definition: curl.h:2804
@ CURLINFO_LOCAL_IP
Definition: curl.h:2802
@ CURLINFO_RESPONSE_CODE
Definition: curl.h:2756
@ CURLINFO_SCHEME
Definition: curl.h:2810
@ CURLINFO_PROXY_ERROR
Definition: curl.h:2820
@ CURLINFO_STARTTRANSFER_TIME
Definition: curl.h:2778
#define CURLINFO_LONG
Definition: curl.h:2744

◆ curliocmd

Enumerator
CURLIOCMD_NOP 
CURLIOCMD_RESTARTREAD 
CURLIOCMD_LAST 

Definition at line 424 of file curl.h.

426 {
427 CURLIOCMD_NOP, /* no operation */
428 CURLIOCMD_RESTARTREAD, /* restart the read stream from start */
@ CURLIOCMD_RESTARTREAD
Definition: curl.h:426
@ CURLIOCMD_NOP
Definition: curl.h:425

◆ curlioerr

Enumerator
CURLIOE_OK 
CURLIOE_UNKNOWNCMD 
CURLIOE_FAILRESTART 
CURLIOE_LAST 

Definition at line 417 of file curl.h.

419 {
420 CURLIOE_OK, /* I/O operation successful */
421 CURLIOE_UNKNOWNCMD, /* command was unknown to callback */
422 CURLIOE_FAILRESTART, /* failed to restart the read */
@ CURLIOE_FAILRESTART
Definition: curl.h:420
@ CURLIOE_UNKNOWNCMD
Definition: curl.h:419
@ CURLIOE_OK
Definition: curl.h:418

◆ CURLoption

Enumerator
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 
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 
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 1075 of file curl.h.

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

◆ CURLproxycode

CURL_NO_OLDIES

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 703 of file curl.h.

705 {
706 CURLPX_OK,
@ CURLPX_GSSAPI_PERMSG
Definition: curl.h:709
@ CURLPX_CLOSED
Definition: curl.h:707
@ CURLPX_BAD_VERSION
Definition: curl.h:706
@ CURLPX_GSSAPI
Definition: curl.h:708
@ CURLPX_REPLY_ADDRESS_TYPE_NOT_SUPPORTED
Definition: curl.h:721
@ CURLPX_UNKNOWN_MODE
Definition: curl.h:736
@ CURLPX_SEND_AUTH
Definition: curl.h:732
@ CURLPX_REPLY_GENERAL_SERVER_FAILURE
Definition: curl.h:724
@ CURLPX_REPLY_TTL_EXPIRED
Definition: curl.h:728
@ CURLPX_IDENTD_DIFFER
Definition: curl.h:712
@ CURLPX_REPLY_UNASSIGNED
Definition: curl.h:729
@ CURLPX_BAD_ADDRESS_TYPE
Definition: curl.h:705
@ CURLPX_RECV_ADDRESS
Definition: curl.h:717
@ CURLPX_REPLY_NETWORK_UNREACHABLE
Definition: curl.h:726
@ CURLPX_LONG_HOSTNAME
Definition: curl.h:713
@ CURLPX_SEND_REQUEST
Definition: curl.h:734
@ CURLPX_REPLY_COMMAND_NOT_SUPPORTED
Definition: curl.h:722
@ CURLPX_NO_AUTH
Definition: curl.h:716
@ CURLPX_IDENTD
Definition: curl.h:711
@ CURLPX_GSSAPI_PROTECTION
Definition: curl.h:710
@ CURLPX_REQUEST_FAILED
Definition: curl.h:730
@ CURLPX_LONG_PASSWD
Definition: curl.h:714
@ CURLPX_LONG_USER
Definition: curl.h:715
@ CURLPX_RECV_AUTH
Definition: curl.h:718
@ CURLPX_RECV_REQACK
Definition: curl.h:720
@ CURLPX_UNKNOWN_FAIL
Definition: curl.h:735
@ CURLPX_REPLY_HOST_UNREACHABLE
Definition: curl.h:725
@ CURLPX_OK
Definition: curl.h:704
@ CURLPX_RESOLVE_HOST
Definition: curl.h:731
@ CURLPX_REPLY_NOT_ALLOWED
Definition: curl.h:727
@ CURLPX_REPLY_CONNECTION_REFUSED
Definition: curl.h:723
@ CURLPX_SEND_CONNECT
Definition: curl.h:733
@ CURLPX_USER_REJECTED
Definition: curl.h:737
@ CURLPX_RECV_CONNECT
Definition: curl.h:719

◆ CURLSHcode

Enumerator
CURLSHE_OK 
CURLSHE_BAD_OPTION 
CURLSHE_IN_USE 
CURLSHE_INVALID 
CURLSHE_NOMEM 
CURLSHE_NOT_BUILT_IN 
CURLSHE_LAST 

Definition at line 2888 of file curl.h.

2891 {
2892 CURLSHE_OK, /* all is fine */
2893 CURLSHE_BAD_OPTION, /* 1 */
2894 CURLSHE_IN_USE, /* 2 */
2895 CURLSHE_INVALID, /* 3 */
2896 CURLSHE_NOMEM, /* 4 out of memory */
@ CURLSHE_OK
Definition: curl.h:2889
@ CURLSHE_INVALID
Definition: curl.h:2892
@ CURLSHE_BAD_OPTION
Definition: curl.h:2890
@ CURLSHE_IN_USE
Definition: curl.h:2891
@ CURLSHE_NOMEM
Definition: curl.h:2893

◆ CURLSHoption

Enumerator
CURLSHOPT_NONE 
CURLSHOPT_SHARE 
CURLSHOPT_UNSHARE 
CURLSHOPT_LOCKFUNC 
CURLSHOPT_UNLOCKFUNC 
CURLSHOPT_USERDATA 
CURLSHOPT_LAST 

Definition at line 2898 of file curl.h.

2901 {
2902 CURLSHOPT_NONE, /* don't use */
2903 CURLSHOPT_SHARE, /* specify a data type to share */
2904 CURLSHOPT_UNSHARE, /* specify which data type to stop sharing */
2905 CURLSHOPT_LOCKFUNC, /* pass in a 'curl_lock_function' pointer */
2906 CURLSHOPT_UNLOCKFUNC, /* pass in a 'curl_unlock_function' pointer */
2907 CURLSHOPT_USERDATA, /* pass in a user data pointer used in the lock/unlock
@ CURLSHOPT_UNLOCKFUNC
Definition: curl.h:2903
@ CURLSHOPT_LOCKFUNC
Definition: curl.h:2902
@ CURLSHOPT_USERDATA
Definition: curl.h:2904
@ CURLSHOPT_UNSHARE
Definition: curl.h:2901
@ CURLSHOPT_NONE
Definition: curl.h:2899
@ CURLSHOPT_SHARE
Definition: curl.h:2900

◆ curlsocktype

Enumerator
CURLSOCKTYPE_IPCXN 
CURLSOCKTYPE_ACCEPT 
CURLSOCKTYPE_LAST 

Definition at line 383 of file curl.h.

384 {
385 CURLSOCKTYPE_IPCXN, /* socket created for a specific IP connection */
386 CURLSOCKTYPE_ACCEPT, /* socket created by accept() call */
387 CURLSOCKTYPE_LAST /* never use */
@ CURLSOCKTYPE_LAST
Definition: curl.h:386
@ CURLSOCKTYPE_IPCXN
Definition: curl.h:384
@ CURLSOCKTYPE_ACCEPT
Definition: curl.h:385

◆ CURLsslset

Enumerator
CURLSSLSET_OK 
CURLSSLSET_UNKNOWN_BACKEND 
CURLSSLSET_TOO_LATE 
CURLSSLSET_NO_BACKENDS 

Definition at line 2685 of file curl.h.

2688 {
2689 CURLSSLSET_OK = 0,
@ CURLSSLSET_UNKNOWN_BACKEND
Definition: curl.h:2687
@ CURLSSLSET_OK
Definition: curl.h:2686

◆ CURLSTScode

Enumerator
CURLSTS_OK 
CURLSTS_DONE 
CURLSTS_FAIL 

Definition at line 992 of file curl.h.

994 {
@ CURLSTS_OK
Definition: curl.h:993
@ CURLSTS_DONE
Definition: curl.h:994

◆ CURLversion

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

Definition at line 2917 of file curl.h.

2920 {
@ CURLVERSION_SIXTH
Definition: curl.h:2923
@ CURLVERSION_EIGHTH
Definition: curl.h:2925
@ CURLVERSION_FIFTH
Definition: curl.h:2922
@ CURLVERSION_SECOND
Definition: curl.h:2919
@ CURLVERSION_FOURTH
Definition: curl.h:2921
@ CURLVERSION_THIRD
Definition: curl.h:2920
@ CURLVERSION_FIRST
Definition: curl.h:2918
@ CURLVERSION_SEVENTH
Definition: curl.h:2924
@ CURLVERSION_NINTH
Definition: curl.h:2926

Function Documentation

◆ 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_strerror()

CURL_EXTERN const char * curl_easy_strerror ( CURLcode  )

◆ 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_formadd()

CURL_EXTERN CURLFORMcode curl_formadd ( struct curl_httppost **  httppost,
struct curl_httppost **  last_post,
  ... 
)

◆ curl_formfree()

CURL_EXTERN void curl_formfree ( struct curl_httppost form)

◆ curl_formget()

CURL_EXTERN int curl_formget ( struct curl_httppost form,
void arg,
curl_formget_callback  append 
)

◆ 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_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 )

◆ curl_share_init()

CURL_EXTERN CURLSH * curl_share_init ( void  )

◆ curl_share_setopt()

CURL_EXTERN CURLSHcode curl_share_setopt ( CURLSH ,
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 ,
const char  
)

◆ curl_slist_free_all()

CURL_EXTERN void curl_slist_free_all ( struct curl_slist )

◆ 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()

CURL_EXTERN curl_version_info_data * curl_version_info ( CURLversion  )