D:/opendownloadmanager/ODM-1.x/InetFile/cURL_lib/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"
#include "splay.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  ftp_conn
struct  SSHPROTO
struct  ssh_conn
struct  FILEPROTO
struct  ConnectBits
struct  hostname
struct  Curl_transfer_keeper
struct  HandleData
struct  connectdata
struct  connectdata::dynamically_allocated_data
struct  PureInfo
struct  Progress
struct  auth
struct  conncache
struct  UrlState
struct  DynamicStatic
struct  UserDefined
struct  Names
struct  SessionHandle

Defines

#define PORT_FTP   21
#define PORT_FTPS   990
#define PORT_TELNET   23
#define PORT_HTTP   80
#define PORT_HTTPS   443
#define PORT_DICT   2628
#define PORT_LDAP   389
#define PORT_TFTP   69
#define PORT_SSH   22
#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   "ftp@example.com"
#define BUFSIZE   CURL_MAX_WRITE_SIZE
#define HEADERSIZE   256
#define CURLEASY_MAGIC_NUMBER   0xc0dedbad
#define CURLMAX(x, y)   ((x)>(y)?(x):(y))
#define KEEP_NONE   0
#define KEEP_READ   1
#define KEEP_WRITE   2
#define KEEP_READ_HOLD   4
#define KEEP_WRITE_HOLD   8
#define IDENTITY   0
#define DEFLATE   1
#define GZIP   2
#define COMPRESS   3
#define FIRSTSOCKET   0
#define SECONDARYSOCKET   1
#define PROT_MISSING   (1<<0)
#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)
#define PROT_TFTP   (1<<11)
#define PROT_SCP   (1<<12)
#define PROT_SFTP   (1<<13)
#define PROT_CLOSEACTION   PROT_FTP
#define CURR_TIME   (5+1)
#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 CURL_DO_LINEEND_CONV
#define LIBCURL_NAME   "libcurl"

Typedefs

typedef CURLcode(* Curl_do_more_func )(struct connectdata *)
typedef CURLcode(* Curl_done_func )(struct connectdata *, CURLcode, bool)

Enumerations

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  curlntlm {
  NTLMSTATE_NONE, NTLMSTATE_TYPE1, NTLMSTATE_TYPE2, NTLMSTATE_TYPE3,
  NTLMSTATE_LAST
}
enum  ftpstate {
  FTP_STOP, FTP_WAIT220, FTP_AUTH, FTP_USER,
  FTP_PASS, FTP_ACCT, FTP_PBSZ, FTP_PROT,
  FTP_CCC, FTP_PWD, FTP_QUOTE, FTP_RETR_PREQUOTE,
  FTP_STOR_PREQUOTE, FTP_POSTQUOTE, FTP_CWD, FTP_MKD,
  FTP_MDTM, FTP_TYPE, FTP_LIST_TYPE, FTP_RETR_TYPE,
  FTP_STOR_TYPE, FTP_SIZE, FTP_RETR_SIZE, FTP_STOR_SIZE,
  FTP_REST, FTP_RETR_REST, FTP_PORT, FTP_PASV,
  FTP_LIST, FTP_RETR, FTP_STOR, FTP_QUIT,
  FTP_LAST
}
enum  curl_ftpfile { FTPFILE_MULTICWD = 1, FTPFILE_NOCWD = 2, FTPFILE_SINGLECWD = 3 }
enum  sshstate {
  SSH_STOP, SSH_S_STARTUP, SSH_AUTHLIST, SSH_AUTH_PKEY_INIT,
  SSH_AUTH_PKEY, SSH_AUTH_PASS_INIT, SSH_AUTH_PASS, SSH_AUTH_HOST_INIT,
  SSH_AUTH_HOST, SSH_AUTH_KEY_INIT, SSH_AUTH_KEY, SSH_AUTH_DONE,
  SSH_SFTP_INIT, SSH_SFTP_REALPATH, SSH_GET_WORKINGPATH, SSH_SFTP_SHUTDOWN,
  SSH_SESSION_FREE, SSH_QUIT, SSH_LAST
}
enum  Curl_HttpReq {
  HTTPREQ_NONE, HTTPREQ_GET, HTTPREQ_POST, HTTPREQ_POST_FORM,
  HTTPREQ_PUT, HTTPREQ_HEAD, HTTPREQ_CUSTOM, HTTPREQ_LAST
}


Define Documentation

#define BUFSIZE   CURL_MAX_WRITE_SIZE

#define COMPRESS   3

Definition at line 508 of file urldata.h.

Referenced by Curl_httpchunk_read(), and Curl_readwrite().

#define CURL_DEFAULT_PASSWORD   "ftp@example.com"

Definition at line 28 of file urldata.h.

Referenced by CreateConnection().

#define CURL_DEFAULT_USER   "anonymous"

Definition at line 27 of file urldata.h.

Referenced by CreateConnection().

#define CURL_DO_LINEEND_CONV

Definition at line 906 of file urldata.h.

Referenced by Curl_ftp_done(), and Curl_readwrite().

#define CURLEASY_MAGIC_NUMBER   0xc0dedbad

Definition at line 107 of file urldata.h.

Referenced by curl_easy_duphandle(), Curl_open(), multi_socket(), and signalPipeClose().

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

Definition at line 109 of file urldata.h.

Referenced by Curl_readwrite().

#define CURR_TIME   (5+1)

Definition at line 791 of file urldata.h.

Referenced by Curl_pgrsUpdate().

#define DEFLATE   1

Definition at line 506 of file urldata.h.

Referenced by Curl_httpchunk_read(), and Curl_readwrite().

#define DICT_DEFINE   "/DEFINE:"

Definition at line 23 of file urldata.h.

Referenced by Curl_dict().

#define DICT_DEFINE2   "/D:"

Definition at line 24 of file urldata.h.

Referenced by Curl_dict().

#define DICT_DEFINE3   "/LOOKUP:"

Definition at line 25 of file urldata.h.

Referenced by Curl_dict().

#define DICT_MATCH   "/MATCH:"

Definition at line 20 of file urldata.h.

Referenced by Curl_dict().

#define DICT_MATCH2   "/M:"

Definition at line 21 of file urldata.h.

Referenced by Curl_dict().

#define DICT_MATCH3   "/FIND:"

Definition at line 22 of file urldata.h.

Referenced by Curl_dict().

#define FIRSTSOCKET   0

#define GZIP   2

Definition at line 507 of file urldata.h.

#define HEADERSIZE   256

Definition at line 105 of file urldata.h.

Referenced by curl_easy_duphandle(), and Curl_open().

#define IDENTITY   0

Definition at line 505 of file urldata.h.

Referenced by Curl_httpchunk_read(), and Curl_readwrite().

#define KEEP_NONE   0

Definition at line 447 of file urldata.h.

#define KEEP_READ   1

#define KEEP_READ_HOLD   4

Definition at line 450 of file urldata.h.

Referenced by Curl_readwrite(), and Transfer().

#define KEEP_WRITE   2

#define KEEP_WRITE_HOLD   8

Definition at line 451 of file urldata.h.

Referenced by Curl_readwrite(), and Transfer().

#define LIBCURL_NAME   "libcurl"

Definition at line 1112 of file urldata.h.

Referenced by CreateConnection(), Curl_dict(), and curl_version().

#define MAX_CURL_PASSWORD_LENGTH   256

Definition at line 810 of file urldata.h.

Referenced by CreateConnection().

#define MAX_CURL_PASSWORD_LENGTH_TXT   "255"

Definition at line 812 of file urldata.h.

Referenced by CreateConnection().

#define MAX_CURL_USER_LENGTH   256

Definition at line 809 of file urldata.h.

Referenced by CreateConnection().

#define MAX_CURL_USER_LENGTH_TXT   "255"

Definition at line 811 of file urldata.h.

Referenced by CreateConnection().

#define PORT_DICT   2628

Definition at line 15 of file urldata.h.

Referenced by CreateConnection().

#define PORT_FTP   21

Definition at line 10 of file urldata.h.

Referenced by CreateConnection().

#define PORT_FTPS   990

Definition at line 11 of file urldata.h.

Referenced by CreateConnection().

#define PORT_HTTP   80

Definition at line 13 of file urldata.h.

Referenced by CreateConnection(), and Curl_http().

#define PORT_HTTPS   443

Definition at line 14 of file urldata.h.

Referenced by CreateConnection(), and Curl_http().

#define PORT_LDAP   389

Definition at line 16 of file urldata.h.

Referenced by CreateConnection().

#define PORT_SSH   22

Definition at line 18 of file urldata.h.

Referenced by CreateConnection().

#define PORT_TELNET   23

Definition at line 12 of file urldata.h.

Referenced by CreateConnection().

#define PORT_TFTP   69

Definition at line 17 of file urldata.h.

Referenced by CreateConnection().

#define PROT_CLOSEACTION   PROT_FTP

Definition at line 612 of file urldata.h.

Referenced by curl_multi_cleanup(), and multi_conn_using().

#define PROT_DICT   (1<<6)

Definition at line 603 of file urldata.h.

Referenced by CreateConnection().

#define PROT_FILE   (1<<8)

Definition at line 605 of file urldata.h.

Referenced by CreateConnection(), SetupConnection(), and Transfer().

#define PROT_FTP   (1<<4)

Definition at line 601 of file urldata.h.

Referenced by ConnectionExists(), CreateConnection(), Curl_client_write(), and Curl_http().

#define PROT_FTPS   (1<<9)

Definition at line 606 of file urldata.h.

Referenced by CreateConnection(), Curl_ftp_connect(), and ftp_statemach_act().

#define PROT_HTTP   (1<<2)

#define PROT_HTTPS   (1<<3)

#define PROT_LDAP   (1<<7)

Definition at line 604 of file urldata.h.

Referenced by CreateConnection().

#define PROT_MISSING   (1<<0)

Definition at line 598 of file urldata.h.

Referenced by CreateConnection(), and ParseURLAndFillConnection().

#define PROT_SCP   (1<<12)

Definition at line 609 of file urldata.h.

Referenced by CreateConnection(), Curl_read(), Curl_write(), and data_pending().

#define PROT_SFTP   (1<<13)

Definition at line 610 of file urldata.h.

Referenced by CreateConnection(), Curl_read(), Curl_write(), and data_pending().

#define PROT_SSL   (1<<10)

Definition at line 607 of file urldata.h.

Referenced by ConnectionExists(), and CreateConnection().

#define PROT_TELNET   (1<<5)

Definition at line 602 of file urldata.h.

Referenced by CreateConnection().

#define PROT_TFTP   (1<<11)

Definition at line 608 of file urldata.h.

Referenced by CreateConnection(), and Transfer().

#define SECONDARYSOCKET   1


Typedef Documentation

typedef CURLcode(* Curl_do_more_func)(struct connectdata *)

Definition at line 545 of file urldata.h.

Definition at line 546 of file urldata.h.


Enumeration Type Documentation

Enumerator:
FTPFILE_MULTICWD 
FTPFILE_NOCWD 
FTPFILE_SINGLECWD 

Definition at line 306 of file urldata.h.

Enumerator:
HTTPREQ_NONE 
HTTPREQ_GET 
HTTPREQ_POST 
HTTPREQ_POST_FORM 
HTTPREQ_PUT 
HTTPREQ_HEAD 
HTTPREQ_CUSTOM 
HTTPREQ_LAST 

Definition at line 798 of file urldata.h.

enum curlntlm

Enumerator:
NTLMSTATE_NONE 
NTLMSTATE_TYPE1 
NTLMSTATE_TYPE2 
NTLMSTATE_TYPE3 
NTLMSTATE_LAST 

Definition at line 192 of file urldata.h.

enum ftpstate

Enumerator:
FTP_STOP 
FTP_WAIT220 
FTP_AUTH 
FTP_USER 
FTP_PASS 
FTP_ACCT 
FTP_PBSZ 
FTP_PROT 
FTP_CCC 
FTP_PWD 
FTP_QUOTE 
FTP_RETR_PREQUOTE 
FTP_STOR_PREQUOTE 
FTP_POSTQUOTE 
FTP_CWD 
FTP_MKD 
FTP_MDTM 
FTP_TYPE 
FTP_LIST_TYPE 
FTP_RETR_TYPE 
FTP_STOR_TYPE 
FTP_SIZE 
FTP_RETR_SIZE 
FTP_STOR_SIZE 
FTP_REST 
FTP_RETR_REST 
FTP_PORT 
FTP_PASV 
FTP_LIST 
FTP_RETR 
FTP_STOR 
FTP_QUIT 
FTP_LAST 

Definition at line 270 of file urldata.h.

enum sshstate

Enumerator:
SSH_STOP 
SSH_S_STARTUP 
SSH_AUTHLIST 
SSH_AUTH_PKEY_INIT 
SSH_AUTH_PKEY 
SSH_AUTH_PASS_INIT 
SSH_AUTH_PASS 
SSH_AUTH_HOST_INIT 
SSH_AUTH_HOST 
SSH_AUTH_KEY_INIT 
SSH_AUTH_KEY 
SSH_AUTH_DONE 
SSH_SFTP_INIT 
SSH_SFTP_REALPATH 
SSH_GET_WORKINGPATH 
SSH_SFTP_SHUTDOWN 
SSH_SESSION_FREE 
SSH_QUIT 
SSH_LAST 

Definition at line 349 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 128 of file urldata.h.


Generated on Sun May 25 00:20:11 2008 by  doxygen 1.5.6