]> git.ipfire.org Git - thirdparty/squid.git/blame_incremental - src/http/forward.h
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / http / forward.h
... / ...
CommitLineData
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
16namespace Http
17{
18
19class ContentLengthInterpreter;
20
21class Message;
22typedef RefCount<Http::Message> MessagePointer;
23
24class Stream;
25typedef RefCount<Http::Stream> StreamPointer;
26
27} // namespace Http
28
29// TODO move these into Http namespace
30
31typedef 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
40class HttpHdrSc;
41
42class HttpRequestMethod;
43
44class HttpRequest;
45typedef RefCount<HttpRequest> HttpRequestPointer;
46
47class HttpReply;
48typedef RefCount<HttpReply> HttpReplyPointer;
49
50#endif /* SQUID_SRC_HTTP_FORWARD_H */
51