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

◆ httpHdrScInitModule()

void httpHdrScInitModule ( void  )

Definition at line 49 of file HttpHdrSc.cc.

References assert, and ScAttrs.

Referenced by httpHeaderInitModule().

◆ httpHdrScParseCreate()

HttpHdrSc * httpHdrScParseCreate ( const String str)

Definition at line 60 of file HttpHdrSc.cc.

References sc.

Referenced by HttpHeader::getSc().

◆ httpHdrScStatDumper()

void httpHdrScStatDumper ( StoreEntry sentry,
int  idx,
double  val,
double  size,
int  count 
)

◆ httpHdrScTargetStatDumper()

void httpHdrScTargetStatDumper ( StoreEntry sentry,
int  idx,
double  val,
double  size,
int  count 
)

◆ operator++()

http_hdr_sc_type & operator++ ( http_hdr_sc_type aHeader)

Definition at line 41 of file HttpHdrSc.cc.

◆ scHeaderStats()

Referenced by HttpHdrSc::parse().

Variable Documentation

◆ ScAttrs

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}
}
@ SC_OTHER
Definition: forward.h:36
@ SC_CONTENT
Definition: forward.h:35
@ SC_NO_STORE
Definition: forward.h:32
@ SC_NO_STORE_REMOTE
Definition: forward.h:33
@ SC_ENUM_END
Definition: forward.h:37
@ SC_MAX_AGE
Definition: forward.h:34

Definition at line 29 of file HttpHdrSc.cc.

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

◆ scLookupTable

Referenced by HttpHdrSc::parse().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors