4 /***************************************************************************
6 * Project ___| | | | _ \| |
8 * | (__| |_| | _ <| |___
9 * \___|\___/|_| \_\_____|
11 * Copyright (C) 1998 - 2002, Daniel Stenberg, <daniel@haxx.se>, et al.
13 * This software is licensed as described in the file COPYING, which
14 * you should have received as part of this distribution. The terms
15 * are also available at http://curl.haxx.se/docs/copyright.html.
17 * You may opt to use, copy, modify, merge, publish, distribute and/or sell
18 * copies of the Software, and permit persons to whom the Software is
19 * furnished to do so, under the terms of the COPYING file.
21 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
22 * KIND, either express or implied.
25 ***************************************************************************/
26 #ifndef CURL_DISABLE_HTTP
27 /* ftp can use this as well */
28 CURLcode Curl_ConnectHTTPProxyTunnel(struct connectdata *conn,
30 char *hostname, int remote_port);
32 /* protocol-specific functions set up to be called by the main engine */
33 CURLcode Curl_http(struct connectdata *conn);
34 CURLcode Curl_http_done(struct connectdata *conn);
35 CURLcode Curl_http_connect(struct connectdata *conn);
37 /* The following functions are defined in http_chunks.c */
38 void Curl_httpchunk_init(struct connectdata *conn);
39 CHUNKcode Curl_httpchunk_read(struct connectdata *conn, char *datap,
40 ssize_t length, ssize_t *wrote);