]> git.ipfire.org Git - thirdparty/squid.git/blob - src/http/forward.h
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / http / forward.h
1 /*
2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
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
9 #ifndef SQUID_SRC_HTTP_FORWARD_H
10 #define SQUID_SRC_HTTP_FORWARD_H
11
12 #include "http/one/forward.h"
13
14 #define HTTP_REQBUF_SZ 4096
15
16 namespace Http
17 {
18
19 class ContentLengthInterpreter;
20
21 class Message;
22 typedef RefCount<Http::Message> MessagePointer;
23
24 class Stream;
25 typedef RefCount<Http::Stream> StreamPointer;
26
27 } // namespace Http
28
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
42 class HttpRequestMethod;
43
44 class HttpRequest;
45 typedef RefCount<HttpRequest> HttpRequestPointer;
46
47 class HttpReply;
48 typedef RefCount<HttpReply> HttpReplyPointer;
49
50 #endif /* SQUID_SRC_HTTP_FORWARD_H */
51