refresh.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2023 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_REFRESH_H_
12#define SQUID_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_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:633
const RefreshPattern * refreshLimits(const char *url)
Definition: refresh.cc:92
void refreshInit(void)
Definition: refresh.cc:754
bool refreshIsCachable(const StoreEntry *)
Definition: refresh.cc:519
int refreshCheckICP(const StoreEntry *, HttpRequest *)
Definition: refresh.cc:587
int refreshCheckHTTP(const StoreEntry *, HttpRequest *)
Definition: refresh.cc:575
int refreshCheckDigest(const StoreEntry *, time_t delta)
Definition: refresh.cc:611
int refreshCheckHTCP(const StoreEntry *, HttpRequest *)
Definition: refresh.cc:598

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors