]>
Commit | Line | Data |
---|---|---|
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 |
14 | class RefreshPattern; |
15 | ||
8a648e8d | 16 | void refreshAddToList(const char *, int, time_t, int, time_t); |
96151fc9 | 17 | bool refreshIsCachable(const StoreEntry *); |
8a648e8d FC |
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); | |
fc54b8d2 | 25 | |
fc54b8d2 | 26 | #endif /* SQUID_REFRESH_H_ */ |
f53969cc | 27 |