#include "defines.h"
#include "dlink.h"
#include "mem/forward.h"
#include "SquidString.h"
#include <iosfwd>


Go to the source code of this file.
Classes | |
class | HttpHdrCc |
Enumerations | |
enum | HttpHdrCcType : unsigned char { CC_PUBLIC = 0, CC_PRIVATE, CC_NO_CACHE, CC_NO_STORE, CC_NO_TRANSFORM, CC_MUST_REVALIDATE, CC_PROXY_REVALIDATE, CC_MAX_AGE, CC_S_MAXAGE, CC_MAX_STALE, CC_MIN_FRESH, CC_ONLY_IF_CACHED, CC_STALE_IF_ERROR, CC_IMMUTABLE, CC_OTHER, CC_ENUM_END } |
Functions | |
void | httpHdrCcInitModule (void) |
Module initialization hook. More... | |
void | httpHdrCcUpdateStats (const HttpHdrCc *cc, StatHist *hist) |
void | httpHdrCcStatDumper (StoreEntry *sentry, int idx, double val, double size, int count) |
std::ostream & | operator<< (std::ostream &, HttpHdrCcType) |
Enumeration Type Documentation
◆ HttpHdrCcType
enum HttpHdrCcType : unsigned char |
Definition at line 20 of file HttpHdrCc.h.
Function Documentation
◆ httpHdrCcInitModule()
void httpHdrCcInitModule | ( | void | ) |
Definition at line 61 of file HttpHdrCc.cc.
References assert, and CcAttrs.
Referenced by httpHeaderInitModule().
◆ httpHdrCcStatDumper()
void httpHdrCcStatDumper | ( | StoreEntry * | sentry, |
int | idx, | ||
double | val, | ||
double | size, | ||
int | count | ||
) |
Definition at line 331 of file HttpHdrCc.cc.
References CC_ENUM_END, CcAttrs, HttpHeaderStat::ccParsedCount, dump_stat, storeAppendPrintf(), and xdiv().
Referenced by httpHeaderStatDump().
◆ httpHdrCcUpdateStats()
Definition at line 321 of file HttpHdrCc.cc.
References assert, CC_ENUM_END, CC_PUBLIC, StatHist::count(), and HttpHdrCc::isSet().
Referenced by HttpHeader::getCc().
◆ operator<<()
std::ostream& operator<< | ( | std::ostream & | , |
HttpHdrCcType | |||
) |
Definition at line 343 of file HttpHdrCc.cc.
References CC_ENUM_END, and CcAttrs.