/* This is the FILE * or void * the regular output should be written to.
/* The full URL to get/put */
/* Port number to connect to, if other than default.
/* Name of proxy to use.
/* "user:password;options" to use when fetching.
/* "user:password" to use with proxy.
/* Range to get, specified as an ASCII string.
/* Specified file stream to upload from (use as input): */
/* Buffer to receive error messages in, must be at least ECURL_ERROR_SIZE * bytes big.
/* Function that will be called to store the output (instead of fwrite).
/* Function that will be called to read the input (instead of fread).
/* Time-out the read operation after this amount of seconds */
/* If the curlopt_infile is used, this can be used to inform libcurl about * how large the file being sent really is.
/* POST static input fields.
/* Set the referrer page (needed by some CGIs) */
/* Set the FTP PORT string (interface name, named or numerical IP address) Use i.e '-' to use default address.
/* Set the User-Agent string (examined by some CGIs) */
/* If the download receives less than "low speed limit" bytes/second * during "low speed time" seconds, the operations is aborted.
/* Set the "low speed time" */
/* Set the continuation offset.
/* Set cookie in request: */
/* This points to a linked list of headers, struct curl_slist kind.
/* This points to a linked list of post entries, struct curl_httppost */
/* name of the file keeping your private SSL-certificate */
/* password for the SSL or SSH private key */
/* send TYPE parameter?
/* send linked-list of QUOTE commands */
/* send FILE * or void * to store headers to, if you use a callback it is simply passed to the callback unmodified */
/* point to a file to read the initial cookies from, also enables "cookie awareness" */
/* What version to specifically try to use.
/* What kind of HTTP time condition to use, see defines */
/* Time to use with the above condition.
/* Custom request, for customizing the get command like HTTP: DELETE, TRACE and others FTP: to use a different list command */
/* HTTP request, for odd commands like DELETE, TRACE and others */
/* send linked-list of post-transfer QUOTE commands */
/* Specify whether to read the user+password from the .netrc or the URL.
/* DEPRECATED * Function that will be called instead of the internal progress display * function.
/* Data passed to the curlopt_progressfunction and curlopt_xferinfofunction callbacks */
/* We want the referrer field set automatically when following locations */
/* Port of the proxy, can be set in the proxy string as well with: "[host]:[port]" */
/* size of the POST input data, if strlen() is not good to use */
/* tunnel non-http operations through a HTTP proxy */
/* Set the interface string to use as outgoing network interface */
/* Set the krb4/5 security level, this also enables krb4/5 awareness.
/* Set if we should verify the peer in ssl handshake, set 1 to verify.
/* The CApath or CAfile used to validate the peer certificate this option is used only if SSL_VERIFYPEER is true */
/* Maximum number of http redirects to follow */
/* Pass a long set to 1 to get the date of the requested document (if possible)!
/* This points to a linked list of telnet options */
/* Max amount of cached alive connections */
/* Set to explicitly use a new connection for the upcoming transfer.
/* Set to explicitly forbid the upcoming transfer's connection to be re-used when done.
/* Set to a file name that contains random data for libcurl to use to seed the random engine when doing SSL connects.
/* Set to the Entropy Gathering Daemon socket pathname */
/* Time-out connect operations after this amount of seconds, if connects are OK within this time, then fine...
/* Function that will be called to store headers (instead of fwrite).
/* Set this to force the HTTP request to get back to GET.
/* Set if we should verify the Common name from the peer certificate in ssl * handshake, set 1 to check existence, 2 to ensure that it matches the * provided hostname.
/* Specify which file name to write all known cookies in after completed operation.
/* Specify which SSL ciphers to use */
/* Specify which HTTP version to use!
/* Specifically switch on or off the FTP engine's use of the EPSV command.
/* type of the file keeping your SSL-certificate ("DER", "PEM", "ENG") */
/* name of the file keeping your private SSL-key */
/* type of the file keeping your private SSL-key ("DER", "PEM", "ENG") */
/* crypto engine for the SSL-sub system */
/* set the crypto engine for the SSL-sub system as default the param has no meaning...
/* Non-zero value means to use the global dns cache */
/* DNS cache timeout */
/* send linked-list of pre-transfer QUOTE commands */
/* set the debug function */
/* set the data for the debug function */
/* mark this as start of a cookie session */
/* The CApath directory used to validate the peer certificate this option is used only if SSL_VERIFYPEER is true */
/* Instruct libcurl to use a smaller receive buffer */
/* Instruct libcurl to not use any signal/alarm handlers, even when using timeouts.
/* Provide a ECURLShare for mutexing non-ts data */
/* indicates type of proxy.
/* Set the Accept-Encoding string.
/* Set pointer to private data */
/* Set aliases for HTTP 200 in the HTTP Response header */
/* Continue to send authentication (user+password) when following locations, even when hostname changed.
/* Specifically switch on or off the FTP engine's use of the EPRT command ( it also disables the LPRT attempt).
/* Set this to a bitmask value to enable the particular authentications methods you like.
/* Set the ssl context callback function, currently only for OpenSSL ssl_ctx in second argument.
/* Set the userdata for the ssl context callback function's third argument */
/* FTP Option that causes missing dirs to be created on the remote server.
/* Set this to a bitmask value to enable the particular authentications methods you like.
/* FTP option that changes the timeout, in seconds, associated with getting a response.
/* Set this option to one of the ECURL_IPRESOLVE_* defines (see below) to tell libcurl to resolve names to those IP versions only.
/* Set this option to limit the size of a file that will be downloaded from an HTTP or FTP server.
/* See the comment for INFILESIZE above, but in short, specifies * the size of the file being uploaded.
/* Sets the continuation offset.
/* Sets the maximum size of data that will be downloaded from * an HTTP or FTP server.
/* Set this option to the file name of your .netrc file you want libcurl to parse (using the curlopt_netrc option).
/* Enable SSL/TLS for FTP, pick one of: ECURLUSESSL_TRY - try using SSL, proceed anyway otherwise ECURLUSESSL_CONTROL - SSL for the control connection or fail ECURLUSESSL_ALL - SSL for all communication or fail */
/* The _LARGE version of the standard POSTFIELDSIZE option */
/* Enable/disable the TCP Nagle algorithm */
/* When FTP over SSL/TLS is selected (with curlopt_use_ssl), this option can be used to change libcurl's default action which is to first try "auth ssl" and then "auth tls" in this order, and proceed when a ok response has been received.
/* zero terminated string for pass on to the FTP server when asked for "account" info */
/* feed cookies into cookie engine */
/* ignore Content-Length */
/* Set to non-zero to skip the IP address received in a 227 PASV FTP server response.
/* Select "file method" to use when doing FTP, see the curl_ftpmethod above.
/* Local port number to bind the socket to */
/* Number of ports to try, including the first one set with LOCALPORT.
/* no transfer, set up connection and let application use the socket by extracting it with ECURLINFO_LASTSOCKET */
/* Function that will be called to convert from the network encoding (instead of using the iconv calls in libcurl) */
/* Function that will be called to convert to the network encoding (instead of using the iconv calls in libcurl) */
/* Function that will be called to convert from UTF8 (instead of using the iconv calls in libcurl) Note that this is used only for SSL certificate processing */
/* if the connection proceeds too quickly then need to slow it down */ /* limit-rate: maximum number of bytes per second to send or receive */
/* Pointer to command string to send if USER/PASS fails.
/* callback function for setting socket options */
/* set to 0 to disable session ID re-use for this transfer, default is enabled (== 1) */
/* allowed SSH authentication methods */
/* Used by scp/sftp to do public/private key authentication */
/* Send CCC (Clear Command Channel) after authentication */
/* Same as TIMEOUT and CONNECTTIMEOUT, but with ms resolution */
/* set to zero to disable the libcurl's decoding and thus pass the raw body data to the application even when it is encoded/compressed */
/* Permission used when creating new files and directories on the remote server for protocols that support it, SFTP/SCP/FILE */
/* Set the behaviour of POST when redirecting.
/* used by scp/sftp to verify the host's public key */
/* Callback function for opening socket (instead of socket(2)).
/* POST volatile input fields.
/* set transfer mode (;type=<a|i>) when doing FTP via an HTTP proxy */
/* Callback function for seeking in the input stream */
/* CRL file */
/* Issuer certificate */
/* (IPv6) Address scope */
/* Collect certificate chain info and allow it to get retrievable with ECURLINFO_CERTINFO after the transfer is complete.
/* "name" and "pwd" to use when fetching.
/* "name" and "pwd" to use with Proxy when fetching.
/* Comma separated list of hostnames defining no-proxy zones.
/* block size for TFTP transfers */
/* Socks Service */
/* Socks Service */
/* set the bitmask for the protocols that are allowed to be used for the transfer, which thus helps the app which takes URLs from users or other external inputs and want to restrict what protocol(s) to deal with.
/* set the bitmask for the protocols that libcurl is allowed to follow to, as a subset of the curlopt_protocols ones.
/* set the SSH knownhost file name to use */
/* set the SSH host key callback, must point to a curl_sshkeycallback function */
/* set the SSH host key callback custom pointer */
/* set the SMTP mail originator */
/* set the SMTP mail receiver(s) */
/* FTP: send PRET before PASV */
/* RTSP request method (OPTIONS, SETUP, PLAY, etc...)
/* The RTSP session identifier */
/* The RTSP stream URI */
/* The Transport: header to use in RTSP requests */
/* Manually initialize the client RTSP CSeq for this handle */
/* Manually initialize the server RTSP CSeq for this handle */
/* The stream to pass to INTERLEAVEFUNCTION.
/* Let the application define a custom write method for RTP data */
/* Turn on wildcard matching */
/* Directory matching callback called before downloading of an individual file (chunk) started */
/* Directory matching callback called after the file (chunk) was downloaded, or skipped */
/* Change match (fnmatch-like) callback for wildcard matching */
/* Let the application define custom chunk data pointer */
/* FNMATCH_FUNCTION user pointer */
/* send linked-list of name:port:address sets */
/* Set a username for authenticated TLS */
/* Set a password for authenticated TLS */
/* Set authentication type for authenticated TLS */
/* Set to 1 to enable the "TE:" header in HTTP requests to ask for compressed transfer-encoded responses.
/* Callback function for closing socket (instead of close(2)).
/* allow GSSAPI credential delegation */
/* Set the name servers to use for DNS resolution */
/* Time-out accept operations (currently for FTP only) after this amount of miliseconds.
/* Set TCP keepalive */
/* non-universal keepalive knobs (Linux, AIX, HP-UX, more) */
/* Enable/disable specific SSL features with a bitmask, see ECURLSSLOPT_* */
/* Set the SMTP auth originator */
/* Enable/disable SASL initial response */
/* Function that will be called instead of the internal progress display * function.
/* The XOAUTH2 bearer token */
/* Set the interface string to use as outgoing network * interface for DNS requests.
/* Set the local IPv4 address to use for outgoing DNS requests.
/* Set the local IPv4 address to use for outgoing DNS requests.
/* Set authentication options directly */
/* Enable/disable TLS NPN extension (http2 over ssl might fail without) */
/* Enable/disable TLS ALPN extension (http2 over ssl might fail without) */
/* Time to wait for a response to a HTTP request containing an * Expect: 100-continue header before sending the data anyway.
/* This points to a linked list of headers used for proxy requests only, struct curl_slist kind */
/* Pass in a bitmask of "header options" */
/* The public key in DER form used to validate the peer public key this option is used only if SSL_VERIFYPEER is true */