HttpHdrCc.h File Reference
#include "defines.h"
#include "dlink.h"
#include "mem/forward.h"
#include "SquidString.h"
#include <iosfwd>
Include dependency graph for HttpHdrCc.h:
This graph shows which files directly or indirectly include this file:

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
Enumerator
CC_PUBLIC 
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 

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 
)

◆ httpHdrCcUpdateStats()

void httpHdrCcUpdateStats ( const HttpHdrCc cc,
StatHist hist 
)

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 &  s,
HttpHdrCcType  c 
)

Definition at line 343 of file HttpHdrCc.cc.

References CC_ENUM_END, and CcAttrs.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors