~ubuntu-branches/ubuntu/lucid/curl/lucid-201101212007

« back to all changes in this revision

Viewing changes to lib/transfer.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-05-16 15:16:54 UTC
  • mto: (3.1.1 lenny) (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: james.westby@ubuntu.com-20070516151654-x9nkigtr2j0i8d0v
Tags: upstream-7.16.2
ImportĀ upstreamĀ versionĀ 7.16.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 *                            | (__| |_| |  _ <| |___
8
8
 *                             \___|\___/|_| \_\_____|
9
9
 *
10
 
 * Copyright (C) 1998 - 2005, Daniel Stenberg, <daniel@haxx.se>, et al.
 
10
 * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
11
11
 *
12
12
 * This software is licensed as described in the file COPYING, which
13
13
 * you should have received as part of this distribution. The terms
20
20
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21
21
 * KIND, either express or implied.
22
22
 *
23
 
 * $Id: transfer.h,v 1.25 2006-04-10 15:00:54 bagder Exp $
 
23
 * $Id: transfer.h,v 1.29 2007-04-03 18:25:18 yangtse Exp $
24
24
 ***************************************************************************/
25
25
CURLcode Curl_perform(struct SessionHandle *data);
26
26
CURLcode Curl_pretransfer(struct SessionHandle *data);
32
32
                        curl_socket_t *socks,
33
33
                        int numsocks);
34
34
CURLcode Curl_readwrite_init(struct connectdata *conn);
 
35
void Curl_pre_readwrite(struct connectdata *conn);
35
36
CURLcode Curl_readrewind(struct connectdata *conn);
36
37
CURLcode Curl_fillreadbuffer(struct connectdata *conn, int bytes, int *nreadp);
37
38
bool Curl_retry_request(struct connectdata *conn, char **url);
 
39
 
38
40
/* This sets up a forthcoming transfer */
39
41
CURLcode
40
 
Curl_Transfer (struct connectdata *data,
 
42
Curl_setup_transfer (struct connectdata *data,
41
43
               int sockindex,           /* socket index to read from or -1 */
42
44
               curl_off_t size,         /* -1 if unknown at this point */
43
45
               bool getheader,          /* TRUE if header parsing is wanted */