]> git.ipfire.org Git - thirdparty/squid.git/blob - src/http/forward.h
Bug 5129 pt1: remove Lock use from HttpRequestMethod (#825)
[thirdparty/squid.git] / src / http / forward.h
1 /*
2 * Copyright (C) 1996-2021 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 namespace Http
15 {
16
17 class ContentLengthInterpreter;
18
19 class Message;
20 typedef RefCount<Http::Message> MessagePointer;
21
22 class Stream;
23 typedef RefCount<Http::Stream> StreamPointer;
24
25 } // namespace Http
26
27 // TODO move these into Http namespace
28
29 typedef enum {
30 SC_NO_STORE,
31 SC_NO_STORE_REMOTE,
32 SC_MAX_AGE,
33 SC_CONTENT,
34 SC_OTHER,
35 SC_ENUM_END /* also used to mean "invalid" */
36 } http_hdr_sc_type;
37
38 class HttpHdrSc;
39
40 class HttpRequestMethod;
41
42 class HttpRequest;
43 typedef RefCount<HttpRequest> HttpRequestPointer;
44
45 class HttpReply;
46 typedef RefCount<HttpReply> HttpReplyPointer;
47
48 #endif /* SQUID_SRC_HTTP_FORWARD_H */
49