Classes | Defines | Typedefs | Enumerations
urldata.h File Reference
#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 "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"
Include dependency graph for urldata.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
struct  DynamicStatic
struct  hostname
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  UrlState
struct  UserDefined

Defines

#define BUFSIZE   CURL_MAX_WRITE_SIZE
#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 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_SSL   (1<<0) /* uses SSL */
#define PROTOPT_STREAM   (1<<9) /* a protocol with individual logical streams */
#define RESP_TIMEOUT   (1800*1000)
#define SECONDARYSOCKET   1

Typedefs

typedef CURLcode(* Curl_do_more_func )(struct connectdata *, int *)
typedef CURLcode(* Curl_done_func )(struct connectdata *, CURLcode, bool)
typedef ssize_tCurl_recv )(struct connectdata *conn, int sockindex, char *buf, size_t len, CURLcode *err)
typedef ssize_tCurl_send )(struct connectdata *conn, int sockindex, const void *buf, size_t len, CURLcode *err)

Enumerations

enum  Curl_HttpReq {
  HTTPREQ_NONE, HTTPREQ_GET, HTTPREQ_POST, HTTPREQ_POST_FORM,
  HTTPREQ_PUT, HTTPREQ_HEAD, HTTPREQ_CUSTOM, HTTPREQ_LAST
}
enum  Curl_RtspReq {
  RTSPREQ_NONE, RTSPREQ_OPTIONS, RTSPREQ_DESCRIBE, RTSPREQ_ANNOUNCE,
  RTSPREQ_SETUP, RTSPREQ_PLAY, RTSPREQ_PAUSE, RTSPREQ_TEARDOWN,
  RTSPREQ_GET_PARAMETER, RTSPREQ_SET_PARAMETER, RTSPREQ_RECORD, RTSPREQ_RECEIVE,
  RTSPREQ_LAST
}
enum  curlntlm {
  NTLMSTATE_NONE, NTLMSTATE_TYPE1, NTLMSTATE_TYPE2, NTLMSTATE_TYPE3,
  NTLMSTATE_LAST
}
enum  dupstring {
  STRING_CERT_ORIG, STRING_CERT_PROXY, STRING_CERT_TYPE_ORIG, STRING_CERT_TYPE_PROXY,
  STRING_COOKIE, STRING_COOKIEJAR, STRING_CUSTOMREQUEST, STRING_DEFAULT_PROTOCOL,
  STRING_DEVICE, STRING_ENCODING, STRING_FTP_ACCOUNT, STRING_FTP_ALTERNATIVE_TO_USER,
  STRING_FTPPORT, STRING_KEY_ORIG, STRING_KEY_PROXY, STRING_KEY_PASSWD_ORIG,
  STRING_KEY_PASSWD_PROXY, STRING_KEY_TYPE_ORIG, STRING_KEY_TYPE_PROXY, STRING_KRB_LEVEL,
  STRING_NETRC_FILE, STRING_PROXY, STRING_PRE_PROXY, STRING_SET_RANGE,
  STRING_SET_REFERER, STRING_SET_URL, STRING_SSL_CAPATH_ORIG, STRING_SSL_CAPATH_PROXY,
  STRING_SSL_CAFILE_ORIG, STRING_SSL_CAFILE_PROXY, STRING_SSL_PINNEDPUBLICKEY_ORIG, STRING_SSL_PINNEDPUBLICKEY_PROXY,
  STRING_SSL_CIPHER_LIST_ORIG, STRING_SSL_CIPHER_LIST_PROXY, STRING_SSL_EGDSOCKET, STRING_SSL_RANDOM_FILE,
  STRING_USERAGENT, STRING_SSL_CRLFILE_ORIG, STRING_SSL_CRLFILE_PROXY, STRING_SSL_ISSUERCERT_ORIG,
  STRING_SSL_ISSUERCERT_PROXY, STRING_USERNAME, STRING_PASSWORD, STRING_OPTIONS,
  STRING_PROXYUSERNAME, STRING_PROXYPASSWORD, STRING_NOPROXY, STRING_RTSP_SESSION_ID,
  STRING_RTSP_STREAM_URI, STRING_RTSP_TRANSPORT, STRING_SERVICE_NAME, STRING_MAIL_FROM,
  STRING_MAIL_AUTH, STRING_BEARER, STRING_LASTZEROTERMINATED, STRING_COPYPOSTFIELDS,
  STRING_LAST
}
enum  expect100 { EXP100_SEND_DATA, EXP100_AWAITING_CONTINUE, EXP100_SENDING_REQUEST, EXP100_FAILED }
enum  ssl_connect_state {
  ssl_connect_1, ssl_connect_2, ssl_connect_2_reading, ssl_connect_2_writing,
  ssl_connect_3, ssl_connect_done
}
enum  ssl_connection_state { ssl_connection_none, ssl_connection_negotiating, ssl_connection_complete }
enum  upgrade101 { UPGR101_INIT, UPGR101_REQUESTED, UPGR101_RECEIVED, UPGR101_WORKING }

Define Documentation

Definition at line 203 of file urldata.h.

#define CURL_DEFAULT_PASSWORD   "ftp@example.com"

Definition at line 61 of file urldata.h.

#define CURL_DEFAULT_USER   "anonymous"

Definition at line 60 of file urldata.h.

Definition at line 1371 of file urldata.h.

#define CURLEASY_MAGIC_NUMBER   0xc0dedbadU

Definition at line 209 of file urldata.h.

#define CURLMAX (   x,
  y 
)    ((x)>(y)?(x):(y))

Definition at line 215 of file urldata.h.

#define CURLMIN (   x,
  y 
)    ((x)<(y)?(x):(y))

Definition at line 216 of file urldata.h.

#define CURR_TIME   (5+1) /* 6 entries for 5 seconds */

Definition at line 1219 of file urldata.h.

#define DEFAULT_CONNCACHE_SIZE   5

Definition at line 72 of file urldata.h.

#define DEFLATE   1 /* zlib deflate [RFC 1950 & 1951] */

Definition at line 697 of file urldata.h.

#define DICT_DEFINE   "/DEFINE:"

Definition at line 56 of file urldata.h.

#define DICT_DEFINE2   "/D:"

Definition at line 57 of file urldata.h.

#define DICT_DEFINE3   "/LOOKUP:"

Definition at line 58 of file urldata.h.

#define DICT_MATCH   "/MATCH:"

Definition at line 53 of file urldata.h.

#define DICT_MATCH2   "/M:"

Definition at line 54 of file urldata.h.

#define DICT_MATCH3   "/FIND:"

Definition at line 55 of file urldata.h.

#define FIRSTSOCKET   0

Definition at line 618 of file urldata.h.

#define GOOD_EASY_HANDLE (   x)    ((x) && ((x)->magic == CURLEASY_MAGIC_NUMBER))

Definition at line 210 of file urldata.h.

#define GZIP   2 /* gzip algorithm [RFC 1952] */

Definition at line 698 of file urldata.h.

#define HEADERSIZE   256

Definition at line 207 of file urldata.h.

#define IDENTITY   0 /* No encoding */

Definition at line 696 of file urldata.h.

#define KEEP_NONE   0

Definition at line 585 of file urldata.h.

#define KEEP_RECV   (1<<0) /* there is or may be data to read */

Definition at line 586 of file urldata.h.

#define KEEP_RECV_HOLD
Value:
(1<<2) /* when set, no reading should be done but there
                                 might still be data to read */

Definition at line 588 of file urldata.h.

#define KEEP_RECV_PAUSE   (1<<4) /* reading is paused */

Definition at line 590 of file urldata.h.

Definition at line 593 of file urldata.h.

#define KEEP_SEND   (1<<1) /* there is or may be data to write */

Definition at line 587 of file urldata.h.

#define KEEP_SEND_HOLD
Value:
(1<<3) /* when set, no writing should be done but there
                                  might still be data to write */

Definition at line 589 of file urldata.h.

#define KEEP_SEND_PAUSE   (1<<5) /* writing is paused */

Definition at line 591 of file urldata.h.

Definition at line 594 of file urldata.h.

#define LIBCURL_NAME   "libcurl"

Definition at line 1823 of file urldata.h.

#define MAX_CURL_PASSWORD_LENGTH   256

Definition at line 1262 of file urldata.h.

#define MAX_CURL_USER_LENGTH   256

Definition at line 1261 of file urldata.h.

#define MAX_IPADR_LEN   sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")

Definition at line 75 of file urldata.h.

#define PORT_DICT   2628

Definition at line 34 of file urldata.h.

#define PORT_FTP   21

Definition at line 29 of file urldata.h.

#define PORT_FTPS   990

Definition at line 30 of file urldata.h.

#define PORT_GOPHER   70

Definition at line 51 of file urldata.h.

#define PORT_HTTP   80

Definition at line 32 of file urldata.h.

#define PORT_HTTPS   443

Definition at line 33 of file urldata.h.

#define PORT_IMAP   143

Definition at line 39 of file urldata.h.

#define PORT_IMAPS   993

Definition at line 40 of file urldata.h.

#define PORT_LDAP   389

Definition at line 35 of file urldata.h.

#define PORT_LDAPS   636

Definition at line 36 of file urldata.h.

#define PORT_POP3   110

Definition at line 41 of file urldata.h.

#define PORT_POP3S   995

Definition at line 42 of file urldata.h.

#define PORT_RTMP   1935

Definition at line 48 of file urldata.h.

#define PORT_RTMPS   PORT_HTTPS

Definition at line 50 of file urldata.h.

#define PORT_RTMPT   PORT_HTTP

Definition at line 49 of file urldata.h.

#define PORT_RTSP   554

Definition at line 47 of file urldata.h.

#define PORT_SMB   445

Definition at line 43 of file urldata.h.

#define PORT_SMBS   445

Definition at line 44 of file urldata.h.

#define PORT_SMTP   25

Definition at line 45 of file urldata.h.

#define PORT_SMTPS   465 /* sometimes called SSMTP */

Definition at line 46 of file urldata.h.

#define PORT_SSH   22

Definition at line 38 of file urldata.h.

#define PORT_TELNET   23

Definition at line 31 of file urldata.h.

#define PORT_TFTP   69

Definition at line 37 of file urldata.h.

Definition at line 67 of file urldata.h.

Definition at line 66 of file urldata.h.

Definition at line 68 of file urldata.h.

Definition at line 69 of file urldata.h.

Definition at line 70 of file urldata.h.

#define PROTOPT_ALPN_NPN   (1<<8) /* set ALPN and/or NPN for this */

Definition at line 838 of file urldata.h.

#define PROTOPT_CLOSEACTION   (1<<2) /* need action before socket close */

Definition at line 828 of file urldata.h.

Value:
(1<<7) /* requires login credentials per
                                          request instead of per connection */

Definition at line 837 of file urldata.h.

#define PROTOPT_DIRLOCK   (1<<3)

Definition at line 833 of file urldata.h.

#define PROTOPT_DUAL   (1<<1) /* this protocol uses two connections */

Definition at line 827 of file urldata.h.

Value:
(1<<5)    /* needs a password, and if none is set it
                                      gets a default */

Definition at line 835 of file urldata.h.

#define PROTOPT_NONE   0 /* nothing extra */

Definition at line 825 of file urldata.h.

#define PROTOPT_NONETWORK   (1<<4) /* protocol doesn't use the network! */

Definition at line 834 of file urldata.h.

Value:
(1<<6)   /* protocol can't handle
                                        url query strings (?foo=bar) ! */

Definition at line 836 of file urldata.h.

#define PROTOPT_SSL   (1<<0) /* uses SSL */

Definition at line 826 of file urldata.h.

#define PROTOPT_STREAM   (1<<9) /* a protocol with individual logical streams */

Definition at line 839 of file urldata.h.

#define RESP_TIMEOUT   (1800*1000)

Definition at line 80 of file urldata.h.

#define SECONDARYSOCKET   1

Definition at line 619 of file urldata.h.


Typedef Documentation

typedef CURLcode(* Curl_do_more_func)(struct connectdata *, int *)

Definition at line 624 of file urldata.h.

Definition at line 625 of file urldata.h.

typedef ssize_t( Curl_recv)(struct connectdata *conn,int sockindex,char *buf,size_t len,CURLcode *err)

Definition at line 849 of file urldata.h.

typedef ssize_t( Curl_send)(struct connectdata *conn,int sockindex,const void *buf,size_t len,CURLcode *err)

Definition at line 842 of file urldata.h.


Enumeration Type Documentation

Enumerator:
HTTPREQ_NONE 
HTTPREQ_GET 
HTTPREQ_POST 
HTTPREQ_POST_FORM 
HTTPREQ_PUT 
HTTPREQ_HEAD 
HTTPREQ_CUSTOM 
HTTPREQ_LAST 

Definition at line 1226 of file urldata.h.

Enumerator:
RTSPREQ_NONE 
RTSPREQ_OPTIONS 
RTSPREQ_DESCRIBE 
RTSPREQ_ANNOUNCE 
RTSPREQ_SETUP 
RTSPREQ_PLAY 
RTSPREQ_PAUSE 
RTSPREQ_TEARDOWN 
RTSPREQ_GET_PARAMETER 
RTSPREQ_SET_PARAMETER 
RTSPREQ_RECORD 
RTSPREQ_RECEIVE 
RTSPREQ_LAST 

Definition at line 1237 of file urldata.h.

enum curlntlm
Enumerator:
NTLMSTATE_NONE 
NTLMSTATE_TYPE1 
NTLMSTATE_TYPE2 
NTLMSTATE_TYPE3 
NTLMSTATE_LAST 

Definition at line 421 of file urldata.h.

enum dupstring
Enumerator:
STRING_CERT_ORIG 
STRING_CERT_PROXY 
STRING_CERT_TYPE_ORIG 
STRING_CERT_TYPE_PROXY 
STRING_COOKIE 
STRING_COOKIEJAR 
STRING_CUSTOMREQUEST 
STRING_DEFAULT_PROTOCOL 
STRING_DEVICE 
STRING_ENCODING 
STRING_FTP_ACCOUNT 
STRING_FTP_ALTERNATIVE_TO_USER 
STRING_FTPPORT 
STRING_KEY_ORIG 
STRING_KEY_PROXY 
STRING_KEY_PASSWD_ORIG 
STRING_KEY_PASSWD_PROXY 
STRING_KEY_TYPE_ORIG 
STRING_KEY_TYPE_PROXY 
STRING_KRB_LEVEL 
STRING_NETRC_FILE 
STRING_PROXY 
STRING_PRE_PROXY 
STRING_SET_RANGE 
STRING_SET_REFERER 
STRING_SET_URL 
STRING_SSL_CAPATH_ORIG 
STRING_SSL_CAPATH_PROXY 
STRING_SSL_CAFILE_ORIG 
STRING_SSL_CAFILE_PROXY 
STRING_SSL_PINNEDPUBLICKEY_ORIG 
STRING_SSL_PINNEDPUBLICKEY_PROXY 
STRING_SSL_CIPHER_LIST_ORIG 
STRING_SSL_CIPHER_LIST_PROXY 
STRING_SSL_EGDSOCKET 
STRING_SSL_RANDOM_FILE 
STRING_USERAGENT 
STRING_SSL_CRLFILE_ORIG 
STRING_SSL_CRLFILE_PROXY 
STRING_SSL_ISSUERCERT_ORIG 
STRING_SSL_ISSUERCERT_PROXY 
STRING_USERNAME 
STRING_PASSWORD 
STRING_OPTIONS 
STRING_PROXYUSERNAME 
STRING_PROXYPASSWORD 
STRING_NOPROXY 
STRING_RTSP_SESSION_ID 
STRING_RTSP_STREAM_URI 
STRING_RTSP_TRANSPORT 
STRING_SERVICE_NAME 
STRING_MAIL_FROM 
STRING_MAIL_AUTH 
STRING_BEARER 
STRING_LASTZEROTERMINATED 
STRING_COPYPOSTFIELDS 
STRING_LAST 

Definition at line 1442 of file urldata.h.

enum expect100
Enumerator:
EXP100_SEND_DATA 
EXP100_AWAITING_CONTINUE 
EXP100_SENDING_REQUEST 
EXP100_FAILED 

Definition at line 627 of file urldata.h.

Enumerator:
ssl_connect_1 
ssl_connect_2 
ssl_connect_2_reading 
ssl_connect_2_writing 
ssl_connect_3 
ssl_connect_done 

Definition at line 253 of file urldata.h.

Enumerator:
ssl_connection_none 
ssl_connection_negotiating 
ssl_connection_complete 

Definition at line 262 of file urldata.h.

enum upgrade101
Enumerator:
UPGR101_INIT 
UPGR101_REQUESTED 
UPGR101_RECEIVED 
UPGR101_WORKING 

Definition at line 635 of file urldata.h.



rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:09