]>
Commit | Line | Data |
---|---|---|
eac61ce1 | 1 | /* |
b8ae064d | 2 | * Copyright (C) 1996-2023 The Squid Software Foundation and contributors |
eac61ce1 AJ |
3 | * |
4 | * Squid software is distributed under GPLv2+ license and includes | |
5 | * contributions from numerous individuals and organizations. | |
6 | * Please see the COPYING and CONTRIBUTORS files for details. | |
7 | */ | |
8 | ||
9094b36d AJ |
9 | #ifndef SQUID_SRC_HTTP_FORWARD_H |
10 | #define SQUID_SRC_HTTP_FORWARD_H | |
11 | ||
c99510dd | 12 | #include "http/one/forward.h" |
9094b36d | 13 | |
5d821589 AJ |
14 | #define HTTP_REQBUF_SZ 4096 |
15 | ||
8d664cb0 AJ |
16 | namespace Http |
17 | { | |
18 | ||
4f1c93a7 EB |
19 | class ContentLengthInterpreter; |
20 | ||
63df1d28 AJ |
21 | class Message; |
22 | typedef RefCount<Http::Message> MessagePointer; | |
23 | ||
d3dddfb5 AJ |
24 | class Stream; |
25 | typedef RefCount<Http::Stream> StreamPointer; | |
8d664cb0 AJ |
26 | |
27 | } // namespace Http | |
28 | ||
24673a9e AJ |
29 | // TODO move these into Http namespace |
30 | ||
31 | typedef enum { | |
32 | SC_NO_STORE, | |
33 | SC_NO_STORE_REMOTE, | |
34 | SC_MAX_AGE, | |
35 | SC_CONTENT, | |
36 | SC_OTHER, | |
37 | SC_ENUM_END /* also used to mean "invalid" */ | |
38 | } http_hdr_sc_type; | |
39 | ||
40 | class HttpHdrSc; | |
41 | ||
47c9c937 AR |
42 | class HttpHeader; |
43 | ||
9094b36d | 44 | class HttpRequestMethod; |
9094b36d AJ |
45 | |
46 | class HttpRequest; | |
47 | typedef RefCount<HttpRequest> HttpRequestPointer; | |
48 | ||
49 | class HttpReply; | |
50 | typedef RefCount<HttpReply> HttpReplyPointer; | |
51 | ||
9094b36d | 52 | #endif /* SQUID_SRC_HTTP_FORWARD_H */ |
f53969cc | 53 |