doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Macros | Enumerations
urldata.h File Reference
#include "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"

Go to the source code of this file.

Classes

struct  ssl_connect_data
 
struct  ssl_config_data
 
struct  curl_ssl_session
 
struct  digestdata
 
struct  ntlmdata
 
struct  HTTP
 
struct  HTTP::back
 
struct  FTP
 
struct  FILEPROTO
 
struct  ConnectBits
 
struct  Curl_transfer_keeper
 
struct  connectdata
 
struct  connectdata::dynamically_allocated_data
 Dynamicly allocated strings, may need to be freed before this. More...
 
struct  PureInfo
 
struct  Progress
 
struct  UrlState
 
struct  DynamicStatic
 
struct  UserDefined
 
struct  SessionHandle
 

Macros

#define PORT_FTP   21
 
#define PORT_FTPS   990
 
#define PORT_TELNET   23
 
#define PORT_GOPHER   70
 
#define PORT_HTTP   80
 
#define PORT_HTTPS   443
 
#define PORT_DICT   2628
 
#define PORT_LDAP   389
 
#define DICT_MATCH   "/MATCH:"
 
#define DICT_MATCH2   "/M:"
 
#define DICT_MATCH3   "/FIND:"
 
#define DICT_DEFINE   "/DEFINE:"
 
#define DICT_DEFINE2   "/D:"
 
#define DICT_DEFINE3   "/LOOKUP:"
 
#define CURL_DEFAULT_USER   "anonymous"
 
#define CURL_DEFAULT_PASSWORD   "curl_by_daniel@haxx.se"
 
#define BUFSIZE   CURL_MAX_WRITE_SIZE
 
#define HEADERSIZE   256
 
#define CURL_MAX_FTP_DIRDEPTH   100
 
#define CURLMAX(x, y)   ((x)>(y)?(x):(y))
 
#define IDENTITY   0 /* No encoding */
 
#define DEFLATE   1 /* zlib delfate [RFC 1950 & 1951] */
 
#define GZIP   2 /* gzip algorithm [RFC 1952] */
 
#define COMPRESS   3 /* Not handled, added for completeness */
 
#define FIRSTSOCKET   0
 
#define SECONDARYSOCKET   1
 
#define PROT_MISSING   (1<<0)
 
#define PROT_GOPHER   (1<<1)
 
#define PROT_HTTP   (1<<2)
 
#define PROT_HTTPS   (1<<3)
 
#define PROT_FTP   (1<<4)
 
#define PROT_TELNET   (1<<5)
 
#define PROT_DICT   (1<<6)
 
#define PROT_LDAP   (1<<7)
 
#define PROT_FILE   (1<<8)
 
#define PROT_FTPS   (1<<9)
 
#define PROT_SSL   (1<<10) /* protocol requires SSL */
 
#define CURR_TIME   (5+1) /* 6 entries for 5 seconds */
 
#define MAX_CURL_USER_LENGTH   256
 
#define MAX_CURL_PASSWORD_LENGTH   256
 
#define MAX_CURL_USER_LENGTH_TXT   "255"
 
#define MAX_CURL_PASSWORD_LENGTH_TXT   "255"
 
#define http_include_header   include_header /* former name */
 
#define LIBCURL_NAME   "libcurl"
 

Enumerations

enum  curlntlm {
  NTLMSTATE_NONE, NTLMSTATE_TYPE1, NTLMSTATE_TYPE2, NTLMSTATE_TYPE3,
  NTLMSTATE_LAST
}
 
enum  Curl_HttpReq {
  HTTPREQ_NONE, HTTPREQ_GET, HTTPREQ_POST, HTTPREQ_POST_FORM,
  HTTPREQ_PUT, HTTPREQ_CUSTOM, HTTPREQ_LAST
}
 

Macro Definition Documentation

#define BUFSIZE   CURL_MAX_WRITE_SIZE

Definition at line 104 of file urldata.h.

#define COMPRESS   3 /* Not handled, added for completeness */

Definition at line 350 of file urldata.h.

#define CURL_DEFAULT_PASSWORD   "curl_by_daniel@haxx.se"

Definition at line 47 of file urldata.h.

#define CURL_DEFAULT_USER   "anonymous"

Definition at line 46 of file urldata.h.

#define CURL_MAX_FTP_DIRDEPTH   100

Definition at line 111 of file urldata.h.

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

Definition at line 115 of file urldata.h.

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

Definition at line 631 of file urldata.h.

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

Definition at line 348 of file urldata.h.

#define DICT_DEFINE   "/DEFINE:"

Definition at line 42 of file urldata.h.

#define DICT_DEFINE2   "/D:"

Definition at line 43 of file urldata.h.

#define DICT_DEFINE3   "/LOOKUP:"

Definition at line 44 of file urldata.h.

#define DICT_MATCH   "/MATCH:"

Definition at line 39 of file urldata.h.

#define DICT_MATCH2   "/M:"

Definition at line 40 of file urldata.h.

#define DICT_MATCH3   "/FIND:"

Definition at line 41 of file urldata.h.

#define FIRSTSOCKET   0

Definition at line 394 of file urldata.h.

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

Definition at line 349 of file urldata.h.

#define HEADERSIZE   256

Definition at line 108 of file urldata.h.

#define http_include_header   include_header /* former name */

Definition at line 860 of file urldata.h.

#define IDENTITY   0 /* No encoding */

Definition at line 347 of file urldata.h.

#define LIBCURL_NAME   "libcurl"

Definition at line 911 of file urldata.h.

#define MAX_CURL_PASSWORD_LENGTH   256

Definition at line 657 of file urldata.h.

#define MAX_CURL_PASSWORD_LENGTH_TXT   "255"

Definition at line 659 of file urldata.h.

#define MAX_CURL_USER_LENGTH   256

Definition at line 656 of file urldata.h.

#define MAX_CURL_USER_LENGTH_TXT   "255"

Definition at line 658 of file urldata.h.

#define PORT_DICT   2628

Definition at line 36 of file urldata.h.

#define PORT_FTP   21

Definition at line 30 of file urldata.h.

#define PORT_FTPS   990

Definition at line 31 of file urldata.h.

#define PORT_GOPHER   70

Definition at line 33 of file urldata.h.

#define PORT_HTTP   80

Definition at line 34 of file urldata.h.

#define PORT_HTTPS   443

Definition at line 35 of file urldata.h.

#define PORT_LDAP   389

Definition at line 37 of file urldata.h.

#define PORT_TELNET   23

Definition at line 32 of file urldata.h.

#define PROT_DICT   (1<<6)

Definition at line 414 of file urldata.h.

#define PROT_FILE   (1<<8)

Definition at line 416 of file urldata.h.

#define PROT_FTP   (1<<4)

Definition at line 412 of file urldata.h.

#define PROT_FTPS   (1<<9)

Definition at line 417 of file urldata.h.

#define PROT_GOPHER   (1<<1)

Definition at line 409 of file urldata.h.

#define PROT_HTTP   (1<<2)

Definition at line 410 of file urldata.h.

#define PROT_HTTPS   (1<<3)

Definition at line 411 of file urldata.h.

#define PROT_LDAP   (1<<7)

Definition at line 415 of file urldata.h.

#define PROT_MISSING   (1<<0)

Definition at line 408 of file urldata.h.

#define PROT_SSL   (1<<10) /* protocol requires SSL */

Definition at line 418 of file urldata.h.

#define PROT_TELNET   (1<<5)

Definition at line 413 of file urldata.h.

#define SECONDARYSOCKET   1

Definition at line 395 of file urldata.h.

Enumeration Type Documentation

Enumerator
HTTPREQ_NONE 
HTTPREQ_GET 
HTTPREQ_POST 
HTTPREQ_POST_FORM 
HTTPREQ_PUT 
HTTPREQ_CUSTOM 
HTTPREQ_LAST 

Definition at line 638 of file urldata.h.

enum curlntlm
Enumerator
NTLMSTATE_NONE 
NTLMSTATE_TYPE1 
NTLMSTATE_TYPE2 
NTLMSTATE_TYPE3 
NTLMSTATE_LAST 

Definition at line 178 of file urldata.h.