Portability | non-portable |
---|---|
Stability | experimental |
Maintainer | Krzysztof Kardzis <kkardzis@gmail.com> |
Safe Haskell | Safe-Inferred |
- Definitions from "curl/curlver.h"
- Definitions from "curl/curlbuild.h"
- Definitions from "curl/curlrules.h"
- Definitions from "curl/curl.h"
- CURL_httppost
- Callbacks
- CURL_fileinfo
- Callbacks
- CURL_chunk_bgn_callback
- CURL_chunk_end_callback
- CURL_fnmatch_callback
- CURL_seek_callback
- CURL_read_callback
- CURL_sockopt_callback
- CURL_opensocket_callback
- CURL_closesocket_callback
- CURL_ioctl_callback
- CURL_malloc_callback
- CURL_free_callback
- CURL_realloc_callback
- CURL_strdup_callback
- CURL_calloc_callback
- CURL_debug_callback
- Constants
- Callbacks
- Constants
- Callbacks
- Constants
- Functions
- CURL_forms
- Functions
- CURL_slist
- Functions
- CURL_certinfo
- Constants
- Share interface
- CURL_version_info
- Functions
- Definitions from "curl/easy.h"
- Definitions from "curl/multi.h"
Module Network.Curlhs.Base provides a direct low-level bindings to
libcurl
. It is basically a 1:1 mapping of the libcurl
's C API,
a direct translation of "curl/curl.h" header files to Haskell FFI.
A higher level interface, without ubiquitous pointers and all of that
C stuff, is provided through the module Network.Curlhs.Core.
Documentation about the library and/or particular functions may be found
in the libcurl
's manual pages or on the libcurl
's project site
(http://curl.haxx.se/libcurl/). Because API of this module mirrors API
of the external library, particular symbols may exist or not,
dependently of that, which version of libcurl
is used during compilation
of the package. The module as closely as possible tries to follow
the original libcurl
API. The main differences are in types of functions
such as curl_easy_setopt
and curl_easy_getinfo
. Besides that all
symbol names are prefixed with 'c' or 'C'.
As the name of the module may suggest, this module is a basis for the
rest of curlhs
package. For now exposed API is somewhat incomplete,
still lacks some things (like the "multi interface"), but the aim is
to provide here a complete API of libcurl
, as defined in its C headers.
- libCURL_COPYRIGHT :: String
- libCURL_TIMESTAMP :: String
- libCURL_VERSION :: String
- libCURL_VERSION_NUM :: Int
- libCURL_VERSION_MAJOR :: Int
- libCURL_VERSION_MINOR :: Int
- libCURL_VERSION_PATCH :: Int
- type CCURL_off_t = CLLong
- data CCURL
- type CCURL_socket_t = CInt
- cCURL_SOCKET_BAD :: CCURL_socket_t
- data CCURL_httppost = CCURL_httppost {
- ccurl_httppost_next :: Ptr CCURL_httppost
- ccurl_httppost_name :: Ptr CChar
- ccurl_httppost_namelength :: CLong
- ccurl_httppost_contents :: Ptr CChar
- ccurl_httppost_contentslength :: CLong
- ccurl_httppost_buffer :: Ptr CChar
- ccurl_httppost_bufferlength :: CLong
- ccurl_httppost_contenttype :: Ptr CChar
- ccurl_httppost_contentheader :: Ptr CCURL_slist
- ccurl_httppost_more :: Ptr CCURL_httppost
- ccurl_httppost_flags :: CLong
- ccurl_httppost_showfilename :: Ptr CChar
- ccurl_httppost_userp :: Ptr ()
- cHTTPPOST_FILENAME :: CLong
- cHTTPPOST_READFILE :: CLong
- cHTTPPOST_PTRNAME :: CLong
- cHTTPPOST_PTRCONTENTS :: CLong
- cHTTPPOST_BUFFER :: CLong
- cHTTPPOST_PTRBUFFER :: CLong
- cHTTPPOST_CALLBACK :: CLong
- type CCURL_progress_callback = Ptr () -> CDouble -> CDouble -> CDouble -> CDouble -> IO CInt
- wrap_ccurl_progress_callback :: CCURL_progress_callback -> IO (FunPtr CCURL_progress_callback)
- cCURL_MAX_WRITE_SIZE :: CSize
- cCURL_MAX_HTTP_HEADER :: CSize
- cCURL_WRITEFUNC_PAUSE :: CSize
- type CCURL_write_callback = Ptr CChar -> CSize -> CSize -> Ptr () -> IO CSize
- wrap_ccurl_write_callback :: CCURL_write_callback -> IO (FunPtr CCURL_write_callback)
- newtype CCURLfiletype = CCURLfiletype CInt
- cCURLFILETYPE_FILE :: CCURLfiletype
- cCURLFILETYPE_DIRECTORY :: CCURLfiletype
- cCURLFILETYPE_SYMLINK :: CCURLfiletype
- cCURLFILETYPE_DEVICE_BLOCK :: CCURLfiletype
- cCURLFILETYPE_DEVICE_CHAR :: CCURLfiletype
- cCURLFILETYPE_NAMEDPIPE :: CCURLfiletype
- cCURLFILETYPE_SOCKET :: CCURLfiletype
- cCURLFILETYPE_DOOR :: CCURLfiletype
- cCURLFILETYPE_UNKNOWN :: CCURLfiletype
- cCURLFINFOFLAG_KNOWN_FILENAME :: CUInt
- cCURLFINFOFLAG_KNOWN_FILETYPE :: CUInt
- cCURLFINFOFLAG_KNOWN_TIME :: CUInt
- cCURLFINFOFLAG_KNOWN_PERM :: CUInt
- cCURLFINFOFLAG_KNOWN_UID :: CUInt
- cCURLFINFOFLAG_KNOWN_GID :: CUInt
- cCURLFINFOFLAG_KNOWN_SIZE :: CUInt
- cCURLFINFOFLAG_KNOWN_HLINKCOUNT :: CUInt
- data CCURL_fileinfo = CCURL_fileinfo {
- ccurl_fileinfo_filename :: Ptr CChar
- ccurl_fileinfo_filetype :: CCURLfiletype
- ccurl_fileinfo_time :: CTime
- ccurl_fileinfo_perm :: CUInt
- ccurl_fileinfo_uid :: CInt
- ccurl_fileinfo_gid :: CInt
- ccurl_fileinfo_size :: CCURL_off_t
- ccurl_fileinfo_hardlinks :: CLong
- ccurl_fileinfo_strings_time :: Ptr CChar
- ccurl_fileinfo_strings_perm :: Ptr CChar
- ccurl_fileinfo_strings_user :: Ptr CChar
- ccurl_fileinfo_strings_group :: Ptr CChar
- ccurl_fileinfo_strings_target :: Ptr CChar
- ccurl_fileinfo_flags :: CUInt
- ccurl_fileinfo_b_data :: Ptr CChar
- ccurl_fileinfo_b_size :: CSize
- ccurl_fileinfo_b_used :: CSize
- cCURL_CHUNK_BGN_FUNC_OK :: CLong
- cCURL_CHUNK_BGN_FUNC_FAIL :: CLong
- cCURL_CHUNK_BGN_FUNC_SKIP :: CLong
- type CCURL_chunk_bgn_callback = Ptr () -> Ptr () -> CInt -> IO CLong
- wrap_ccurl_chunk_bgn_callback :: CCURL_chunk_bgn_callback -> IO (FunPtr CCURL_chunk_bgn_callback)
- cCURL_CHUNK_END_FUNC_OK :: CLong
- cCURL_CHUNK_END_FUNC_FAIL :: CLong
- type CCURL_chunk_end_callback = Ptr () -> IO CLong
- wrap_ccurl_chunk_end_callback :: CCURL_chunk_end_callback -> IO (FunPtr CCURL_chunk_end_callback)
- cCURL_FNMATCHFUNC_MATCH :: CInt
- cCURL_FNMATCHFUNC_NOMATCH :: CInt
- cCURL_FNMATCHFUNC_FAIL :: CInt
- type CCURL_fnmatch_callback = Ptr () -> Ptr CChar -> Ptr CChar -> IO CInt
- wrap_ccurl_fnmatch_callback :: CCURL_fnmatch_callback -> IO (FunPtr CCURL_fnmatch_callback)
- cCURL_SEEKFUNC_OK :: CInt
- cCURL_SEEKFUNC_FAIL :: CInt
- cCURL_SEEKFUNC_CANTSEEK :: CInt
- type CCURL_seek_callback = Ptr () -> CCURL_off_t -> CInt -> IO CInt
- wrap_ccurl_seek_callback :: CCURL_seek_callback -> IO (FunPtr CCURL_seek_callback)
- cCURL_READFUNC_ABORT :: CSize
- cCURL_READFUNC_PAUSE :: CSize
- type CCURL_read_callback = Ptr CChar -> CSize -> CSize -> Ptr () -> IO CSize
- wrap_ccurl_read_callback :: CCURL_read_callback -> IO (FunPtr CCURL_read_callback)
- newtype CCURLsocktype = CCURLsocktype CInt
- cCURLSOCKTYPE_IPCXN :: CCURLsocktype
- cCURL_SOCKOPT_OK :: CInt
- cCURL_SOCKOPT_ERROR :: CInt
- cCURL_SOCKOPT_ALREADY_CONNECTED :: CInt
- type CCURL_sockopt_callback = Ptr () -> CCURL_socket_t -> CCURLsocktype -> IO CInt
- wrap_ccurl_sockopt_callback :: CCURL_sockopt_callback -> IO (FunPtr CCURL_sockopt_callback)
- data CCURL_sockaddr = CCURL_sockaddr {}
- type CCURL_opensocket_callback = Ptr () -> CCURLsocktype -> Ptr CCURL_sockaddr -> IO CCURL_socket_t
- wrap_ccurl_opensocket_callback :: CCURL_opensocket_callback -> IO (FunPtr CCURL_opensocket_callback)
- type CCURL_closesocket_callback = Ptr () -> CCURL_socket_t -> IO CInt
- wrap_ccurl_closesocket_callback :: CCURL_closesocket_callback -> IO (FunPtr CCURL_closesocket_callback)
- newtype CCURLioerr = CCURLioerr CInt
- cCURLIOE_OK :: CCURLioerr
- cCURLIOE_UNKNOWNCMD :: CCURLioerr
- cCURLIOE_FAILRESTART :: CCURLioerr
- newtype CCURLiocmd = CCURLiocmd CInt
- cCURLIOCMD_NOP :: CCURLiocmd
- cCURLIOCMD_RESTARTREAD :: CCURLiocmd
- type CCURL_ioctl_callback = Ptr CCURL -> CCURLiocmd -> Ptr () -> IO CCURLioerr
- wrap_ccurl_ioctl_callback :: CCURL_ioctl_callback -> IO (FunPtr CCURL_ioctl_callback)
- type CCURL_malloc_callback = CSize -> IO (Ptr ())
- wrap_ccurl_malloc_callback :: CCURL_malloc_callback -> IO (FunPtr CCURL_malloc_callback)
- type CCURL_free_callback = Ptr () -> IO ()
- wrap_ccurl_free_callback :: CCURL_free_callback -> IO (FunPtr CCURL_free_callback)
- type CCURL_realloc_callback = Ptr () -> CSize -> IO (Ptr ())
- wrap_ccurl_realloc_callback :: CCURL_realloc_callback -> IO (FunPtr CCURL_realloc_callback)
- type CCURL_strdup_callback = Ptr CChar -> IO (Ptr CChar)
- wrap_ccurl_strdup_callback :: CCURL_strdup_callback -> IO (FunPtr CCURL_strdup_callback)
- type CCURL_calloc_callback = CSize -> CSize -> IO (Ptr ())
- wrap_ccurl_calloc_callback :: CCURL_calloc_callback -> IO (FunPtr CCURL_calloc_callback)
- newtype CCURL_infotype = CCURL_infotype CInt
- cCURLINFO_TEXT :: CCURL_infotype
- cCURLINFO_HEADER_IN :: CCURL_infotype
- cCURLINFO_HEADER_OUT :: CCURL_infotype
- cCURLINFO_DATA_IN :: CCURL_infotype
- cCURLINFO_DATA_OUT :: CCURL_infotype
- cCURLINFO_SSL_DATA_IN :: CCURL_infotype
- cCURLINFO_SSL_DATA_OUT :: CCURL_infotype
- cCURLINFO_END :: CCURL_infotype
- type CCURL_debug_callback = Ptr CCURL -> CCURL_infotype -> Ptr CChar -> CSize -> Ptr () -> IO CInt
- wrap_ccurl_debug_callback :: CCURL_debug_callback -> IO (FunPtr CCURL_debug_callback)
- newtype CCURLcode = CCURLcode CInt
- cCURLE_OK :: CCURLcode
- cCURLE_UNSUPPORTED_PROTOCOL :: CCURLcode
- cCURLE_FAILED_INIT :: CCURLcode
- cCURLE_URL_MALFORMAT :: CCURLcode
- cCURLE_NOT_BUILT_IN :: CCURLcode
- cCURLE_COULDNT_RESOLVE_PROXY :: CCURLcode
- cCURLE_COULDNT_RESOLVE_HOST :: CCURLcode
- cCURLE_COULDNT_CONNECT :: CCURLcode
- cCURLE_FTP_WEIRD_SERVER_REPLY :: CCURLcode
- cCURLE_REMOTE_ACCESS_DENIED :: CCURLcode
- cCURLE_FTP_ACCEPT_FAILED :: CCURLcode
- cCURLE_FTP_WEIRD_PASS_REPLY :: CCURLcode
- cCURLE_FTP_ACCEPT_TIMEOUT :: CCURLcode
- cCURLE_FTP_WEIRD_PASV_REPLY :: CCURLcode
- cCURLE_FTP_WEIRD_227_FORMAT :: CCURLcode
- cCURLE_FTP_CANT_GET_HOST :: CCURLcode
- cCURLE_FTP_COULDNT_SET_TYPE :: CCURLcode
- cCURLE_PARTIAL_FILE :: CCURLcode
- cCURLE_FTP_COULDNT_RETR_FILE :: CCURLcode
- cCURLE_QUOTE_ERROR :: CCURLcode
- cCURLE_HTTP_RETURNED_ERROR :: CCURLcode
- cCURLE_WRITE_ERROR :: CCURLcode
- cCURLE_UPLOAD_FAILED :: CCURLcode
- cCURLE_READ_ERROR :: CCURLcode
- cCURLE_OUT_OF_MEMORY :: CCURLcode
- cCURLE_OPERATION_TIMEDOUT :: CCURLcode
- cCURLE_FTP_PORT_FAILED :: CCURLcode
- cCURLE_FTP_COULDNT_USE_REST :: CCURLcode
- cCURLE_RANGE_ERROR :: CCURLcode
- cCURLE_HTTP_POST_ERROR :: CCURLcode
- cCURLE_SSL_CONNECT_ERROR :: CCURLcode
- cCURLE_BAD_DOWNLOAD_RESUME :: CCURLcode
- cCURLE_FILE_COULDNT_READ_FILE :: CCURLcode
- cCURLE_LDAP_CANNOT_BIND :: CCURLcode
- cCURLE_LDAP_SEARCH_FAILED :: CCURLcode
- cCURLE_FUNCTION_NOT_FOUND :: CCURLcode
- cCURLE_ABORTED_BY_CALLBACK :: CCURLcode
- cCURLE_BAD_FUNCTION_ARGUMENT :: CCURLcode
- cCURLE_INTERFACE_FAILED :: CCURLcode
- cCURLE_TOO_MANY_REDIRECTS :: CCURLcode
- cCURLE_UNKNOWN_OPTION :: CCURLcode
- cCURLE_TELNET_OPTION_SYNTAX :: CCURLcode
- cCURLE_PEER_FAILED_VERIFICATION :: CCURLcode
- cCURLE_GOT_NOTHING :: CCURLcode
- cCURLE_SSL_ENGINE_NOTFOUND :: CCURLcode
- cCURLE_SSL_ENGINE_SETFAILED :: CCURLcode
- cCURLE_SEND_ERROR :: CCURLcode
- cCURLE_RECV_ERROR :: CCURLcode
- cCURLE_SSL_CERTPROBLEM :: CCURLcode
- cCURLE_SSL_CIPHER :: CCURLcode
- cCURLE_SSL_CACERT :: CCURLcode
- cCURLE_BAD_CONTENT_ENCODING :: CCURLcode
- cCURLE_LDAP_INVALID_URL :: CCURLcode
- cCURLE_FILESIZE_EXCEEDED :: CCURLcode
- cCURLE_USE_SSL_FAILED :: CCURLcode
- cCURLE_SEND_FAIL_REWIND :: CCURLcode
- cCURLE_SSL_ENGINE_INITFAILED :: CCURLcode
- cCURLE_LOGIN_DENIED :: CCURLcode
- cCURLE_TFTP_NOTFOUND :: CCURLcode
- cCURLE_TFTP_PERM :: CCURLcode
- cCURLE_REMOTE_DISK_FULL :: CCURLcode
- cCURLE_TFTP_ILLEGAL :: CCURLcode
- cCURLE_TFTP_UNKNOWNID :: CCURLcode
- cCURLE_REMOTE_FILE_EXISTS :: CCURLcode
- cCURLE_TFTP_NOSUCHUSER :: CCURLcode
- cCURLE_CONV_FAILED :: CCURLcode
- cCURLE_CONV_REQD :: CCURLcode
- cCURLE_SSL_CACERT_BADFILE :: CCURLcode
- cCURLE_REMOTE_FILE_NOT_FOUND :: CCURLcode
- cCURLE_SSH :: CCURLcode
- cCURLE_SSL_SHUTDOWN_FAILED :: CCURLcode
- cCURLE_AGAIN :: CCURLcode
- cCURLE_SSL_CRL_BADFILE :: CCURLcode
- cCURLE_SSL_ISSUER_ERROR :: CCURLcode
- cCURLE_FTP_PRET_FAILED :: CCURLcode
- cCURLE_RTSP_CSEQ_ERROR :: CCURLcode
- cCURLE_RTSP_SESSION_ERROR :: CCURLcode
- cCURLE_FTP_BAD_FILE_LIST :: CCURLcode
- cCURLE_CHUNK_FAILED :: CCURLcode
- type CCURL_conv_callback = Ptr CChar -> CSize -> IO CCURLcode
- wrap_ccurl_conv_callback :: CCURL_conv_callback -> IO (FunPtr CCURL_conv_callback)
- type CCURL_ssl_ctx_callback = Ptr CCURL -> Ptr () -> Ptr () -> IO CCURLcode
- wrap_ccurl_ssl_ctx_callback :: CCURL_ssl_ctx_callback -> IO (FunPtr CCURL_ssl_ctx_callback)
- cCURLPROXY_HTTP :: CLong
- cCURLPROXY_HTTP_1_0 :: CLong
- cCURLPROXY_SOCKS4 :: CLong
- cCURLPROXY_SOCKS5 :: CLong
- cCURLPROXY_SOCKS4A :: CLong
- cCURLPROXY_SOCKS5_HOSTNAME :: CLong
- cCURLAUTH_NONE :: CLong
- cCURLAUTH_BASIC :: CLong
- cCURLAUTH_DIGEST :: CLong
- cCURLAUTH_GSSNEGOTIATE :: CLong
- cCURLAUTH_NTLM :: CLong
- cCURLAUTH_DIGEST_IE :: CLong
- cCURLAUTH_NTLM_WB :: CLong
- cCURLAUTH_ONLY :: CLong
- cCURLAUTH_ANY :: CLong
- cCURLAUTH_ANYSAFE :: CLong
- cCURLSSH_AUTH_ANY :: CLong
- cCURLSSH_AUTH_NONE :: CLong
- cCURLSSH_AUTH_PUBLICKEY :: CLong
- cCURLSSH_AUTH_PASSWORD :: CLong
- cCURLSSH_AUTH_HOST :: CLong
- cCURLSSH_AUTH_KEYBOARD :: CLong
- cCURLSSH_AUTH_DEFAULT :: CLong
- cCURLGSSAPI_DELEGATION_NONE :: CLong
- cCURLGSSAPI_DELEGATION_POLICY_FLAG :: CLong
- cCURLGSSAPI_DELEGATION_FLAG :: CLong
- cCURL_ERROR_SIZE :: CLong
- data CCURL_khkey = CCURL_khkey {}
- newtype CCURL_khtype = CCURL_khtype CInt
- cCURLKHTYPE_UNKNOWN :: CCURL_khtype
- cCURLKHTYPE_RSA1 :: CCURL_khtype
- cCURLKHTYPE_RSA :: CCURL_khtype
- cCURLKHTYPE_DSS :: CCURL_khtype
- newtype CCURL_khstat = CCURL_khstat CInt
- cCURLKHSTAT_FINE_ADD_TO_FILE :: CCURL_khstat
- cCURLKHSTAT_FINE :: CCURL_khstat
- cCURLKHSTAT_REJECT :: CCURL_khstat
- cCURLKHSTAT_DEFER :: CCURL_khstat
- newtype CCURL_khmatch = CCURL_khmatch CInt
- cCURLKHMATCH_OK :: CCURL_khmatch
- cCURLKHMATCH_MISMATCH :: CCURL_khmatch
- cCURLKHMATCH_MISSING :: CCURL_khmatch
- type CCURL_sshkey_callback = Ptr CCURL -> Ptr CCURL_khkey -> Ptr CCURL_khkey -> CCURL_khmatch -> Ptr () -> IO CCURL_khstat
- wrap_ccurl_sshkey_callback :: CCURL_sshkey_callback -> IO (FunPtr CCURL_sshkey_callback)
- cCURLUSESSL_NONE :: CLong
- cCURLUSESSL_TRY :: CLong
- cCURLUSESSL_CONTROL :: CLong
- cCURLUSESSL_ALL :: CLong
- cCURLSSLOPT_ALLOW_BEAST :: CLong
- cCURLFTPSSL_CCC_NONE :: CLong
- cCURLFTPSSL_CCC_PASSIVE :: CLong
- cCURLFTPSSL_CCC_ACTIVE :: CLong
- cCURLFTPAUTH_DEFAULT :: CLong
- cCURLFTPAUTH_SSL :: CLong
- cCURLFTPAUTH_TLS :: CLong
- cCURLFTP_CREATE_DIR_NONE :: CLong
- cCURLFTP_CREATE_DIR :: CLong
- cCURLFTP_CREATE_DIR_RETRY :: CLong
- cCURLFTPMETHOD_DEFAULT :: CLong
- cCURLFTPMETHOD_MULTICWD :: CLong
- cCURLFTPMETHOD_NOCWD :: CLong
- cCURLFTPMETHOD_SINGLECWD :: CLong
- cCURLPROTO_HTTP :: CLong
- cCURLPROTO_HTTPS :: CLong
- cCURLPROTO_FTP :: CLong
- cCURLPROTO_FTPS :: CLong
- cCURLPROTO_SCP :: CLong
- cCURLPROTO_SFTP :: CLong
- cCURLPROTO_TELNET :: CLong
- cCURLPROTO_LDAP :: CLong
- cCURLPROTO_LDAPS :: CLong
- cCURLPROTO_DICT :: CLong
- cCURLPROTO_FILE :: CLong
- cCURLPROTO_TFTP :: CLong
- cCURLPROTO_IMAP :: CLong
- cCURLPROTO_IMAPS :: CLong
- cCURLPROTO_POP3 :: CLong
- cCURLPROTO_POP3S :: CLong
- cCURLPROTO_SMTP :: CLong
- cCURLPROTO_SMTPS :: CLong
- cCURLPROTO_RTSP :: CLong
- cCURLPROTO_RTMP :: CLong
- cCURLPROTO_RTMPT :: CLong
- cCURLPROTO_RTMPE :: CLong
- cCURLPROTO_RTMPTE :: CLong
- cCURLPROTO_RTMPS :: CLong
- cCURLPROTO_RTMPTS :: CLong
- cCURLPROTO_GOPHER :: CLong
- cCURLPROTO_ALL :: CLong
- newtype CCURLoption'CLong = CCURLoption'CLong CInt
- newtype CCURLoption'Int64 = CCURLoption'Int64 CInt
- newtype CCURLoption'CString = CCURLoption'CString CInt
- newtype CCURLoption'CFile = CCURLoption'CFile CInt
- newtype CCURLoption'SList = CCURLoption'SList CInt
- newtype CCURLoption'HTTPP = CCURLoption'HTTPP CInt
- newtype CCURLoption'CURLSH = CCURLoption'CURLSH CInt
- newtype CCURLoption'UsrPtr = CCURLoption'UsrPtr CInt
- newtype CCURLoption'FunPtr = CCURLoption'FunPtr CInt
- cCURLOPT_FILE :: CCURLoption'CFile
- cCURLOPT_URL :: CCURLoption'CString
- cCURLOPT_PORT :: CCURLoption'CLong
- cCURLOPT_PROXY :: CCURLoption'CString
- cCURLOPT_USERPWD :: CCURLoption'CString
- cCURLOPT_PROXYUSERPWD :: CCURLoption'CString
- cCURLOPT_RANGE :: CCURLoption'CString
- cCURLOPT_INFILE :: CCURLoption'CFile
- cCURLOPT_ERRORBUFFER :: CCURLoption'CString
- cCURLOPT_WRITEFUNCTION :: CCURLoption'FunPtr
- cCURLOPT_READFUNCTION :: CCURLoption'FunPtr
- cCURLOPT_TIMEOUT :: CCURLoption'CLong
- cCURLOPT_INFILESIZE :: CCURLoption'CLong
- cCURLOPT_POSTFIELDS :: CCURLoption'CString
- cCURLOPT_REFERER :: CCURLoption'CString
- cCURLOPT_FTPPORT :: CCURLoption'CString
- cCURLOPT_USERAGENT :: CCURLoption'CString
- cCURLOPT_LOW_SPEED_LIMIT :: CCURLoption'CLong
- cCURLOPT_LOW_SPEED_TIME :: CCURLoption'CLong
- cCURLOPT_RESUME_FROM :: CCURLoption'CLong
- cCURLOPT_COOKIE :: CCURLoption'CString
- cCURLOPT_HTTPHEADER :: CCURLoption'SList
- cCURLOPT_HTTPPOST :: CCURLoption'HTTPP
- cCURLOPT_SSLCERT :: CCURLoption'CString
- cCURLOPT_KEYPASSWD :: CCURLoption'CString
- cCURLOPT_CRLF :: CCURLoption'CLong
- cCURLOPT_QUOTE :: CCURLoption'SList
- cCURLOPT_WRITEHEADER :: CCURLoption'CFile
- cCURLOPT_COOKIEFILE :: CCURLoption'CString
- cCURLOPT_SSLVERSION :: CCURLoption'CLong
- cCURLOPT_TIMECONDITION :: CCURLoption'CLong
- cCURLOPT_TIMEVALUE :: CCURLoption'CLong
- cCURLOPT_CUSTOMREQUEST :: CCURLoption'CString
- cCURLOPT_STDERR :: CCURLoption'CFile
- cCURLOPT_POSTQUOTE :: CCURLoption'SList
- cCURLOPT_WRITEINFO :: CCURLoption'CString
- cCURLOPT_VERBOSE :: CCURLoption'CLong
- cCURLOPT_HEADER :: CCURLoption'CLong
- cCURLOPT_NOPROGRESS :: CCURLoption'CLong
- cCURLOPT_NOBODY :: CCURLoption'CLong
- cCURLOPT_FAILONERROR :: CCURLoption'CLong
- cCURLOPT_UPLOAD :: CCURLoption'CLong
- cCURLOPT_POST :: CCURLoption'CLong
- cCURLOPT_DIRLISTONLY :: CCURLoption'CLong
- cCURLOPT_APPEND :: CCURLoption'CLong
- cCURLOPT_NETRC :: CCURLoption'CLong
- cCURLOPT_FOLLOWLOCATION :: CCURLoption'CLong
- cCURLOPT_TRANSFERTEXT :: CCURLoption'CLong
- cCURLOPT_PUT :: CCURLoption'CLong
- cCURLOPT_PROGRESSFUNCTION :: CCURLoption'FunPtr
- cCURLOPT_PROGRESSDATA :: CCURLoption'UsrPtr
- cCURLOPT_AUTOREFERER :: CCURLoption'CLong
- cCURLOPT_PROXYPORT :: CCURLoption'CLong
- cCURLOPT_POSTFIELDSIZE :: CCURLoption'CLong
- cCURLOPT_HTTPPROXYTUNNEL :: CCURLoption'CLong
- cCURLOPT_INTERFACE :: CCURLoption'CString
- cCURLOPT_KRBLEVEL :: CCURLoption'CString
- cCURLOPT_SSL_VERIFYPEER :: CCURLoption'CLong
- cCURLOPT_CAINFO :: CCURLoption'CString
- cCURLOPT_MAXREDIRS :: CCURLoption'CLong
- cCURLOPT_FILETIME :: CCURLoption'CLong
- cCURLOPT_TELNETOPTIONS :: CCURLoption'SList
- cCURLOPT_MAXCONNECTS :: CCURLoption'CLong
- cCURLOPT_CLOSEPOLICY :: CCURLoption'CLong
- cCURLOPT_FRESH_CONNECT :: CCURLoption'CLong
- cCURLOPT_FORBID_REUSE :: CCURLoption'CLong
- cCURLOPT_RANDOM_FILE :: CCURLoption'CString
- cCURLOPT_EGDSOCKET :: CCURLoption'CString
- cCURLOPT_CONNECTTIMEOUT :: CCURLoption'CLong
- cCURLOPT_HEADERFUNCTION :: CCURLoption'FunPtr
- cCURLOPT_HTTPGET :: CCURLoption'CLong
- cCURLOPT_SSL_VERIFYHOST :: CCURLoption'CLong
- cCURLOPT_COOKIEJAR :: CCURLoption'CString
- cCURLOPT_SSL_CIPHER_LIST :: CCURLoption'CString
- cCURLOPT_HTTP_VERSION :: CCURLoption'CLong
- cCURLOPT_FTP_USE_EPSV :: CCURLoption'CLong
- cCURLOPT_SSLCERTTYPE :: CCURLoption'CString
- cCURLOPT_SSLKEY :: CCURLoption'CString
- cCURLOPT_SSLKEYTYPE :: CCURLoption'CString
- cCURLOPT_SSLENGINE :: CCURLoption'CString
- cCURLOPT_SSLENGINE_DEFAULT :: CCURLoption'CLong
- cCURLOPT_DNS_USE_GLOBAL_CACHE :: CCURLoption'CLong
- cCURLOPT_DNS_CACHE_TIMEOUT :: CCURLoption'CLong
- cCURLOPT_PREQUOTE :: CCURLoption'SList
- cCURLOPT_DEBUGFUNCTION :: CCURLoption'FunPtr
- cCURLOPT_DEBUGDATA :: CCURLoption'UsrPtr
- cCURLOPT_COOKIESESSION :: CCURLoption'CLong
- cCURLOPT_CAPATH :: CCURLoption'CString
- cCURLOPT_BUFFERSIZE :: CCURLoption'CLong
- cCURLOPT_NOSIGNAL :: CCURLoption'CLong
- cCURLOPT_SHARE :: CCURLoption'CURLSH
- cCURLOPT_PROXYTYPE :: CCURLoption'CLong
- cCURLOPT_ACCEPT_ENCODING :: CCURLoption'CString
- cCURLOPT_PRIVATE :: CCURLoption'UsrPtr
- cCURLOPT_HTTP200ALIASES :: CCURLoption'SList
- cCURLOPT_UNRESTRICTED_AUTH :: CCURLoption'CLong
- cCURLOPT_FTP_USE_EPRT :: CCURLoption'CLong
- cCURLOPT_HTTPAUTH :: CCURLoption'CLong
- cCURLOPT_SSL_CTX_FUNCTION :: CCURLoption'FunPtr
- cCURLOPT_SSL_CTX_DATA :: CCURLoption'UsrPtr
- cCURLOPT_FTP_CREATE_MISSING_DIRS :: CCURLoption'CLong
- cCURLOPT_PROXYAUTH :: CCURLoption'CLong
- cCURLOPT_FTP_RESPONSE_TIMEOUT :: CCURLoption'CLong
- cCURLOPT_IPRESOLVE :: CCURLoption'CLong
- cCURLOPT_MAXFILESIZE :: CCURLoption'CLong
- cCURLOPT_INFILESIZE_LARGE :: CCURLoption'Int64
- cCURLOPT_RESUME_FROM_LARGE :: CCURLoption'Int64
- cCURLOPT_MAXFILESIZE_LARGE :: CCURLoption'Int64
- cCURLOPT_NETRC_FILE :: CCURLoption'CString
- cCURLOPT_USE_SSL :: CCURLoption'CLong
- cCURLOPT_POSTFIELDSIZE_LARGE :: CCURLoption'Int64
- cCURLOPT_TCP_NODELAY :: CCURLoption'CLong
- cCURLOPT_FTPSSLAUTH :: CCURLoption'CLong
- cCURLOPT_IOCTLFUNCTION :: CCURLoption'FunPtr
- cCURLOPT_IOCTLDATA :: CCURLoption'UsrPtr
- cCURLOPT_FTP_ACCOUNT :: CCURLoption'CString
- cCURLOPT_COOKIELIST :: CCURLoption'CString
- cCURLOPT_IGNORE_CONTENT_LENGTH :: CCURLoption'CLong
- cCURLOPT_FTP_SKIP_PASV_IP :: CCURLoption'CLong
- cCURLOPT_FTP_FILEMETHOD :: CCURLoption'CLong
- cCURLOPT_LOCALPORT :: CCURLoption'CLong
- cCURLOPT_LOCALPORTRANGE :: CCURLoption'CLong
- cCURLOPT_CONNECT_ONLY :: CCURLoption'CLong
- cCURLOPT_CONV_FROM_NETWORK_FUNCTION :: CCURLoption'FunPtr
- cCURLOPT_CONV_TO_NETWORK_FUNCTION :: CCURLoption'FunPtr
- cCURLOPT_CONV_FROM_UTF8_FUNCTION :: CCURLoption'FunPtr
- cCURLOPT_MAX_SEND_SPEED_LARGE :: CCURLoption'Int64
- cCURLOPT_MAX_RECV_SPEED_LARGE :: CCURLoption'Int64
- cCURLOPT_FTP_ALTERNATIVE_TO_USER :: CCURLoption'CString
- cCURLOPT_SOCKOPTFUNCTION :: CCURLoption'FunPtr
- cCURLOPT_SOCKOPTDATA :: CCURLoption'UsrPtr
- cCURLOPT_SSL_SESSIONID_CACHE :: CCURLoption'CLong
- cCURLOPT_SSH_AUTH_TYPES :: CCURLoption'CLong
- cCURLOPT_SSH_PUBLIC_KEYFILE :: CCURLoption'CString
- cCURLOPT_SSH_PRIVATE_KEYFILE :: CCURLoption'CString
- cCURLOPT_FTP_SSL_CCC :: CCURLoption'CLong
- cCURLOPT_TIMEOUT_MS :: CCURLoption'CLong
- cCURLOPT_CONNECTTIMEOUT_MS :: CCURLoption'CLong
- cCURLOPT_HTTP_TRANSFER_DECODING :: CCURLoption'CLong
- cCURLOPT_HTTP_CONTENT_DECODING :: CCURLoption'CLong
- cCURLOPT_NEW_FILE_PERMS :: CCURLoption'CLong
- cCURLOPT_NEW_DIRECTORY_PERMS :: CCURLoption'CLong
- cCURLOPT_POSTREDIR :: CCURLoption'CLong
- cCURLOPT_SSH_HOST_PUBLIC_KEY_MD5 :: CCURLoption'CString
- cCURLOPT_OPENSOCKETFUNCTION :: CCURLoption'FunPtr
- cCURLOPT_OPENSOCKETDATA :: CCURLoption'UsrPtr
- cCURLOPT_COPYPOSTFIELDS :: CCURLoption'CString
- cCURLOPT_PROXY_TRANSFER_MODE :: CCURLoption'CLong
- cCURLOPT_SEEKFUNCTION :: CCURLoption'FunPtr
- cCURLOPT_SEEKDATA :: CCURLoption'UsrPtr
- cCURLOPT_CRLFILE :: CCURLoption'CString
- cCURLOPT_ISSUERCERT :: CCURLoption'CString
- cCURLOPT_ADDRESS_SCOPE :: CCURLoption'CLong
- cCURLOPT_CERTINFO :: CCURLoption'CLong
- cCURLOPT_USERNAME :: CCURLoption'CString
- cCURLOPT_PASSWORD :: CCURLoption'CString
- cCURLOPT_PROXYUSERNAME :: CCURLoption'CString
- cCURLOPT_PROXYPASSWORD :: CCURLoption'CString
- cCURLOPT_NOPROXY :: CCURLoption'CString
- cCURLOPT_TFTP_BLKSIZE :: CCURLoption'CLong
- cCURLOPT_SOCKS5_GSSAPI_SERVICE :: CCURLoption'CString
- cCURLOPT_SOCKS5_GSSAPI_NEC :: CCURLoption'CLong
- cCURLOPT_PROTOCOLS :: CCURLoption'CLong
- cCURLOPT_REDIR_PROTOCOLS :: CCURLoption'CLong
- cCURLOPT_SSH_KNOWNHOSTS :: CCURLoption'CString
- cCURLOPT_SSH_KEYFUNCTION :: CCURLoption'FunPtr
- cCURLOPT_SSH_KEYDATA :: CCURLoption'UsrPtr
- cCURLOPT_MAIL_FROM :: CCURLoption'CString
- cCURLOPT_MAIL_RCPT :: CCURLoption'SList
- cCURLOPT_FTP_USE_PRET :: CCURLoption'CLong
- cCURLOPT_RTSP_REQUEST :: CCURLoption'CLong
- cCURLOPT_RTSP_SESSION_ID :: CCURLoption'CString
- cCURLOPT_RTSP_STREAM_URI :: CCURLoption'CString
- cCURLOPT_RTSP_TRANSPORT :: CCURLoption'CString
- cCURLOPT_RTSP_CLIENT_CSEQ :: CCURLoption'CLong
- cCURLOPT_RTSP_SERVER_CSEQ :: CCURLoption'CLong
- cCURLOPT_INTERLEAVEDATA :: CCURLoption'UsrPtr
- cCURLOPT_INTERLEAVEFUNCTION :: CCURLoption'FunPtr
- cCURLOPT_WILDCARDMATCH :: CCURLoption'CLong
- cCURLOPT_CHUNK_BGN_FUNCTION :: CCURLoption'FunPtr
- cCURLOPT_CHUNK_END_FUNCTION :: CCURLoption'FunPtr
- cCURLOPT_FNMATCH_FUNCTION :: CCURLoption'FunPtr
- cCURLOPT_CHUNK_DATA :: CCURLoption'UsrPtr
- cCURLOPT_FNMATCH_DATA :: CCURLoption'UsrPtr
- cCURLOPT_RESOLVE :: CCURLoption'SList
- cCURLOPT_TLSAUTH_USERNAME :: CCURLoption'CString
- cCURLOPT_TLSAUTH_PASSWORD :: CCURLoption'CString
- cCURLOPT_TLSAUTH_TYPE :: CCURLoption'CString
- cCURLOPT_TRANSFER_ENCODING :: CCURLoption'CLong
- cCURLOPT_CLOSESOCKETFUNCTION :: CCURLoption'FunPtr
- cCURLOPT_CLOSESOCKETDATA :: CCURLoption'UsrPtr
- cCURLOPT_GSSAPI_DELEGATION :: CCURLoption'CLong
- cCURLOPT_DNS_SERVERS :: CCURLoption'CString
- cCURLOPT_ACCEPTTIMEOUT_MS :: CCURLoption'CLong
- cCURLOPT_TCP_KEEPALIVE :: CCURLoption'CLong
- cCURLOPT_TCP_KEEPIDLE :: CCURLoption'CLong
- cCURLOPT_TCP_KEEPINTVL :: CCURLoption'CLong
- cCURLOPT_SSL_OPTIONS :: CCURLoption'CLong
- cCURLOPT_MAIL_AUTH :: CCURLoption'CString
- cCURLOPT_WRITEDATA :: CCURLoption'UsrPtr
- cCURLOPT_READDATA :: CCURLoption'UsrPtr
- cCURLOPT_HEADERDATA :: CCURLoption'UsrPtr
- cCURLOPT_RTSPHEADER :: CCURLoption'SList
- cCURL_IPRESOLVE_WHATEVER :: CLong
- cCURL_IPRESOLVE_V4 :: CLong
- cCURL_IPRESOLVE_V6 :: CLong
- cCURL_HTTP_VERSION_NONE :: CLong
- cCURL_HTTP_VERSION_1_0 :: CLong
- cCURL_HTTP_VERSION_1_1 :: CLong
- cCURL_RTSPREQ_NONE :: CLong
- cCURL_RTSPREQ_OPTIONS :: CLong
- cCURL_RTSPREQ_DESCRIBE :: CLong
- cCURL_RTSPREQ_ANNOUNCE :: CLong
- cCURL_RTSPREQ_SETUP :: CLong
- cCURL_RTSPREQ_PLAY :: CLong
- cCURL_RTSPREQ_PAUSE :: CLong
- cCURL_RTSPREQ_TEARDOWN :: CLong
- cCURL_RTSPREQ_GET_PARAMETER :: CLong
- cCURL_RTSPREQ_SET_PARAMETER :: CLong
- cCURL_RTSPREQ_RECORD :: CLong
- cCURL_RTSPREQ_RECEIVE :: CLong
- cCURL_NETRC_IGNORED :: CLong
- cCURL_NETRC_OPTIONAL :: CLong
- cCURL_NETRC_REQUIRED :: CLong
- cCURL_SSLVERSION_DEFAULT :: CLong
- cCURL_SSLVERSION_TLSv1 :: CLong
- cCURL_SSLVERSION_SSLv2 :: CLong
- cCURL_SSLVERSION_SSLv3 :: CLong
- cCURL_TLSAUTH_NONE :: CLong
- cCURL_TLSAUTH_SRP :: CLong
- cCURL_REDIR_GET_ALL :: CLong
- cCURL_REDIR_POST_301 :: CLong
- cCURL_REDIR_POST_302 :: CLong
- cCURL_REDIR_POST_ALL :: CLong
- cCURL_TIMECOND_NONE :: CLong
- cCURL_TIMECOND_IFMODSINCE :: CLong
- cCURL_TIMECOND_IFUNMODSINCE :: CLong
- cCURL_TIMECOND_LASTMOD :: CLong
- ccurl_strequal :: Ptr CChar -> Ptr CChar -> IO CInt
- ccurl_strnequal :: Ptr CChar -> Ptr CChar -> CSize -> IO CInt
- newtype CCURLformoption = CCURLformoption CInt
- data CCURL_forms = CCURL_forms {}
- newtype CCURLformcode = CCURLformcode CInt
- cCURL_FORMADD_OK :: CCURLformcode
- cCURL_FORMADD_MEMORY :: CCURLformcode
- cCURL_FORMADD_OPTION_TWICE :: CCURLformcode
- cCURL_FORMADD_NULL :: CCURLformcode
- cCURL_FORMADD_UNKNOWN_OPTION :: CCURLformcode
- cCURL_FORMADD_INCOMPLETE :: CCURLformcode
- cCURL_FORMADD_ILLEGAL_ARRAY :: CCURLformcode
- cCURL_FORMADD_DISABLED :: CCURLformcode
- type CCURL_formget_callback = Ptr () -> Ptr CChar -> CSize -> IO CSize
- wrap_ccurl_formget_callback :: CCURL_formget_callback -> IO (FunPtr CCURL_formget_callback)
- ccurl_formget :: Ptr CCURL_httppost -> Ptr () -> FunPtr CCURL_formget_callback -> IO CInt
- ccurl_formfree :: Ptr CCURL_httppost -> IO ()
- ccurl_getenv :: Ptr CChar -> IO (Ptr CChar)
- ccurl_version :: IO (Ptr CChar)
- ccurl_easy_escape :: Ptr CCURL -> Ptr CChar -> CInt -> IO (Ptr CChar)
- ccurl_escape :: Ptr CChar -> CInt -> IO (Ptr CChar)
- ccurl_easy_unescape :: Ptr CCURL -> Ptr CChar -> CInt -> Ptr CInt -> IO (Ptr CChar)
- ccurl_unescape :: Ptr CChar -> CInt -> IO (Ptr CChar)
- ccurl_free :: Ptr a -> IO ()
- ccurl_global_init :: CLong -> IO CCURLcode
- ccurl_global_init_mem :: CLong -> FunPtr CCURL_malloc_callback -> FunPtr CCURL_free_callback -> FunPtr CCURL_realloc_callback -> FunPtr CCURL_strdup_callback -> FunPtr CCURL_calloc_callback -> IO CCURLcode
- ccurl_global_cleanup :: IO ()
- data CCURL_slist = CCURL_slist {}
- ccurl_slist_append :: Ptr CCURL_slist -> Ptr CChar -> IO (Ptr CCURL_slist)
- ccurl_slist_free_all :: Ptr CCURL_slist -> IO ()
- ccurl_getdate :: Ptr CChar -> Ptr CTime -> IO CTime
- data CCURL_certinfo = CCURL_certinfo {}
- newtype CCURLinfo'CString = CCURLinfo'CString CInt
- newtype CCURLinfo'CDouble = CCURLinfo'CDouble CInt
- newtype CCURLinfo'CLong = CCURLinfo'CLong CInt
- newtype CCURLinfo'SList = CCURLinfo'SList CInt
- newtype CCURLinfo'CertI = CCURLinfo'CertI CInt
- cCURLINFO_EFFECTIVE_URL :: CCURLinfo'CString
- cCURLINFO_RESPONSE_CODE :: CCURLinfo'CLong
- cCURLINFO_TOTAL_TIME :: CCURLinfo'CDouble
- cCURLINFO_NAMELOOKUP_TIME :: CCURLinfo'CDouble
- cCURLINFO_CONNECT_TIME :: CCURLinfo'CDouble
- cCURLINFO_PRETRANSFER_TIME :: CCURLinfo'CDouble
- cCURLINFO_SIZE_UPLOAD :: CCURLinfo'CDouble
- cCURLINFO_SIZE_DOWNLOAD :: CCURLinfo'CDouble
- cCURLINFO_SPEED_DOWNLOAD :: CCURLinfo'CDouble
- cCURLINFO_SPEED_UPLOAD :: CCURLinfo'CDouble
- cCURLINFO_HEADER_SIZE :: CCURLinfo'CLong
- cCURLINFO_REQUEST_SIZE :: CCURLinfo'CLong
- cCURLINFO_SSL_VERIFYRESULT :: CCURLinfo'CLong
- cCURLINFO_FILETIME :: CCURLinfo'CLong
- cCURLINFO_CONTENT_LENGTH_DOWNLOAD :: CCURLinfo'CDouble
- cCURLINFO_CONTENT_LENGTH_UPLOAD :: CCURLinfo'CDouble
- cCURLINFO_STARTTRANSFER_TIME :: CCURLinfo'CDouble
- cCURLINFO_CONTENT_TYPE :: CCURLinfo'CString
- cCURLINFO_REDIRECT_TIME :: CCURLinfo'CDouble
- cCURLINFO_REDIRECT_COUNT :: CCURLinfo'CLong
- cCURLINFO_PRIVATE :: CCURLinfo'CString
- cCURLINFO_HTTP_CONNECTCODE :: CCURLinfo'CLong
- cCURLINFO_HTTPAUTH_AVAIL :: CCURLinfo'CLong
- cCURLINFO_PROXYAUTH_AVAIL :: CCURLinfo'CLong
- cCURLINFO_OS_ERRNO :: CCURLinfo'CLong
- cCURLINFO_NUM_CONNECTS :: CCURLinfo'CLong
- cCURLINFO_SSL_ENGINES :: CCURLinfo'SList
- cCURLINFO_COOKIELIST :: CCURLinfo'SList
- cCURLINFO_LASTSOCKET :: CCURLinfo'CLong
- cCURLINFO_FTP_ENTRY_PATH :: CCURLinfo'CString
- cCURLINFO_REDIRECT_URL :: CCURLinfo'CString
- cCURLINFO_PRIMARY_IP :: CCURLinfo'CString
- cCURLINFO_APPCONNECT_TIME :: CCURLinfo'CDouble
- cCURLINFO_CERTINFO :: CCURLinfo'CertI
- cCURLINFO_CONDITION_UNMET :: CCURLinfo'CLong
- cCURLINFO_RTSP_SESSION_ID :: CCURLinfo'CString
- cCURLINFO_RTSP_CLIENT_CSEQ :: CCURLinfo'CLong
- cCURLINFO_RTSP_SERVER_CSEQ :: CCURLinfo'CLong
- cCURLINFO_RTSP_CSEQ_RECV :: CCURLinfo'CLong
- cCURLINFO_PRIMARY_PORT :: CCURLinfo'CLong
- cCURLINFO_LOCAL_IP :: CCURLinfo'CString
- cCURLINFO_LOCAL_PORT :: CCURLinfo'CLong
- cCURLCLOSEPOLICY_NONE :: CLong
- cCURLCLOSEPOLICY_OLDEST :: CLong
- cCURLCLOSEPOLICY_LEAST_RECENTLY_USED :: CLong
- cCURLCLOSEPOLICY_LEAST_TRAFFIC :: CLong
- cCURLCLOSEPOLICY_SLOWEST :: CLong
- cCURLCLOSEPOLICY_CALLBACK :: CLong
- cCURL_GLOBAL_SSL :: CLong
- cCURL_GLOBAL_WIN32 :: CLong
- cCURL_GLOBAL_ALL :: CLong
- cCURL_GLOBAL_NOTHING :: CLong
- cCURL_GLOBAL_DEFAULT :: CLong
- newtype CCURL_lock_data = CCURL_lock_data CInt
- cCURL_LOCK_DATA_COOKIE :: CCURL_lock_data
- cCURL_LOCK_DATA_DNS :: CCURL_lock_data
- cCURL_LOCK_DATA_SSL_SESSION :: CCURL_lock_data
- cCURL_LOCK_DATA_CONNECT :: CCURL_lock_data
- newtype CCURL_lock_access = CCURL_lock_access CInt
- cCURL_LOCK_ACCESS_NONE :: CCURL_lock_access
- cCURL_LOCK_ACCESS_SHARED :: CCURL_lock_access
- cCURL_LOCK_ACCESS_SINGLE :: CCURL_lock_access
- type CCURL_lock_function = Ptr CCURL -> CCURL_lock_data -> CCURL_lock_access -> Ptr () -> IO ()
- wrap_ccurl_lock_function :: CCURL_lock_function -> IO (FunPtr CCURL_lock_function)
- type CCURL_unlock_function = Ptr CCURL -> CCURL_lock_data -> Ptr () -> IO ()
- wrap_ccurl_unlock_function :: CCURL_unlock_function -> IO (FunPtr CCURL_unlock_function)
- data CCURLSH
- newtype CCURLSHcode = CCURLSHcode CInt
- cCURLSHE_OK :: CCURLSHcode
- cCURLSHE_BAD_OPTION :: CCURLSHcode
- cCURLSHE_IN_USE :: CCURLSHcode
- cCURLSHE_INVALID :: CCURLSHcode
- cCURLSHE_NOMEM :: CCURLSHcode
- cCURLSHE_NOT_BUILT_IN :: CCURLSHcode
- newtype CCURLSHoption'Lock = CCURLSHoption'Lock CInt
- newtype CCURLSHoption'FLOCK = CCURLSHoption'FLOCK CInt
- newtype CCURLSHoption'FUNLOCK = CCURLSHoption'FUNLOCK CInt
- newtype CCURLSHoption'UsrPtr = CCURLSHoption'UsrPtr CInt
- cCURLSHOPT_SHARE :: CCURLSHoption'Lock
- cCURLSHOPT_UNSHARE :: CCURLSHoption'Lock
- cCURLSHOPT_LOCKFUNC :: CCURLSHoption'FLOCK
- cCURLSHOPT_UNLOCKFUNC :: CCURLSHoption'FUNLOCK
- cCURLSHOPT_USERDATA :: CCURLSHoption'UsrPtr
- ccurl_share_init :: IO (Ptr CCURLSH)
- ccurl_share_setopt'Lock :: Ptr CCURLSH -> CCURLSHoption'Lock -> CCURL_lock_data -> IO CCURLSHcode
- ccurl_share_setopt'FLOCK :: Ptr CCURLSH -> CCURLSHoption'FLOCK -> FunPtr CCURL_lock_function -> IO CCURLSHcode
- ccurl_share_setopt'FUNLOCK :: Ptr CCURLSH -> CCURLSHoption'FUNLOCK -> FunPtr CCURL_unlock_function -> IO CCURLSHcode
- ccurl_share_setopt'UsrPtr :: Ptr CCURLSH -> CCURLSHoption'UsrPtr -> Ptr () -> IO CCURLSHcode
- ccurl_share_cleanup :: Ptr CCURLSH -> IO CCURLSHcode
- newtype CCURLversion = CCURLversion CInt
- cCURLVERSION_FIRST :: CCURLversion
- cCURLVERSION_SECOND :: CCURLversion
- cCURLVERSION_THIRD :: CCURLversion
- cCURLVERSION_FOURTH :: CCURLversion
- cCURLVERSION_NOW :: CCURLversion
- data CCURL_version_info_data = CCURL_version_info_data {
- ccurl_version_info_data_age :: CCURLversion
- ccurl_version_info_data_version :: Ptr CChar
- ccurl_version_info_data_version_num :: CUInt
- ccurl_version_info_data_host :: Ptr CChar
- ccurl_version_info_data_features :: CInt
- ccurl_version_info_data_ssl_version :: Ptr CChar
- ccurl_version_info_data_ssl_version_num :: CLong
- ccurl_version_info_data_libz_version :: Ptr CChar
- ccurl_version_info_data_protocols :: Ptr (Ptr CChar)
- ccurl_version_info_data_ares :: Ptr CChar
- ccurl_version_info_data_ares_num :: CInt
- ccurl_version_info_data_libidn :: Ptr CChar
- ccurl_version_info_data_iconv_ver_num :: CInt
- ccurl_version_info_data_libssh_version :: Ptr CChar
- cCURL_VERSION_IPV6 :: CInt
- cCURL_VERSION_KERBEROS4 :: CInt
- cCURL_VERSION_SSL :: CInt
- cCURL_VERSION_LIBZ :: CInt
- cCURL_VERSION_NTLM :: CInt
- cCURL_VERSION_GSSNEGOTIATE :: CInt
- cCURL_VERSION_DEBUG :: CInt
- cCURL_VERSION_ASYNCHDNS :: CInt
- cCURL_VERSION_SPNEGO :: CInt
- cCURL_VERSION_LARGEFILE :: CInt
- cCURL_VERSION_IDN :: CInt
- cCURL_VERSION_SSPI :: CInt
- cCURL_VERSION_CONV :: CInt
- cCURL_VERSION_CURLDEBUG :: CInt
- cCURL_VERSION_TLSAUTH_SRP :: CInt
- cCURL_VERSION_NTLM_WB :: CInt
- ccurl_version_info :: CCURLversion -> IO (Ptr CCURL_version_info_data)
- ccurl_easy_strerror :: CCURLcode -> IO (Ptr CChar)
- ccurl_share_strerror :: CCURLSHcode -> IO (Ptr CChar)
- ccurl_easy_pause :: Ptr CCURL -> CInt -> IO CCURLcode
- cCURLPAUSE_RECV :: CInt
- cCURLPAUSE_RECV_CONT :: CInt
- cCURLPAUSE_SEND :: CInt
- cCURLPAUSE_SEND_CONT :: CInt
- cCURLPAUSE_ALL :: CInt
- cCURLPAUSE_CONT :: CInt
- ccurl_easy_init :: IO (Ptr CCURL)
- ccurl_easy_setopt'CLong :: Ptr CCURL -> CCURLoption'CLong -> CLong -> IO CCURLcode
- ccurl_easy_setopt'Int64 :: Ptr CCURL -> CCURLoption'Int64 -> CCURL_off_t -> IO CCURLcode
- ccurl_easy_setopt'CString :: Ptr CCURL -> CCURLoption'CString -> Ptr CChar -> IO CCURLcode
- ccurl_easy_setopt'CFile :: Ptr CCURL -> CCURLoption'CFile -> Ptr CFile -> IO CCURLcode
- ccurl_easy_setopt'SList :: Ptr CCURL -> CCURLoption'SList -> Ptr CCURL_slist -> IO CCURLcode
- ccurl_easy_setopt'HTTPP :: Ptr CCURL -> CCURLoption'HTTPP -> Ptr CCURL_httppost -> IO CCURLcode
- ccurl_easy_setopt'CURLSH :: Ptr CCURL -> CCURLoption'CURLSH -> Ptr CCURLSH -> IO CCURLcode
- ccurl_easy_setopt'UsrPtr :: Ptr CCURL -> CCURLoption'UsrPtr -> Ptr () -> IO CCURLcode
- ccurl_easy_setopt'FunPtr :: Ptr CCURL -> CCURLoption'FunPtr -> FunPtr a -> IO CCURLcode
- ccurl_easy_setopt'FWRITE :: Ptr CCURL -> FunPtr CCURL_write_callback -> IO CCURLcode
- ccurl_easy_setopt'FREAD :: Ptr CCURL -> FunPtr CCURL_read_callback -> IO CCURLcode
- ccurl_easy_setopt'FPROGRESS :: Ptr CCURL -> FunPtr CCURL_progress_callback -> IO CCURLcode
- ccurl_easy_setopt'FHEADER :: Ptr CCURL -> FunPtr CCURL_write_callback -> IO CCURLcode
- ccurl_easy_setopt'FDEBUG :: Ptr CCURL -> FunPtr CCURL_debug_callback -> IO CCURLcode
- ccurl_easy_setopt'FSSLCTX :: Ptr CCURL -> FunPtr CCURL_ssl_ctx_callback -> IO CCURLcode
- ccurl_easy_setopt'FIOCTL :: Ptr CCURL -> FunPtr CCURL_ioctl_callback -> IO CCURLcode
- ccurl_easy_setopt'FCONVFROM :: Ptr CCURL -> FunPtr CCURL_conv_callback -> IO CCURLcode
- ccurl_easy_setopt'FCONVTO :: Ptr CCURL -> FunPtr CCURL_conv_callback -> IO CCURLcode
- ccurl_easy_setopt'FCONVUTF8 :: Ptr CCURL -> FunPtr CCURL_conv_callback -> IO CCURLcode
- ccurl_easy_setopt'FSOCKOPT :: Ptr CCURL -> FunPtr CCURL_sockopt_callback -> IO CCURLcode
- ccurl_easy_setopt'FOPENSOCKET :: Ptr CCURL -> FunPtr CCURL_opensocket_callback -> IO CCURLcode
- ccurl_easy_setopt'FSEEK :: Ptr CCURL -> FunPtr CCURL_seek_callback -> IO CCURLcode
- ccurl_easy_setopt'FSSHKEY :: Ptr CCURL -> FunPtr CCURL_sshkey_callback -> IO CCURLcode
- ccurl_easy_setopt'FINTERLEAVE :: Ptr CCURL -> FunPtr CCURL_write_callback -> IO CCURLcode
- ccurl_easy_setopt'FCHUNKBGN :: Ptr CCURL -> FunPtr CCURL_chunk_bgn_callback -> IO CCURLcode
- ccurl_easy_setopt'FCHUNKEND :: Ptr CCURL -> FunPtr CCURL_chunk_end_callback -> IO CCURLcode
- ccurl_easy_setopt'FFNMATCH :: Ptr CCURL -> FunPtr CCURL_fnmatch_callback -> IO CCURLcode
- ccurl_easy_setopt'FCLOSESOCKET :: Ptr CCURL -> FunPtr CCURL_closesocket_callback -> IO CCURLcode
- ccurl_easy_perform :: Ptr CCURL -> IO CCURLcode
- ccurl_easy_cleanup :: Ptr CCURL -> IO ()
- ccurl_easy_getinfo'CString :: Ptr CCURL -> CCURLinfo'CString -> Ptr (Ptr CChar) -> IO CCURLcode
- ccurl_easy_getinfo'CDouble :: Ptr CCURL -> CCURLinfo'CDouble -> Ptr CDouble -> IO CCURLcode
- ccurl_easy_getinfo'CLong :: Ptr CCURL -> CCURLinfo'CLong -> Ptr CLong -> IO CCURLcode
- ccurl_easy_getinfo'SList :: Ptr CCURL -> CCURLinfo'SList -> Ptr (Ptr CCURL_slist) -> IO CCURLcode
- ccurl_easy_getinfo'CertI :: Ptr CCURL -> CCURLinfo'CertI -> Ptr (Ptr CCURL_certinfo) -> IO CCURLcode
- ccurl_easy_duphandle :: Ptr CCURL -> IO (Ptr CCURL)
- ccurl_easy_reset :: Ptr CCURL -> IO ()
- ccurl_easy_recv :: Ptr CCURL -> Ptr a -> CSize -> Ptr CSize -> IO CCURLcode
- ccurl_easy_send :: Ptr CCURL -> Ptr a -> CSize -> Ptr CSize -> IO CCURLcode
Definitions from "curl/curlver.h"
Definitions from "curl/curlbuild.h"
type CCURL_off_t = CLLongSource
Definitions from "curl/curlrules.h"
Definitions from "curl/curl.h"
type CCURL_socket_t = CIntSource
CURL_httppost
data CCURL_httppost Source
Callbacks
CURL_progress_callback
wrap_ccurl_progress_callback :: CCURL_progress_callback -> IO (FunPtr CCURL_progress_callback)Source
CURL_write_callback
CURL_fileinfo
data CCURL_fileinfo Source
Callbacks
CURL_chunk_bgn_callback
wrap_ccurl_chunk_bgn_callback :: CCURL_chunk_bgn_callback -> IO (FunPtr CCURL_chunk_bgn_callback)Source
CURL_chunk_end_callback
type CCURL_chunk_end_callback = Ptr () -> IO CLongSource
wrap_ccurl_chunk_end_callback :: CCURL_chunk_end_callback -> IO (FunPtr CCURL_chunk_end_callback)Source
CURL_fnmatch_callback
CURL_seek_callback
type CCURL_seek_callback = Ptr () -> CCURL_off_t -> CInt -> IO CIntSource
CURL_read_callback
CURL_sockopt_callback
type CCURL_sockopt_callback = Ptr () -> CCURL_socket_t -> CCURLsocktype -> IO CIntSource
CURL_opensocket_callback
type CCURL_opensocket_callback = Ptr () -> CCURLsocktype -> Ptr CCURL_sockaddr -> IO CCURL_socket_tSource
wrap_ccurl_opensocket_callback :: CCURL_opensocket_callback -> IO (FunPtr CCURL_opensocket_callback)Source
CURL_closesocket_callback
type CCURL_closesocket_callback = Ptr () -> CCURL_socket_t -> IO CIntSource
wrap_ccurl_closesocket_callback :: CCURL_closesocket_callback -> IO (FunPtr CCURL_closesocket_callback)Source
CURL_ioctl_callback
type CCURL_ioctl_callback = Ptr CCURL -> CCURLiocmd -> Ptr () -> IO CCURLioerrSource
CURL_malloc_callback
type CCURL_malloc_callback = CSize -> IO (Ptr ())Source
CURL_free_callback
type CCURL_free_callback = Ptr () -> IO ()Source
CURL_realloc_callback
CURL_strdup_callback
CURL_calloc_callback
CURL_debug_callback
type CCURL_debug_callback = Ptr CCURL -> CCURL_infotype -> Ptr CChar -> CSize -> Ptr () -> IO CIntSource
Constants
CURLcode
Callbacks
CURL_conv_callback
CURL_ssl_ctx_callback
Constants
CURLproxy
CURLauth
CURLsshauth
CURLgssapi
CURL_error_size
Callbacks
CURL_sshkey_callback
type CCURL_sshkey_callback = Ptr CCURL -> Ptr CCURL_khkey -> Ptr CCURL_khkey -> CCURL_khmatch -> Ptr () -> IO CCURL_khstatSource
Constants
CURLusessl
CURLsslopt
CURLftpssl
CURLftpauth
CURLftpcreate
CURLftpmethod
CURLproto
CURLoption
newtype CCURLoption'CString Source
newtype CCURLoption'CURLSH Source
newtype CCURLoption'UsrPtr Source
newtype CCURLoption'FunPtr Source
cCURLOPT_WRITEINFO :: CCURLoption'CStringSource
Deprecated:
cCURLOPT_CLOSEPOLICY :: CCURLoption'CLongSource
Deprecated:
cCURLOPT_DNS_USE_GLOBAL_CACHE :: CCURLoption'CLongSource
Deprecated:
CURLipresolve
CURLhttpver
CURLrtspreq
CURLnetrc
CURLsslver
CURLtlsauth
CURLredir
CURLtimecond
Functions
CURL_forms
data CCURL_forms Source
ccurl_formget :: Ptr CCURL_httppost -> Ptr () -> FunPtr CCURL_formget_callback -> IO CIntSource
ccurl_formfree :: Ptr CCURL_httppost -> IO ()Source
Functions
ccurl_version :: IO (Ptr CChar)Source
ccurl_free :: Ptr a -> IO ()Source
ccurl_global_init_mem :: CLong -> FunPtr CCURL_malloc_callback -> FunPtr CCURL_free_callback -> FunPtr CCURL_realloc_callback -> FunPtr CCURL_strdup_callback -> FunPtr CCURL_calloc_callback -> IO CCURLcodeSource
ccurl_global_cleanup :: IO ()Source
CURL_slist
data CCURL_slist Source
Functions
ccurl_slist_append :: Ptr CCURL_slist -> Ptr CChar -> IO (Ptr CCURL_slist)Source
ccurl_slist_free_all :: Ptr CCURL_slist -> IO ()Source
CURL_certinfo
data CCURL_certinfo Source
Constants
CURLinfo
CURLclosepol
CURLglobal
Share interface
type CCURL_lock_function = Ptr CCURL -> CCURL_lock_data -> CCURL_lock_access -> Ptr () -> IO ()Source
type CCURL_unlock_function = Ptr CCURL -> CCURL_lock_data -> Ptr () -> IO ()Source
newtype CCURLSHoption'Lock Source
newtype CCURLSHoption'FLOCK Source
newtype CCURLSHoption'FUNLOCK Source
newtype CCURLSHoption'UsrPtr Source
ccurl_share_setopt'Lock :: Ptr CCURLSH -> CCURLSHoption'Lock -> CCURL_lock_data -> IO CCURLSHcodeSource
ccurl_share_setopt'FLOCK :: Ptr CCURLSH -> CCURLSHoption'FLOCK -> FunPtr CCURL_lock_function -> IO CCURLSHcodeSource
ccurl_share_setopt'FUNLOCK :: Ptr CCURLSH -> CCURLSHoption'FUNLOCK -> FunPtr CCURL_unlock_function -> IO CCURLSHcodeSource
ccurl_share_setopt'UsrPtr :: Ptr CCURLSH -> CCURLSHoption'UsrPtr -> Ptr () -> IO CCURLSHcodeSource
CURL_version_info
newtype CCURLversion Source
data CCURL_version_info_data Source
Functions
ccurl_share_strerror :: CCURLSHcode -> IO (Ptr CChar)Source
Definitions from "curl/easy.h"
ccurl_easy_init :: IO (Ptr CCURL)Source
ccurl_easy_setopt'CLong :: Ptr CCURL -> CCURLoption'CLong -> CLong -> IO CCURLcodeSource
ccurl_easy_setopt'CFile :: Ptr CCURL -> CCURLoption'CFile -> Ptr CFile -> IO CCURLcodeSource
ccurl_easy_setopt'HTTPP :: Ptr CCURL -> CCURLoption'HTTPP -> Ptr CCURL_httppost -> IO CCURLcodeSource
ccurl_easy_setopt'UsrPtr :: Ptr CCURL -> CCURLoption'UsrPtr -> Ptr () -> IO CCURLcodeSource
ccurl_easy_setopt'FunPtr :: Ptr CCURL -> CCURLoption'FunPtr -> FunPtr a -> IO CCURLcodeSource
ccurl_easy_setopt'FOPENSOCKET :: Ptr CCURL -> FunPtr CCURL_opensocket_callback -> IO CCURLcodeSource
ccurl_easy_setopt'FCLOSESOCKET :: Ptr CCURL -> FunPtr CCURL_closesocket_callback -> IO CCURLcodeSource
ccurl_easy_cleanup :: Ptr CCURL -> IO ()Source
ccurl_easy_getinfo'CString :: Ptr CCURL -> CCURLinfo'CString -> Ptr (Ptr CChar) -> IO CCURLcodeSource
ccurl_easy_getinfo'CLong :: Ptr CCURL -> CCURLinfo'CLong -> Ptr CLong -> IO CCURLcodeSource
ccurl_easy_getinfo'SList :: Ptr CCURL -> CCURLinfo'SList -> Ptr (Ptr CCURL_slist) -> IO CCURLcodeSource
ccurl_easy_getinfo'CertI :: Ptr CCURL -> CCURLinfo'CertI -> Ptr (Ptr CCURL_certinfo) -> IO CCURLcodeSource
ccurl_easy_reset :: Ptr CCURL -> IO ()Source