]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/log/access_log.h
2 * Copyright (C) 1996-2023 The Squid Software Foundation and contributors
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.
9 /* DEBUG: section 46 Access Log */
11 #ifndef SQUID_LOG_ACCESS_LOG_H_
12 #define SQUID_LOG_ACCESS_LOG_H_
15 #include "sbuf/forward.h"
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
&);
24 class HttpRequestMethod
;
25 void headersLog(int cs
, int pq
, const HttpRequestMethod
& m
, void *data
);
28 #endif /* SQUID_LOG_ACCESS_LOG_H_ */