Public Member Functions | Data Fields

StatPagesManager Struct Reference

#include <StatPages.h>

Public Member Functions

void init ()
inkcoreapi void register_http (const char *hostname, StatPagesFunc func)
Actionhandle_http (Continuation *cont, HTTPHdr *header)
bool is_stat_page (URL *url)
bool is_cache_inspector_page (URL *url)

Data Fields

int m_enabled

Detailed Description

Definition at line 85 of file StatPages.h.


Member Function Documentation

Action * StatPagesManager::handle_http ( Continuation cont,
HTTPHdr header 
)
void StatPagesManager::init ( void   ) 

Definition at line 52 of file StatPages.cc.

References m_enabled, and REC_EstablishStaticConfigInt32.

Referenced by main().

bool StatPagesManager::is_cache_inspector_page ( URL url  ) 

Definition at line 122 of file StatPages.cc.

References URL::host_get(), memcpy, and unescapifyStr().

Referenced by handle_http().

bool StatPagesManager::is_stat_page ( URL url  ) 

Definition at line 98 of file StatPages.cc.

References URL::host_get(), m_enabled, memcpy, and unescapifyStr().

Referenced by handle_http(), and HttpTransact::handle_internal_request().

void StatPagesManager::register_http ( const char *  hostname,
StatPagesFunc  func 
)

Field Documentation

Definition at line 95 of file StatPages.h.

Referenced by handle_http(), init(), and is_stat_page().


The documentation for this struct was generated from the following files: