Squid Web Cache master
Loading...
Searching...
No Matches
refresh.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2025 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 22 Refresh Calculation */
10
11#ifndef SQUID_SRC_REFRESH_H
12#define SQUID_SRC_REFRESH_H
13
14#include "http/forward.h"
15#include "store/forward.h"
16
17void refreshAddToList(const char *, int, time_t, int, time_t);
18bool refreshIsCachable(const StoreEntry *);
22int refreshCheckDigest(const StoreEntry *, time_t delta);
23time_t getMaxAge(const char *url);
24void refreshInit(void);
25
26class RefreshPattern;
27const RefreshPattern *refreshLimits(const char *url);
28
29#endif /* SQUID_SRC_REFRESH_H */
30
a representation of a refresh pattern.
void refreshAddToList(const char *, int, time_t, int, time_t)
time_t getMaxAge(const char *url)
Definition refresh.cc:639
const RefreshPattern * refreshLimits(const char *url)
Definition refresh.cc:92
void refreshInit(void)
Definition refresh.cc:760
bool refreshIsCachable(const StoreEntry *)
Definition refresh.cc:518
int refreshCheckICP(const StoreEntry *, HttpRequest *)
Definition refresh.cc:593
int refreshCheckHTTP(const StoreEntry *, HttpRequest *)
Definition refresh.cc:582
int refreshCheckDigest(const StoreEntry *, time_t delta)
Definition refresh.cc:617
int refreshCheckHTCP(const StoreEntry *, HttpRequest *)
Definition refresh.cc:604