doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Enumerations | Functions
transfer.c File Reference
#include "setup.h"
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
#include <ctype.h>
#include <sys/stat.h>
#include <errno.h>
#include "strtoofft.h"
#include "strequal.h"
#include <sys/time.h>
#include <netdb.h>
#include <signal.h>
#include "urldata.h"
#include <curl/curl.h>
#include <curl/types.h>
#include "netrc.h"
#include "content_encoding.h"
#include "hostip.h"
#include "transfer.h"
#include "sendf.h"
#include "speedcheck.h"
#include "progress.h"
#include "getdate.h"
#include "http.h"
#include "url.h"
#include "getinfo.h"
#include "ssluse.h"
#include "http_digest.h"
#include "http_ntlm.h"
#include "http_negotiate.h"
#include "share.h"
#include <curl/mprintf.h>

Go to the source code of this file.

Macros

#define _MPRINTF_REPLACE   /* use our functions only */
 
#define CURL_TIMEOUT_EXPECT_100   1000 /* counting ms here */
 

Enumerations

enum  { KEEP_NONE, KEEP_READ, KEEP_WRITE }
 

Functions

CURLcode Curl_readwrite (struct connectdata *conn, bool *done)
 
CURLcode Curl_readwrite_init (struct connectdata *conn)
 
void Curl_single_fdset (struct connectdata *conn, fd_set *read_fd_set, fd_set *write_fd_set, fd_set *exc_fd_set, int *max_fd)
 
CURLcode Curl_pretransfer (struct SessionHandle *data)
 
CURLcode Curl_posttransfer (struct SessionHandle *data)
 
CURLcode Curl_follow (struct SessionHandle *data, char *newurl)
 
CURLcode Curl_perform (struct SessionHandle *data)
 
CURLcode Curl_Transfer (struct connectdata *c_conn, int sockindex, curl_off_t size, bool getheader, curl_off_t *bytecountp, int writesockindex, curl_off_t *writecountp)
 

Macro Definition Documentation

#define _MPRINTF_REPLACE   /* use our functions only */

Definition at line 106 of file transfer.c.

#define CURL_TIMEOUT_EXPECT_100   1000 /* counting ms here */

Definition at line 114 of file transfer.c.

Enumeration Type Documentation

anonymous enum
Enumerator
KEEP_NONE 
KEEP_READ 
KEEP_WRITE 

Definition at line 116 of file transfer.c.

Function Documentation

CURLcode Curl_follow ( struct SessionHandle data,
char *  newurl 
)

Definition at line 1580 of file transfer.c.

CURLcode Curl_perform ( struct SessionHandle data)

Definition at line 1860 of file transfer.c.

CURLcode Curl_posttransfer ( struct SessionHandle data)

Definition at line 1513 of file transfer.c.

CURLcode Curl_pretransfer ( struct SessionHandle data)

Definition at line 1450 of file transfer.c.

CURLcode Curl_readwrite ( struct connectdata conn,
bool done 
)

Definition at line 193 of file transfer.c.

CURLcode Curl_readwrite_init ( struct connectdata conn)

Definition at line 1274 of file transfer.c.

void Curl_single_fdset ( struct connectdata conn,
fd_set *  read_fd_set,
fd_set *  write_fd_set,
fd_set *  exc_fd_set,
int max_fd 
)

Definition at line 1353 of file transfer.c.

CURLcode Curl_Transfer ( struct connectdata c_conn,
int  sockindex,
curl_off_t  size,
bool  getheader,
curl_off_t bytecountp,
int  writesockindex,
curl_off_t writecountp 
)

Definition at line 1998 of file transfer.c.