Go to the documentation of this file.00001 #ifndef HEADER_CURL_TRANSFER_H
00002 #define HEADER_CURL_TRANSFER_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 void Curl_init_CONNECT(struct Curl_easy *data);
00026
00027 CURLcode Curl_pretransfer(struct Curl_easy *data);
00028 CURLcode Curl_second_connect(struct connectdata *conn);
00029 CURLcode Curl_posttransfer(struct Curl_easy *data);
00030
00031 typedef enum {
00032 FOLLOW_NONE,
00033
00034 FOLLOW_FAKE,
00035 FOLLOW_RETRY,
00036
00037 FOLLOW_REDIR,
00038 FOLLOW_LAST
00039 } followtype;
00040
00041 CURLcode Curl_follow(struct Curl_easy *data, char *newurl,
00042 followtype type);
00043 CURLcode Curl_readwrite(struct connectdata *conn,
00044 struct Curl_easy *data, bool *done,
00045 bool *comeback);
00046 int Curl_single_getsock(const struct connectdata *conn,
00047 curl_socket_t *socks,
00048 int numsocks);
00049 CURLcode Curl_readrewind(struct connectdata *conn);
00050 CURLcode Curl_fillreadbuffer(struct connectdata *conn, int bytes, int *nreadp);
00051 CURLcode Curl_retry_request(struct connectdata *conn, char **url);
00052 bool Curl_meets_timecondition(struct Curl_easy *data, time_t timeofdoc);
00053
00054
00055 void
00056 Curl_setup_transfer (struct connectdata *data,
00057 int sockindex,
00058 curl_off_t size,
00059 bool getheader,
00060 curl_off_t *bytecountp,
00061 int writesockindex,
00062
00063
00064 curl_off_t *writecountp
00065 );
00066
00067 #endif
00068