doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
http.h
Go to the documentation of this file.
1 #ifndef __HTTP_H
2 #define __HTTP_H
3 
4 /***************************************************************************
5  * _ _ ____ _
6  * Project ___| | | | _ \| |
7  * / __| | | | |_) | |
8  * | (__| |_| | _ <| |___
9  * \___|\___/|_| \_\_____|
10  *
11  * Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
12  *
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.
16  *
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.
20  *
21  * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
22  * KIND, either express or implied.
23  *
24  * $Id: http.h,v 1.20 2004/01/07 09:19:35 bagder Exp $
25  ***************************************************************************/
26 #ifndef CURL_DISABLE_HTTP
27 bool Curl_compareheader(char *headerline, /* line to check */
28  const char *header, /* header keyword _with_ colon */
29  const char *content); /* content string to find */
30 
31 /* ftp can use this as well */
33  int tunnelsocket,
34  char *hostname, int remote_port);
35 
36 /* protocol-specific functions set up to be called by the main engine */
37 CURLcode Curl_http(struct connectdata *conn);
38 CURLcode Curl_http_done(struct connectdata *conn);
40 
41 /* The following functions are defined in http_chunks.c */
42 void Curl_httpchunk_init(struct connectdata *conn);
43 CHUNKcode Curl_httpchunk_read(struct connectdata *conn, char *datap,
44  ssize_t length, ssize_t *wrote);
45 void Curl_http_auth_stage(struct SessionHandle *data, int stage);
47  int httpcode, char *header);
48 void Curl_http_auth_act(struct connectdata *conn);
49 #endif
50 #endif
CHUNKcode Curl_httpchunk_read(struct connectdata *conn, char *datap, ssize_t length, ssize_t *wrote)
Definition: http_chunks.c:101
CURLcode Curl_http(struct connectdata *conn)
Definition: http.c:1057
CURLcode Curl_ConnectHTTPProxyTunnel(struct connectdata *conn, int tunnelsocket, char *hostname, int remote_port)
Definition: http.c:731
void Curl_httpchunk_init(struct connectdata *conn)
Definition: http_chunks.c:85
CURLcode
Definition: curl.h:209
CURLcode Curl_http_done(struct connectdata *conn)
Definition: http.c:1000
CURLcode Curl_http_connect(struct connectdata *conn)
Definition: http.c:956
void Curl_http_auth_act(struct connectdata *conn)
Definition: http.c:167
#define ssize_t
Definition: config-win32.h:27
GLsizei GLsizei GLenum GLenum const GLvoid * data
Definition: glext.h:2853
bool Curl_compareheader(char *headerline, const char *header, const char *content)
Definition: http.c:677
CHUNKcode
Definition: http_chunks.h:68
CURLcode Curl_http_auth(struct connectdata *conn, int httpcode, char *header)
Definition: http.c:319
GLsizei const GLcharARB const GLint * length
Definition: glext.h:3599
void Curl_http_auth_stage(struct SessionHandle *data, int stage)
Definition: http.c:1043