Lines Matching defs:UserDefined

1566 struct UserDefined {  struct
1567 FILE *err; /* the stderr user data goes here */
1568 void *debugdata; /* the data that will be passed to fdebug */
1569 char *errorbuffer; /* (Static) store failure messages in here */
1570 void *out; /* CURLOPT_WRITEDATA */
1571 void *in_set; /* CURLOPT_READDATA */
1572 void *writeheader; /* write the header to this if non-NULL */
1573 unsigned short use_port; /* which port to use (when not using default) */
1574 unsigned long httpauth; /* kind of HTTP authentication to use (bitmask) */
1575 unsigned long proxyauth; /* kind of proxy authentication to use (bitmask) */
1576 long maxredirs; /* maximum no. of http(s) redirects to follow, set to -1
1579 void *postfields; /* if POST, set the fields' values here */
1580 curl_seek_callback seek_func; /* function that seeks the input */
1581 curl_off_t postfieldsize; /* if POST, this might have a size to use instead
1585 unsigned short localport; /* local port number to bind to */
1586 unsigned short localportrange; /* number of additional port numbers to test
1590 curl_write_callback fwrite_func; /* function that stores the output */
1591 curl_write_callback fwrite_header; /* function that stores headers */
1592 curl_write_callback fwrite_rtp; /* function that stores interleaved RTP */
1593 curl_read_callback fread_func_set; /* function that reads the input */
1594 curl_progress_callback fprogress; /* OLD and deprecated progress callback */
1595 curl_xferinfo_callback fxferinfo; /* progress callback */
1596 curl_debug_callback fdebug; /* function that write informational data */
1597 curl_ioctl_callback ioctl_func; /* function for I/O control */
1598 curl_sockopt_callback fsockopt; /* function for setting socket options */
1599 void *sockopt_client; /* pointer to pass to the socket options callback */
1600 curl_opensocket_callback fopensocket; /* function for checking/translating
1603 void *opensocket_client;
1604 curl_closesocket_callback fclosesocket; /* function for closing the
1606 void *closesocket_client;
1607 curl_prereq_callback fprereq; /* pre-initial request callback */
1608 void *prereq_userp; /* pre-initial request user data */
1610 void *seek_client; /* pointer to pass to the seek callback */
1612 curl_hstsread_callback hsts_read;
1613 void *hsts_read_userp;
1614 curl_hstswrite_callback hsts_write;
1615 void *hsts_write_userp;
1617 void *progress_client; /* pointer to pass to the progress callback */
1618 void *ioctl_client; /* pointer to pass to the ioctl callback */
1619 unsigned int timeout; /* ms, 0 means no timeout */
1620 unsigned int connecttimeout; /* ms, 0 means default timeout */
1621 unsigned int happy_eyeballs_timeout; /* ms, 0 is a valid value */
1622 unsigned int server_response_timeout; /* ms, 0 means no timeout */
1623 unsigned int shutdowntimeout; /* ms, 0 means default timeout */
1624 long maxage_conn; /* in seconds, max idle time to allow a connection that
1626 long maxlifetime_conn; /* in seconds, max time since creation to allow a
1629 long tftp_blksize; /* in bytes, 0 means use default */
1631 curl_off_t filesize; /* size of file to upload, -1 means unknown */
1632 long low_speed_limit; /* bytes/second */
1633 long low_speed_time; /* number of seconds */
1634 curl_off_t max_send_speed; /* high speed limit in bytes/second for upload */
1635 curl_off_t max_recv_speed; /* high speed limit in bytes/second for
1637 curl_off_t set_resume_from; /* continue [ftp] transfer from here */
1638 struct curl_slist *headers; /* linked list of extra headers */
1639 struct curl_httppost *httppost; /* linked list of old POST data */
1641 curl_mimepart mimepost; /* MIME/POST data. */
1644 struct curl_slist *telnet_options; /* linked list of telnet options */
1646 struct curl_slist *resolve; /* list of names to add/remove from
1648 struct curl_slist *connect_to; /* list of host:port mappings to override
1650 time_t timevalue; /* what time to compare with */
1651 unsigned char timecondition; /* kind of time comparison: curl_TimeCond */
1652 unsigned char method; /* what kind of HTTP request: Curl_HttpReq */
1653 unsigned char httpwant; /* when non-zero, a specific HTTP version requested
1655 struct ssl_config_data ssl; /* user defined SSL stuff */
1657 struct ssl_config_data proxy_ssl; /* user defined SSL stuff for proxy */
1658 struct curl_slist *proxyheaders; /* linked list of extra CONNECT headers */
1659 unsigned short proxyport; /* If non-zero, use this port number by
1662 unsigned char proxytype; /* what kind of proxy: curl_proxytype */
1663 unsigned char socks5auth;/* kind of SOCKS5 authentication to use (bitmask) */
1665 struct ssl_general_config general_ssl; /* general user defined SSL stuff */
1666 int dns_cache_timeout; /* DNS cache timeout (seconds) */
1667 unsigned int buffer_size; /* size of receive buffer to use */
1668 unsigned int upload_buffer_size; /* size of upload buffer to use,
1670 void *private_data; /* application-private data */
1672 struct curl_slist *http200aliases; /* linked list of aliases for http200 */
1674 unsigned char ipver; /* the CURL_IPRESOLVE_* defines in the public header
1676 curl_off_t max_filesize; /* Maximum file size to download */
1678 unsigned char ftp_filemethod; /* how to get to a file: curl_ftpfile */
1679 unsigned char ftpsslauth; /* what AUTH XXX to try: curl_ftpauth */
1680 unsigned char ftp_ccc; /* FTP CCC options: curl_ftpccc */
1681 unsigned int accepttimeout; /* in milliseconds, 0 means no timeout */
1684 struct curl_slist *quote; /* after connection is established */
1685 struct curl_slist *postquote; /* after the transfer */
1686 struct curl_slist *prequote; /* before the transfer, after type */
1691 unsigned char ftp_create_missing_dirs;
1694 curl_sshhostkeycallback ssh_hostkeyfunc; /* hostkey check callback */
1695 void *ssh_hostkeyfunc_userp; /* custom pointer to callback */
1698 curl_sshkeycallback ssh_keyfunc; /* key matching callback */
1699 void *ssh_keyfunc_userp; /* custom pointer to callback */
1700 int ssh_auth_types; /* allowed SSH auth types */
1701 unsigned int new_directory_perms; /* when creating remote dirs */
1704 unsigned char use_netrc; /* enum CURL_NETRC_OPTION values */
1706 unsigned int new_file_perms; /* when creating remote files */
1707 char *str[STRING_LAST]; /* array of strings, pointing to allocated memory */
1708 struct curl_blob *blobs[BLOB_LAST];
1710 unsigned int scope_id; /* Scope id for IPv6 */
1712 curl_prot_t allowed_protocols;
1713 curl_prot_t redir_protocols;
1715 void *rtp_out; /* write RTP to this if non-NULL */
1717 Curl_RtspReq rtspreq; /* RTSP request type */
1720 curl_chunk_bgn_callback chunk_bgn; /* called before part of transfer
1722 curl_chunk_end_callback chunk_end; /* called after part transferring
1724 curl_fnmatch_callback fnmatch; /* callback to decide which file corresponds
1726 void *fnmatch_data;
1727 void *wildcardptr;
1731 unsigned char gssapi_delegation;
1733 int tcp_keepidle; /* seconds in idle before sending keepalive probe */
1734 int tcp_keepintvl; /* seconds between TCP keepalive probes */
1735 int tcp_keepcnt; /* maximum number of keepalive probes */
1737 long expect_100_timeout; /* in milliseconds */
1739 struct Curl_data_priority priority;
1741 curl_resolver_start_callback resolver_start; /* optional callback called
1743 void *resolver_start_client; /* pointer to pass to resolver start callback */
1744 long upkeep_interval_ms; /* Time between calls for connection upkeep. */
1745 multidone_func fmultidone;
1747 curl_off_t dohfor_mid; /* this is a DoH request for that transfer */
1749 CURLU *uh; /* URL handle for the current parsed URL */
1751 void *trailer_data; /* pointer to pass to trailer data callback */
1752 curl_trailer_callback trailer_callback; /* trailing data callback */
1754 char keep_post; /* keep POSTs as POSTs after a 30x request; each
1757 struct curl_slist *mail_rcpt; /* linked list of mail recipients */
1761 unsigned int maxconnects; /* Max idle connections in the connection cache */
1762 unsigned char use_ssl; /* if AUTH TLS is to be attempted etc, for FTP or
1764 unsigned char connect_only; /* make connection/request, then let
1888 * The 'struct UserDefined' must only contain data that is set once to go for argument