|
|
| version 1.2, 2008/06/11 11:38:18 | version 1.7, 2012/03/16 09:24:09 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: commonly used functions. | Parser: commonly used functions. |
| Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com) | Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) |
| Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) | Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) |
| */ | */ |
| #ifndef PA_HTTP_H | #ifndef PA_HTTP_H |
| #define PA_HTTP_H | #define PA_HTTP_H |
| static const char * const IDENT_HTTP_H="$Date$"; | #define IDENT_PA_HTTP_H "$Id$" |
| #include "pa_vstring.h" | #include "pa_vstring.h" |
| #include "pa_vint.h" | #include "pa_vint.h" |
| Line 31 int PASCAL closesocket(SOCKET); | Line 31 int PASCAL closesocket(SOCKET); |
| # endif | # endif |
| #endif | #endif |
| const char* pa_form2string(HashStringValue& form); | |
| #ifndef DOXYGEN | #ifndef DOXYGEN |
| struct File_read_http_result { | struct File_read_http_result { |
| char *str; size_t length; | char *str; size_t length; |
| Line 39 struct File_read_http_result { | Line 38 struct File_read_http_result { |
| }; | }; |
| #endif | #endif |
| File_read_http_result pa_internal_file_read_http(Request_charsets& charsets, | char *pa_http_safe_header_name(const char *name); |
| const String& file_spec, | |
| bool as_text, | File_read_http_result pa_internal_file_read_http(Request& r, |
| const String& file_spec, | |
| bool as_text, | |
| HashStringValue *options=0, | HashStringValue *options=0, |
| bool transcode_text_result=true); | bool transcode_text_result=true); |