]> git.ipfire.org Git - thirdparty/squid.git/blob - src/log/access_log.h
Source Format Enforcement (#1234)
[thirdparty/squid.git] / src / log / access_log.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 /* DEBUG: section 46 Access Log */
10
11 #ifndef SQUID_LOG_ACCESS_LOG_H_
12 #define SQUID_LOG_ACCESS_LOG_H_
13
14 #include "LogTags.h"
15 #include "sbuf/forward.h"
16
17 /// XXX: these functions preserve all counted values until the next log rotation
18 /// count occurrences of the given Via header value
19 void fvdbCountVia(const SBuf &);
20 /// count occurrences of the given X-Forwarded-For header value
21 void fvdbCountForwarded(const SBuf &);
22
23 #if HEADERS_LOG
24 class HttpRequestMethod;
25 void headersLog(int cs, int pq, const HttpRequestMethod& m, void *data);
26 #endif
27
28 #endif /* SQUID_LOG_ACCESS_LOG_H_ */
29