dual-license fix
[platform/upstream/curl.git] / lib / http.h
1 #ifndef __HTTP_H
2 #define __HTTP_H
3
4 /*****************************************************************************
5  *                                  _   _ ____  _     
6  *  Project                     ___| | | |  _ \| |    
7  *                             / __| | | | |_) | |    
8  *                            | (__| |_| |  _ <| |___ 
9  *                             \___|\___/|_| \_\_____|
10  *
11  * Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
12  *
13  * In order to be useful for every potential user, curl and libcurl are
14  * dual-licensed under the MPL and the MIT/X-derivate licenses.
15  *
16  * You may opt to use, copy, modify, merge, publish, distribute and/or sell
17  * copies of the Software, and permit persons to whom the Software is
18  * furnished to do so, under the terms of the MPL or the MIT/X-derivate
19  * licenses. You may pick one of these licenses.
20  *
21  * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
22  * KIND, either express or implied.
23  *
24  * $Id$
25  *****************************************************************************/
26
27 /* ftp can use this as well */
28 CURLcode GetHTTPProxyTunnel(struct UrlData *data, int tunnelsocket,
29                             char *hostname, int remote_port);
30
31 /* protocol-specific functions set up to be called by the main engine */
32 CURLcode http(struct connectdata *conn);
33 CURLcode http_done(struct connectdata *conn);
34 CURLcode http_connect(struct connectdata *conn);
35 CURLcode http_close(struct connectdata *conn);
36
37 #endif