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

Go to the source code of this file.

Functions

std::vector< HttpHeaderFieldStatscHeaderStats (SC_ENUM_END)
 
http_hdr_sc_typeoperator++ (http_hdr_sc_type &aHeader)
 
void httpHdrScInitModule (void)
 
HttpHdrSchttpHdrScParseCreate (const String &str)
 
void httpHdrScTargetStatDumper (StoreEntry *sentry, int, double val, double, int count)
 
void httpHdrScStatDumper (StoreEntry *sentry, int, double val, double, int count)
 

Variables

static const LookupTable
< http_hdr_sc_type >::Record 
ScAttrs []
 
LookupTable< http_hdr_sc_typescLookupTable (SC_ENUM_END, ScAttrs)
 

Function Documentation

void httpHdrScInitModule ( void  )

Definition at line 49 of file HttpHdrSc.cc.

References assert, i, and ScAttrs.

Referenced by httpHeaderInitModule().

HttpHdrSc* httpHdrScParseCreate ( const String str)

Definition at line 60 of file HttpHdrSc.cc.

References NULL, HttpHdrSc::parse(), and sc.

Referenced by HttpHeader::getSc().

void httpHdrScStatDumper ( StoreEntry sentry,
int  ,
double  val,
double  ,
int  count 
)
void httpHdrScTargetStatDumper ( StoreEntry sentry,
int  ,
double  val,
double  ,
int  count 
)
http_hdr_sc_type& operator++ ( http_hdr_sc_type aHeader)

Definition at line 41 of file HttpHdrSc.cc.

Referenced by HttpHdrSc::parse().

Variable Documentation

const LookupTable<http_hdr_sc_type>::Record ScAttrs[]
static
Initial value:
{
{"no-store", SC_NO_STORE},
{"no-store-remote", SC_NO_STORE_REMOTE},
{"max-age", SC_MAX_AGE},
{"content", SC_CONTENT},
{"Other,", SC_OTHER},
{nullptr, SC_ENUM_END}
}

Definition at line 29 of file HttpHdrSc.cc.

Referenced by httpHdrScInitModule(), httpHdrScStatDumper(), httpHdrScTargetStatDumper(), and HttpHdrScTarget::packInto().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors