]> git.ipfire.org Git - thirdparty/squid.git/blame - src/refresh.h
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / refresh.h
CommitLineData
fc54b8d2 1/*
77b1029d 2 * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
fc54b8d2 3 *
bbc27441
AJ
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.
fc54b8d2
FC
7 */
8
bbc27441
AJ
9/* DEBUG: section 22 Refresh Calculation */
10
fc54b8d2
FC
11#ifndef SQUID_REFRESH_H_
12#define SQUID_REFRESH_H_
13
8d9a8184
FC
14class RefreshPattern;
15
8a648e8d 16void refreshAddToList(const char *, int, time_t, int, time_t);
96151fc9 17bool refreshIsCachable(const StoreEntry *);
8a648e8d
FC
18int refreshCheckHTTP(const StoreEntry *, HttpRequest *);
19int refreshCheckICP(const StoreEntry *, HttpRequest *);
20int refreshCheckHTCP(const StoreEntry *, HttpRequest *);
21int refreshCheckDigest(const StoreEntry *, time_t delta);
22time_t getMaxAge(const char *url);
23void refreshInit(void);
24const RefreshPattern *refreshLimits(const char *url);
fc54b8d2 25
fc54b8d2 26#endif /* SQUID_REFRESH_H_ */
f53969cc 27