#include "curl_setup.h"#include "cookie.h"#include "formdata.h"#include "timeval.h"#include <curl/curl.h>#include "http_chunks.h"#include "hostip.h"#include "hash.h"#include "splay.h"#include "mime.h"#include "imap.h"#include "pop3.h"#include "smtp.h"#include "ftp.h"#include "file.h"#include "ssh.h"#include "http.h"#include "rtsp.h"#include "smb.h"#include "wildcard.h"#include "multihandle.h"
Go to the source code of this file.
Classes | |
| struct | auth |
| struct | ConnectBits |
| struct | connectdata |
| struct | Curl_easy |
| struct | Curl_handler |
| struct | Curl_http2_dep |
| struct | curl_ssl_session |
| struct | digestdata |
| struct | connectdata::dynamically_allocated_data |
| Dynamicly allocated strings, MUST be freed before this. More... | |
| struct | DynamicStatic |
| struct | hostname |
| struct | http_connect_state |
| struct | Names |
| struct | Progress |
| struct | proxy_info |
| struct | PureInfo |
| struct | SingleRequest |
| struct | ssl_config_data |
| struct | ssl_connect_data |
| struct | ssl_general_config |
| struct | ssl_primary_config |
| struct | tempbuf |
| struct | time_node |
| struct | UrlState |
| struct | UserDefined |
Macros | |
| #define | CONNCHECK_ISDEAD (1<<0) /* Check if the connection is dead. */ |
| #define | CONNCHECK_NONE 0 /* No checks */ |
| #define | CONNECT_BUFFER_SIZE 16384 |
| #define | CONNRESULT_DEAD (1<<0) /* The connection is dead. */ |
| #define | CONNRESULT_NONE 0 /* No extra information. */ |
| #define | CURL_DEFAULT_PASSWORD "ftp@example.com" |
| #define | CURL_DEFAULT_USER "anonymous" |
| #define | CURL_DO_LINEEND_CONV |
| #define | CURLEASY_MAGIC_NUMBER 0xc0dedbadU |
| #define | CURLMAX(x, y) ((x)>(y)?(x):(y)) |
| #define | CURLMIN(x, y) ((x)<(y)?(x):(y)) |
| #define | CURR_TIME (5 + 1) /* 6 entries for 5 seconds */ |
| #define | DEFAULT_CONNCACHE_SIZE 5 |
| #define | DEFLATE 1 /* zlib deflate [RFC 1950 & 1951] */ |
| #define | DICT_DEFINE "/DEFINE:" |
| #define | DICT_DEFINE2 "/D:" |
| #define | DICT_DEFINE3 "/LOOKUP:" |
| #define | DICT_MATCH "/MATCH:" |
| #define | DICT_MATCH2 "/M:" |
| #define | DICT_MATCH3 "/FIND:" |
| #define | FIRSTSOCKET 0 |
| #define | GOOD_EASY_HANDLE(x) ((x) && ((x)->magic == CURLEASY_MAGIC_NUMBER)) |
| #define | GZIP 2 /* gzip algorithm [RFC 1952] */ |
| #define | HEADERSIZE 256 |
| #define | IDENTITY 0 /* No encoding */ |
| #define | KEEP_NONE 0 |
| #define | KEEP_RECV (1<<0) /* there is or may be data to read */ |
| #define | KEEP_RECV_HOLD |
| #define | KEEP_RECV_PAUSE (1<<4) /* reading is paused */ |
| #define | KEEP_RECVBITS (KEEP_RECV | KEEP_RECV_HOLD | KEEP_RECV_PAUSE) |
| #define | KEEP_SEND (1<<1) /* there is or may be data to write */ |
| #define | KEEP_SEND_HOLD |
| #define | KEEP_SEND_PAUSE (1<<5) /* writing is paused */ |
| #define | KEEP_SENDBITS (KEEP_SEND | KEEP_SEND_HOLD | KEEP_SEND_PAUSE) |
| #define | LIBCURL_NAME "libcurl" |
| #define | MASTERBUF_SIZE 16384 |
| #define | MAX_CURL_PASSWORD_LENGTH 256 |
| #define | MAX_CURL_USER_LENGTH 256 |
| #define | MAX_IPADR_LEN sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255") |
| #define | PORT_DICT 2628 |
| #define | PORT_FTP 21 |
| #define | PORT_FTPS 990 |
| #define | PORT_GOPHER 70 |
| #define | PORT_HTTP 80 |
| #define | PORT_HTTPS 443 |
| #define | PORT_IMAP 143 |
| #define | PORT_IMAPS 993 |
| #define | PORT_LDAP 389 |
| #define | PORT_LDAPS 636 |
| #define | PORT_POP3 110 |
| #define | PORT_POP3S 995 |
| #define | PORT_RTMP 1935 |
| #define | PORT_RTMPS PORT_HTTPS |
| #define | PORT_RTMPT PORT_HTTP |
| #define | PORT_RTSP 554 |
| #define | PORT_SMB 445 |
| #define | PORT_SMBS 445 |
| #define | PORT_SMTP 25 |
| #define | PORT_SMTPS 465 /* sometimes called SSMTP */ |
| #define | PORT_SSH 22 |
| #define | PORT_TELNET 23 |
| #define | PORT_TFTP 69 |
| #define | PROTO_FAMILY_FTP (CURLPROTO_FTP|CURLPROTO_FTPS) |
| #define | PROTO_FAMILY_HTTP (CURLPROTO_HTTP|CURLPROTO_HTTPS) |
| #define | PROTO_FAMILY_POP3 (CURLPROTO_POP3|CURLPROTO_POP3S) |
| #define | PROTO_FAMILY_SMB (CURLPROTO_SMB|CURLPROTO_SMBS) |
| #define | PROTO_FAMILY_SMTP (CURLPROTO_SMTP|CURLPROTO_SMTPS) |
| #define | PROTOPT_ALPN_NPN (1<<8) /* set ALPN and/or NPN for this */ |
| #define | PROTOPT_CLOSEACTION (1<<2) /* need action before socket close */ |
| #define | PROTOPT_CREDSPERREQUEST |
| #define | PROTOPT_DIRLOCK (1<<3) |
| #define | PROTOPT_DUAL (1<<1) /* this protocol uses two connections */ |
| #define | PROTOPT_NEEDSPWD |
| #define | PROTOPT_NONE 0 /* nothing extra */ |
| #define | PROTOPT_NONETWORK (1<<4) /* protocol doesn't use the network! */ |
| #define | PROTOPT_NOURLQUERY |
| #define | PROTOPT_PROXY_AS_HTTP |
| #define | PROTOPT_SSL (1<<0) /* uses SSL */ |
| #define | PROTOPT_STREAM (1<<9) /* a protocol with individual logical streams */ |
| #define | PROTOPT_URLOPTIONS |
| #define | RESP_TIMEOUT (1800*1000) |
| #define | SECONDARYSOCKET 1 |
| #define | UPLOAD_BUFSIZE CURL_MAX_WRITE_SIZE |
Typedefs | |
| typedef CURLcode(* | Curl_do_more_func) (struct connectdata *, int *) |
| typedef CURLcode(* | Curl_done_func) (struct connectdata *, CURLcode, bool) |
| typedef ssize_t() | Curl_recv(struct connectdata *conn, int sockindex, char *buf, size_t len, CURLcode *err) |
| typedef ssize_t() | Curl_send(struct connectdata *conn, int sockindex, const void *buf, size_t len, CURLcode *err) |
| #define CONNCHECK_ISDEAD (1<<0) /* Check if the connection is dead. */ |
| #define CONNRESULT_DEAD (1<<0) /* The connection is dead. */ |
| #define GOOD_EASY_HANDLE | ( | x | ) | ((x) && ((x)->magic == CURLEASY_MAGIC_NUMBER)) |
| #define KEEP_RECV (1<<0) /* there is or may be data to read */ |
| #define KEEP_RECV_HOLD |
| #define KEEP_RECVBITS (KEEP_RECV | KEEP_RECV_HOLD | KEEP_RECV_PAUSE) |
| #define KEEP_SEND (1<<1) /* there is or may be data to write */ |
| #define KEEP_SEND_HOLD |
| #define KEEP_SENDBITS (KEEP_SEND | KEEP_SEND_HOLD | KEEP_SEND_PAUSE) |
| #define MAX_IPADR_LEN sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255") |
| #define PORT_RTMPS PORT_HTTPS |
| #define PROTO_FAMILY_FTP (CURLPROTO_FTP|CURLPROTO_FTPS) |
| #define PROTO_FAMILY_HTTP (CURLPROTO_HTTP|CURLPROTO_HTTPS) |
| #define PROTO_FAMILY_POP3 (CURLPROTO_POP3|CURLPROTO_POP3S) |
| #define PROTO_FAMILY_SMB (CURLPROTO_SMB|CURLPROTO_SMBS) |
| #define PROTO_FAMILY_SMTP (CURLPROTO_SMTP|CURLPROTO_SMTPS) |
| #define PROTOPT_CLOSEACTION (1<<2) /* need action before socket close */ |
| #define PROTOPT_CREDSPERREQUEST |
| #define PROTOPT_DUAL (1<<1) /* this protocol uses two connections */ |
| #define PROTOPT_NEEDSPWD |
| #define PROTOPT_NONETWORK (1<<4) /* protocol doesn't use the network! */ |
| #define PROTOPT_NOURLQUERY |
| #define PROTOPT_PROXY_AS_HTTP |
| #define PROTOPT_STREAM (1<<9) /* a protocol with individual logical streams */ |
| #define PROTOPT_URLOPTIONS |
| #define UPLOAD_BUFSIZE CURL_MAX_WRITE_SIZE |
| typedef CURLcode(* Curl_do_more_func) (struct connectdata *, int *) |
| typedef CURLcode(* Curl_done_func) (struct connectdata *, CURLcode, bool) |
| enum Curl_HttpReq |
| enum Curl_RtspReq |
| enum curlntlm |
| enum dupstring |
| enum expect100 |
| enum expire_id |
| enum ssl_connect_state |
| enum ssl_connection_state |
| enum upgrade101 |