44 #if (defined(_WIN32) || defined(__WIN32__)) && \ 45 !defined(WIN32) && !defined(__SYMBIAN32__) 52 #if defined(__FreeBSD__) && (__FreeBSD__ >= 2) 54 #include <osreldate.h> 58 #include <sys/types.h> 61 #if defined(WIN32) && !defined(_WIN32_WCE) && !defined(__CYGWIN__) 62 #if !(defined(_WINSOCKAPI_) || defined(_WINSOCK_H) || \ 63 defined(__LWIP_OPT_H__) || defined(LWIP_HDR_OPT_H)) 74 #if defined(_AIX) || defined(__NOVELL_LIBC__) || defined(__NetBSD__) || \ 75 defined(__minix) || defined(__SYMBIAN32__) || defined(__INTEGRITY) || \ 76 defined(ANDROID) || defined(__ANDROID__) || defined(__OpenBSD__) || \ 77 defined(__CYGWIN__) || \ 78 (defined(__FreeBSD_version) && (__FreeBSD_version < 800000)) 79 #include <sys/select.h> 82 #if !defined(WIN32) && !defined(_WIN32_WCE) 83 #include <sys/socket.h> 86 #if !defined(WIN32) && !defined(__WATCOMC__) && !defined(__VXWORKS__) 91 #include <support/SupportDefs.h> 98 #if defined(BUILDING_LIBCURL) || defined(CURL_STRICTER) 110 #ifdef CURL_STATICLIB 112 #elif defined(WIN32) || defined(_WIN32) || defined(__SYMBIAN32__) 113 # if defined(BUILDING_LIBCURL) 114 # define CURL_EXTERN __declspec(dllexport) 116 # define CURL_EXTERN __declspec(dllimport) 118 #elif defined(BUILDING_LIBCURL) && defined(CURL_HIDDEN_SYMBOLS) 119 # define CURL_EXTERN CURL_EXTERN_SYMBOL 124 #ifndef curl_socket_typedef 126 #if defined(WIN32) && !defined(__LWIP_OPT_H__) && !defined(LWIP_HDR_OPT_H) 128 #define CURL_SOCKET_BAD INVALID_SOCKET 131 #define CURL_SOCKET_BAD -1 133 #define curl_socket_typedef 153 #define CURLSSLBACKEND_LIBRESSL CURLSSLBACKEND_OPENSSL 154 #define CURLSSLBACKEND_BORINGSSL CURLSSLBACKEND_OPENSSL 155 #define CURLSSLBACKEND_CYASSL CURLSSLBACKEND_WOLFSSL 174 #define CURL_HTTPPOST_FILENAME (1<<0) 176 #define CURL_HTTPPOST_READFILE (1<<1) 178 #define CURL_HTTPPOST_PTRNAME (1<<2) 180 #define CURL_HTTPPOST_PTRCONTENTS (1<<3) 182 #define CURL_HTTPPOST_BUFFER (1<<4) 184 #define CURL_HTTPPOST_PTRBUFFER (1<<5) 187 #define CURL_HTTPPOST_CALLBACK (1<<6) 189 #define CURL_HTTPPOST_LARGE (1<<7) 217 #ifndef CURL_MAX_READ_SIZE 219 #define CURL_MAX_READ_SIZE 524288 222 #ifndef CURL_MAX_WRITE_SIZE 229 #define CURL_MAX_WRITE_SIZE 16384 232 #ifndef CURL_MAX_HTTP_HEADER 236 #define CURL_MAX_HTTP_HEADER (100*1024) 241 #define CURL_WRITEFUNC_PAUSE 0x10000001 264 #define CURLFINFOFLAG_KNOWN_FILENAME (1<<0) 265 #define CURLFINFOFLAG_KNOWN_FILETYPE (1<<1) 266 #define CURLFINFOFLAG_KNOWN_TIME (1<<2) 267 #define CURLFINFOFLAG_KNOWN_PERM (1<<3) 268 #define CURLFINFOFLAG_KNOWN_UID (1<<4) 269 #define CURLFINFOFLAG_KNOWN_GID (1<<5) 270 #define CURLFINFOFLAG_KNOWN_SIZE (1<<6) 271 #define CURLFINFOFLAG_KNOWN_HLINKCOUNT (1<<7) 305 #define CURL_CHUNK_BGN_FUNC_OK 0 306 #define CURL_CHUNK_BGN_FUNC_FAIL 1 307 #define CURL_CHUNK_BGN_FUNC_SKIP 2 317 #define CURL_CHUNK_END_FUNC_OK 0 318 #define CURL_CHUNK_END_FUNC_FAIL 1 329 #define CURL_FNMATCHFUNC_MATCH 0 330 #define CURL_FNMATCHFUNC_NOMATCH 1 331 #define CURL_FNMATCHFUNC_FAIL 2 340 #define CURL_SEEKFUNC_OK 0 341 #define CURL_SEEKFUNC_FAIL 1 342 #define CURL_SEEKFUNC_CANTSEEK 2 350 #define CURL_READFUNC_ABORT 0x10000000 353 #define CURL_READFUNC_PAUSE 0x10000001 368 #define CURL_SOCKOPT_OK 0 369 #define CURL_SOCKOPT_ERROR 1 371 #define CURL_SOCKOPT_ALREADY_CONNECTED 2 374 curl_socket_t curlfd,
375 curlsocktype purpose);
384 struct sockaddr addr;
389 curlsocktype purpose,
412 #ifndef CURL_DID_MEMORY_FUNC_TYPEDEFS 419 typedef void *(*curl_malloc_callback)(
size_t size);
421 typedef void *(*curl_realloc_callback)(
void *
ptr,
size_t size);
422 typedef char *(*curl_strdup_callback)(
const char *
str);
423 typedef void *(*curl_calloc_callback)(
size_t nmemb,
size_t size);
425 #define CURL_DID_MEMORY_FUNC_TYPEDEFS 583 #ifndef CURL_NO_OLDIES 587 #define CURLE_OBSOLETE16 CURLE_HTTP2 590 #define CURLE_OBSOLETE10 CURLE_FTP_ACCEPT_FAILED 591 #define CURLE_OBSOLETE12 CURLE_FTP_ACCEPT_TIMEOUT 594 #define CURLOPT_ENCODING CURLOPT_ACCEPT_ENCODING 595 #define CURLE_FTP_WEIRD_SERVER_REPLY CURLE_WEIRD_SERVER_REPLY 598 #define CURLE_UNKNOWN_TELNET_OPTION CURLE_UNKNOWN_OPTION 602 #define CURLE_SSL_PEER_CERTIFICATE CURLE_PEER_FAILED_VERIFICATION 606 #define CURLE_OBSOLETE CURLE_OBSOLETE50 607 #define CURLE_BAD_PASSWORD_ENTERED CURLE_OBSOLETE46 608 #define CURLE_BAD_CALLING_ORDER CURLE_OBSOLETE44 609 #define CURLE_FTP_USER_PASSWORD_INCORRECT CURLE_OBSOLETE10 610 #define CURLE_FTP_CANT_RECONNECT CURLE_OBSOLETE16 611 #define CURLE_FTP_COULDNT_GET_SIZE CURLE_OBSOLETE32 612 #define CURLE_FTP_COULDNT_SET_ASCII CURLE_OBSOLETE29 613 #define CURLE_FTP_WEIRD_USER_REPLY CURLE_OBSOLETE12 614 #define CURLE_FTP_WRITE_ERROR CURLE_OBSOLETE20 615 #define CURLE_LIBRARY_NOT_FOUND CURLE_OBSOLETE40 616 #define CURLE_MALFORMAT_USER CURLE_OBSOLETE24 617 #define CURLE_SHARE_IN_USE CURLE_OBSOLETE57 618 #define CURLE_URL_MALFORMAT_USER CURLE_NOT_BUILT_IN 620 #define CURLE_FTP_ACCESS_DENIED CURLE_REMOTE_ACCESS_DENIED 621 #define CURLE_FTP_COULDNT_SET_BINARY CURLE_FTP_COULDNT_SET_TYPE 622 #define CURLE_FTP_QUOTE_ERROR CURLE_QUOTE_ERROR 623 #define CURLE_TFTP_DISKFULL CURLE_REMOTE_DISK_FULL 624 #define CURLE_TFTP_EXISTS CURLE_REMOTE_FILE_EXISTS 625 #define CURLE_HTTP_RANGE_ERROR CURLE_RANGE_ERROR 626 #define CURLE_FTP_SSL_FAILED CURLE_USE_SSL_FAILED 630 #define CURLE_OPERATION_TIMEOUTED CURLE_OPERATION_TIMEDOUT 632 #define CURLE_HTTP_NOT_FOUND CURLE_HTTP_RETURNED_ERROR 633 #define CURLE_HTTP_PORT_FAILED CURLE_INTERFACE_FAILED 634 #define CURLE_FTP_COULDNT_STOR_FILE CURLE_UPLOAD_FAILED 636 #define CURLE_FTP_PARTIAL_FILE CURLE_PARTIAL_FILE 637 #define CURLE_FTP_BAD_DOWNLOAD_RESUME CURLE_BAD_DOWNLOAD_RESUME 642 #define CURLE_ALREADY_COMPLETE 99999 645 #define CURLOPT_FILE CURLOPT_WRITEDATA 646 #define CURLOPT_INFILE CURLOPT_READDATA 647 #define CURLOPT_WRITEHEADER CURLOPT_HEADERDATA 651 #define CURLOPT_WRITEINFO CURLOPT_OBSOLETE40 652 #define CURLOPT_CLOSEPOLICY CURLOPT_OBSOLETE72 696 #define CURLAUTH_NONE ((unsigned long)0) 697 #define CURLAUTH_BASIC (((unsigned long)1)<<0) 698 #define CURLAUTH_DIGEST (((unsigned long)1)<<1) 699 #define CURLAUTH_NEGOTIATE (((unsigned long)1)<<2) 701 #define CURLAUTH_GSSNEGOTIATE CURLAUTH_NEGOTIATE 703 #define CURLAUTH_GSSAPI CURLAUTH_NEGOTIATE 704 #define CURLAUTH_NTLM (((unsigned long)1)<<3) 705 #define CURLAUTH_DIGEST_IE (((unsigned long)1)<<4) 706 #define CURLAUTH_NTLM_WB (((unsigned long)1)<<5) 707 #define CURLAUTH_ONLY (((unsigned long)1)<<31) 708 #define CURLAUTH_ANY (~CURLAUTH_DIGEST_IE) 709 #define CURLAUTH_ANYSAFE (~(CURLAUTH_BASIC|CURLAUTH_DIGEST_IE)) 711 #define CURLSSH_AUTH_ANY ~0 712 #define CURLSSH_AUTH_NONE 0 713 #define CURLSSH_AUTH_PUBLICKEY (1<<0) 714 #define CURLSSH_AUTH_PASSWORD (1<<1) 715 #define CURLSSH_AUTH_HOST (1<<2) 716 #define CURLSSH_AUTH_KEYBOARD (1<<3) 717 #define CURLSSH_AUTH_AGENT (1<<4) 718 #define CURLSSH_AUTH_DEFAULT CURLSSH_AUTH_ANY 720 #define CURLGSSAPI_DELEGATION_NONE 0 721 #define CURLGSSAPI_DELEGATION_POLICY_FLAG (1<<0) 722 #define CURLGSSAPI_DELEGATION_FLAG (1<<1) 724 #define CURL_ERROR_SIZE 256 783 #define CURLSSLOPT_ALLOW_BEAST (1<<0) 787 #define CURLSSLOPT_NO_REVOKE (1<<1) 789 #ifndef CURL_NO_OLDIES 795 #define CURLFTPSSL_NONE CURLUSESSL_NONE 796 #define CURLFTPSSL_TRY CURLUSESSL_TRY 797 #define CURLFTPSSL_CONTROL CURLUSESSL_CONTROL 798 #define CURLFTPSSL_ALL CURLUSESSL_ALL 799 #define CURLFTPSSL_LAST CURLUSESSL_LAST 800 #define curl_ftpssl curl_usessl 840 #define CURLHEADER_UNIFIED 0 841 #define CURLHEADER_SEPARATE (1<<0) 844 #define CURLPROTO_HTTP (1<<0) 845 #define CURLPROTO_HTTPS (1<<1) 846 #define CURLPROTO_FTP (1<<2) 847 #define CURLPROTO_FTPS (1<<3) 848 #define CURLPROTO_SCP (1<<4) 849 #define CURLPROTO_SFTP (1<<5) 850 #define CURLPROTO_TELNET (1<<6) 851 #define CURLPROTO_LDAP (1<<7) 852 #define CURLPROTO_LDAPS (1<<8) 853 #define CURLPROTO_DICT (1<<9) 854 #define CURLPROTO_FILE (1<<10) 855 #define CURLPROTO_TFTP (1<<11) 856 #define CURLPROTO_IMAP (1<<12) 857 #define CURLPROTO_IMAPS (1<<13) 858 #define CURLPROTO_POP3 (1<<14) 859 #define CURLPROTO_POP3S (1<<15) 860 #define CURLPROTO_SMTP (1<<16) 861 #define CURLPROTO_SMTPS (1<<17) 862 #define CURLPROTO_RTSP (1<<18) 863 #define CURLPROTO_RTMP (1<<19) 864 #define CURLPROTO_RTMPT (1<<20) 865 #define CURLPROTO_RTMPE (1<<21) 866 #define CURLPROTO_RTMPTE (1<<22) 867 #define CURLPROTO_RTMPS (1<<23) 868 #define CURLPROTO_RTMPTS (1<<24) 869 #define CURLPROTO_GOPHER (1<<25) 870 #define CURLPROTO_SMB (1<<26) 871 #define CURLPROTO_SMBS (1<<27) 872 #define CURLPROTO_ALL (~0) 876 #define CURLOPTTYPE_LONG 0 877 #define CURLOPTTYPE_OBJECTPOINT 10000 878 #define CURLOPTTYPE_STRINGPOINT 10000 879 #define CURLOPTTYPE_FUNCTIONPOINT 20000 880 #define CURLOPTTYPE_OFF_T 30000 893 #define CINIT(na,t,nu) CURLOPT_ ## na = CURLOPTTYPE_ ## t + nu 896 #define LONG CURLOPTTYPE_LONG 897 #define OBJECTPOINT CURLOPTTYPE_OBJECTPOINT 898 #define STRINGPOINT CURLOPTTYPE_OBJECTPOINT 899 #define FUNCTIONPOINT CURLOPTTYPE_FUNCTIONPOINT 900 #define OFF_T CURLOPTTYPE_OFF_T 901 #define CINIT(name,type,number) CURLOPT_name = type + number 1086 #define CURLOPT_XFERINFODATA CURLOPT_PROGRESSDATA 1281 CINIT(FTP_CREATE_MISSING_DIRS,
LONG, 110),
1293 #define CURLOPT_SERVER_RESPONSE_TIMEOUT CURLOPT_FTP_RESPONSE_TIMEOUT 1375 CINIT(IGNORE_CONTENT_LENGTH,
LONG, 136),
1444 CINIT(HTTP_TRANSFER_DECODING,
LONG, 157),
1445 CINIT(HTTP_CONTENT_DECODING,
LONG, 158),
1677 CINIT(EXPECT_100_TIMEOUT_MS,
LONG, 227),
1735 CINIT(KEEP_SENDING_ON_ERROR,
LONG, 245),
1805 CINIT(SUPPRESS_CONNECT_HEADERS,
LONG, 265),
1822 #ifndef CURL_NO_OLDIES 1829 #define CURLOPT_POST301 CURLOPT_POSTREDIR 1834 #define CURLOPT_SSLKEYPASSWD CURLOPT_KEYPASSWD 1835 #define CURLOPT_FTPAPPEND CURLOPT_APPEND 1836 #define CURLOPT_FTPLISTONLY CURLOPT_DIRLISTONLY 1837 #define CURLOPT_FTP_SSL CURLOPT_USE_SSL 1841 #define CURLOPT_SSLCERTPASSWD CURLOPT_KEYPASSWD 1842 #define CURLOPT_KRB4LEVEL CURLOPT_KRBLEVEL 1846 #undef CURLOPT_DNS_USE_GLOBAL_CACHE 1853 #define CURL_IPRESOLVE_WHATEVER 0 1855 #define CURL_IPRESOLVE_V4 1 1856 #define CURL_IPRESOLVE_V6 2 1859 #define CURLOPT_RTSPHEADER CURLOPT_HTTPHEADER 1879 #define CURL_HTTP_VERSION_2 CURL_HTTP_VERSION_2_0 1948 #define CURL_REDIR_GET_ALL 0 1949 #define CURL_REDIR_POST_301 1 1950 #define CURL_REDIR_POST_302 2 1951 #define CURL_REDIR_POST_303 4 1952 #define CURL_REDIR_POST_ALL \ 1953 (CURL_REDIR_POST_301|CURL_REDIR_POST_302|CURL_REDIR_POST_303) 1966 #define CURL_ZERO_TERMINATED ((size_t) -1) 2042 const char *encoding);
2052 const char *data,
size_t datasize);
2096 int take_ownership);
2105 #define CFINIT(name) CURLFORM_ ## name 2108 #define CFINIT(name) CURLFORM_name 2429 #define CURLINFO_STRING 0x100000 2430 #define CURLINFO_LONG 0x200000 2431 #define CURLINFO_DOUBLE 0x300000 2432 #define CURLINFO_SLIST 0x400000 2433 #define CURLINFO_PTR 0x400000 2434 #define CURLINFO_SOCKET 0x500000 2435 #define CURLINFO_OFF_T 0x600000 2436 #define CURLINFO_MASK 0x0fffff 2437 #define CURLINFO_TYPEMASK 0xf00000 2503 #define CURLINFO_HTTP_CODE CURLINFO_RESPONSE_CODE 2517 #define CURL_GLOBAL_SSL (1<<0) 2518 #define CURL_GLOBAL_WIN32 (1<<1) 2519 #define CURL_GLOBAL_ALL (CURL_GLOBAL_SSL|CURL_GLOBAL_WIN32) 2520 #define CURL_GLOBAL_NOTHING 0 2521 #define CURL_GLOBAL_DEFAULT CURL_GLOBAL_ALL 2522 #define CURL_GLOBAL_ACK_EINTR (1<<2) 2553 curl_lock_data
data,
2554 curl_lock_access locktype,
2557 curl_lock_data
data,
2603 #define CURLVERSION_NOW CURLVERSION_FOURTH 2633 #define CURL_VERSION_IPV6 (1<<0) 2634 #define CURL_VERSION_KERBEROS4 (1<<1) 2636 #define CURL_VERSION_SSL (1<<2) 2637 #define CURL_VERSION_LIBZ (1<<3) 2638 #define CURL_VERSION_NTLM (1<<4) 2639 #define CURL_VERSION_GSSNEGOTIATE (1<<5) 2641 #define CURL_VERSION_DEBUG (1<<6) 2642 #define CURL_VERSION_ASYNCHDNS (1<<7) 2643 #define CURL_VERSION_SPNEGO (1<<8) 2644 #define CURL_VERSION_LARGEFILE (1<<9) 2645 #define CURL_VERSION_IDN (1<<10) 2647 #define CURL_VERSION_SSPI (1<<11) 2648 #define CURL_VERSION_CONV (1<<12) 2649 #define CURL_VERSION_CURLDEBUG (1<<13) 2650 #define CURL_VERSION_TLSAUTH_SRP (1<<14) 2651 #define CURL_VERSION_NTLM_WB (1<<15) 2653 #define CURL_VERSION_HTTP2 (1<<16) 2654 #define CURL_VERSION_GSSAPI (1<<17) 2655 #define CURL_VERSION_KERBEROS5 (1<<18) 2656 #define CURL_VERSION_UNIX_SOCKETS (1<<19) 2657 #define CURL_VERSION_PSL (1<<20) 2659 #define CURL_VERSION_HTTPS_PROXY (1<<21) 2660 #define CURL_VERSION_MULTI_SSL (1<<22) 2705 #define CURLPAUSE_RECV (1<<0) 2706 #define CURLPAUSE_RECV_CONT (0) 2708 #define CURLPAUSE_SEND (1<<2) 2709 #define CURLPAUSE_SEND_CONT (0) 2711 #define CURLPAUSE_ALL (CURLPAUSE_RECV|CURLPAUSE_SEND) 2712 #define CURLPAUSE_CONT (CURLPAUSE_RECV_CONT|CURLPAUSE_SEND_CONT) 2724 #if defined(__GNUC__) && defined(__GNUC_MINOR__) && \ 2725 ((__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) && \ 2726 !defined(__cplusplus) && !defined(CURL_DISABLE_TYPECHECK) 2729 #if defined(__STDC__) && (__STDC__ >= 1) 2733 #define curl_easy_setopt(handle,opt,param) curl_easy_setopt(handle,opt,param) 2734 #define curl_easy_getinfo(handle,info,arg) curl_easy_getinfo(handle,info,arg) 2735 #define curl_share_setopt(share,opt,param) curl_share_setopt(share,opt,param) 2736 #define curl_multi_setopt(handle,opt,param) curl_multi_setopt(handle,opt,param)
void(* curl_lock_function)(CURL *handle, curl_lock_data data, curl_lock_access locktype, void *userptr)
CURL_EXTERN CURLcode curl_mime_filedata(curl_mimepart *part, const char *filename)
int(* curl_fnmatch_callback)(void *ptr, const char *pattern, const char *string)
void *(* curl_calloc_callback)(size_t nmemb, size_t size)
CURL_EXTERN CURLcode curl_mime_headers(curl_mimepart *part, struct curl_slist *headers, int take_ownership)
CURL_EXTERN curl_version_info_data * curl_version_info(CURLversion)
CURL_EXTERN void curl_free(void *p)
CURL_EXTERN char * curl_unescape(const char *string, int length)
int(* curl_xferinfo_callback)(void *clientp, curl_off_t dltotal, curl_off_t dlnow, curl_off_t ultotal, curl_off_t ulnow)
CURL_EXTERN char * curl_easy_escape(CURL *handle, const char *string, int length)
CURL_EXTERN void curl_mime_free(curl_mime *mime)
CURL_EXTERN CURLcode curl_mime_data(curl_mimepart *part, const char *data, size_t datasize)
void *(* curl_realloc_callback)(void *ptr, size_t size)
UNITTEST_START char * ptr
CURL_EXTERN CURLSH * curl_share_init(void)
CURLcode(* curl_conv_callback)(char *buffer, size_t length)
int(* curl_closesocket_callback)(void *clientp, curl_socket_t item)
CURL_EXTERN CURLcode curl_easy_pause(CURL *handle, int bitmask)
CURL_EXTERN curl_mime * curl_mime_init(CURL *easy)
CURL_EXTERN char * curl_getenv(const char *variable)
CURL_EXTERN CURLSHcode curl_share_cleanup(CURLSH *)
int(* curl_seek_callback)(void *instream, curl_off_t offset, int origin)
int(* curl_debug_callback)(CURL *handle, curl_infotype type, char *data, size_t size, void *userptr)
CURL_EXTERN void curl_formfree(struct curl_httppost *form)
struct curl_httppost * more
CURL_EXTERN CURLcode curl_mime_encoder(curl_mimepart *part, const char *encoding)
CURL_EXTERN CURLcode curl_mime_name(curl_mimepart *part, const char *name)
curl_easy_setopt expects a curl_off_t argument for this option curl_easy_setopt expects a curl_write_callback argument for this option curl_easy_setopt expects a curl_ioctl_callback argument for this option curl_easy_setopt expects a curl_opensocket_callback argument for this option curl_easy_setopt expects a curl_debug_callback argument for this option curl_easy_setopt expects a curl_conv_callback argument for this option curl_easy_setopt expects a private data pointer as argument for this option curl_easy_setopt expects a FILE *argument for this option curl_easy_setopt expects a struct curl_httppost *argument for this option curl_easy_setopt expects a struct curl_slist *argument for this option curl_easy_getinfo expects a pointer to char *for this info curl_easy_getinfo expects a pointer to double for this info curl_easy_getinfo expects a pointer to struct curl_tlssessioninfo *for this info curl_easy_getinfo expects a pointer to curl_socket_t for this info size_t
size_t(* curl_formget_callback)(void *arg, const char *buf, size_t len)
CURL_EXTERN CURLFORMcode curl_formadd(struct curl_httppost **httppost, struct curl_httppost **last_post,...)
const char * libz_version
int(* curl_sockopt_callback)(void *clientp, curl_socket_t curlfd, curlsocktype purpose)
CURL_EXTERN struct curl_slist * curl_slist_append(struct curl_slist *, const char *)
CURL_EXTERN char * curl_escape(const char *string, int length)
void *(* curl_malloc_callback)(size_t size)
curl_socket_t(* curl_opensocket_callback)(void *clientp, curlsocktype purpose, struct curl_sockaddr *address)
CURLcode(* curl_ssl_ctx_callback)(CURL *curl, void *ssl_ctx, void *userptr)
UNITTEST_START struct Curl_easy data
curlioerr(* curl_ioctl_callback)(CURL *handle, int cmd, void *clientp)
curl_free_callback freefunc
curl_seek_callback seekfunc
CURL_TYPEOF_CURL_OFF_T curl_off_t
size_t(* curl_read_callback)(char *buffer, size_t size, size_t nitems, void *instream)
CURL_EXTERN CURLSHcode curl_share_setopt(CURLSH *, CURLSHoption option,...)
CURL_EXTERN int curl_strequal(const char *s1, const char *s2)
int(* curl_progress_callback)(void *clientp, double dltotal, double dlnow, double ultotal, double ulnow)
struct curl_slist ** certinfo
long(* curl_chunk_end_callback)(void *ptr)
size_t(* curl_write_callback)(char *buffer, size_t size, size_t nitems, void *outstream)
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 CURLcode curl_global_init(long flags)
curl_global_init() globally initializes curl given a bitwise set of the different features of what to...
CURL_EXTERN time_t curl_getdate(const char *p, const time_t *unused)
CURL_EXTERN curl_mimepart * curl_mime_addpart(curl_mime *mime)
CURL_EXTERN int curl_formget(struct curl_httppost *form, void *arg, curl_formget_callback append)
int(* curl_sshkeycallback)(CURL *easy, const struct curl_khkey *knownkey, const struct curl_khkey *foundkey, enum curl_khmatch, void *clientp)
#define CINIT(name, type, number)
struct curl_slist * contentheader
CURL_EXTERN CURLcode curl_mime_filename(curl_mimepart *part, const char *filename)
const char * libssh_version
struct curl_httppost * next
TFSIMD_FORCE_INLINE tfScalar length(const Quaternion &q)
CURL_EXTERN CURLcode curl_mime_type(curl_mimepart *part, const char *mimetype)
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 const char * curl_share_strerror(CURLSHcode)
CURL_EXTERN CURLsslset curl_global_sslset(curl_sslbackend id, const char *name, const curl_ssl_backend ***avail)
static CURL * easy[MAX_EASY_HANDLES]
CURL_EXTERN void curl_global_cleanup(void)
curl_global_cleanup() globally cleanups curl, uses the value of "init_flags" to determine what needs ...
static size_t readfunc(void *ptr, size_t size, size_t nmemb, void *stream)
char *(* curl_strdup_callback)(const char *str)
void(* curl_free_callback)(void *ptr)
CURL_EXTERN char * curl_easy_unescape(CURL *handle, const char *string, int length, int *outlength)
CURL_EXTERN const char * curl_easy_strerror(CURLcode)
CURL_EXTERN void curl_slist_free_all(struct curl_slist *)
long(* curl_chunk_bgn_callback)(const void *transfer_info, void *ptr, int remains)
CURL_EXTERN int curl_strnequal(const char *s1, const char *s2, size_t n)
const char *const * protocols
CURL_EXTERN char * curl_version(void)
void(* curl_unlock_function)(CURL *handle, curl_lock_data data, void *userptr)
CURL_EXTERN CURLcode curl_mime_subparts(curl_mimepart *part, curl_mime *subparts)