]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/refresh.h
2 * Copyright (C) 1996-2021 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 22 Refresh Calculation */
11 #ifndef SQUID_REFRESH_H_
12 #define SQUID_REFRESH_H_
16 void refreshAddToList(const char *, int, time_t, int, time_t);
17 bool refreshIsCachable(const StoreEntry
*);
18 int refreshCheckHTTP(const StoreEntry
*, HttpRequest
*);
19 int refreshCheckICP(const StoreEntry
*, HttpRequest
*);
20 int refreshCheckHTCP(const StoreEntry
*, HttpRequest
*);
21 int refreshCheckDigest(const StoreEntry
*, time_t delta
);
22 time_t getMaxAge(const char *url
);
23 void refreshInit(void);
24 const RefreshPattern
*refreshLimits(const char *url
);
26 #endif /* SQUID_REFRESH_H_ */