HttpHdrCc.cc File Reference
#include "squid.h"
#include "base/LookupTable.h"
#include "HttpHdrCc.h"
#include "HttpHeader.h"
#include "HttpHeaderFieldStat.h"
#include "HttpHeaderStat.h"
#include "HttpHeaderTools.h"
#include "sbuf/SBuf.h"
#include "StatHist.h"
#include "Store.h"
#include "StrList.h"
#include "util.h"
#include <map>
#include <vector>
#include <ostream>
Include dependency graph for HttpHdrCc.cc:

Go to the source code of this file.

Functions

std::vector< HttpHeaderFieldStatccHeaderStats (HttpHdrCcType::CC_ENUM_END)
 
HttpHdrCcTypeoperator++ (HttpHdrCcType &aHeader)
 used to walk a table of http_header_cc_type structs More...
 
void httpHdrCcInitModule (void)
 Module initialization hook. More...
 
void httpHdrCcUpdateStats (const HttpHdrCc *cc, StatHist *hist)
 
void httpHdrCcStatDumper (StoreEntry *sentry, int, double val, double, int count)
 
std::ostream & operator<< (std::ostream &s, HttpHdrCcType c)
 

Variables

static LookupTable
< HttpHdrCcType >::Record 
CcAttrs []
 
LookupTable< HttpHdrCcTypeccLookupTable (HttpHdrCcType::CC_OTHER, CcAttrs)
 

Function Documentation

void httpHdrCcInitModule ( void  )

Definition at line 60 of file HttpHdrCc.cc.

References assert, and LookupTableRecord< EnumType >::name.

Referenced by httpHeaderInitModule().

void httpHdrCcStatDumper ( StoreEntry sentry,
int  ,
double  val,
double  ,
int  count 
)
void httpHdrCcUpdateStats ( const HttpHdrCc cc,
StatHist hist 
)

Definition at line 320 of file HttpHdrCc.cc.

References assert, CC_ENUM_END, CC_PUBLIC, StatHist::count(), and HttpHdrCc::isSet().

Referenced by HttpHeader::getCc().

HttpHdrCcType& operator++ ( HttpHdrCcType aHeader)

Definition at line 51 of file HttpHdrCc.cc.

References int.

std::ostream& operator<< ( std::ostream &  s,
HttpHdrCcType  c 
)

Definition at line 343 of file HttpHdrCc.cc.

References CC_ENUM_END, and LookupTableRecord< EnumType >::name.

Variable Documentation

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors