|
|||
|
|||
|


Public Member Functions | |
| void | ReadConfig () |
| ModuleHttpStats (InspIRCd *Me) | |
| std::string | Sanitize (const std::string &str) |
| void | OnEvent (Event *event) |
| Called whenever an Event class is sent to all module by another module. | |
| const char * | OnRequest (Request *request) |
| Called whenever a Request class is sent to your module by another module. | |
| virtual | ~ModuleHttpStats () |
| virtual Version | GetVersion () |
| Returns the version number of a Module. | |
| void | ReadConfig () |
| ModuleHttpStats (InspIRCd *Me) | |
| std::string | Sanitize (const std::string &str) |
| void | OnEvent (Event *event) |
| Called whenever an Event class is sent to all module by another module. | |
| const char * | OnRequest (Request *request) |
| Called whenever a Request class is sent to your module by another module. | |
| virtual | ~ModuleHttpStats () |
| virtual Version | GetVersion () |
| Returns the version number of a Module. | |
Private Attributes | |
| std::string | stylesheet |
| bool | changed |
Definition at line 21 of file m_httpd_config.cpp.
|
|
Definition at line 35 of file m_httpd_config.cpp. References ModuleManager::Attach(), changed, I_OnEvent, I_OnRequest, InspIRCd::Modules, ReadConfig(), and Module::ServerInstance. |
|
|
Definition at line 118 of file m_httpd_config.cpp. |
|
|
Definition at line 35 of file m_httpd_stats.cpp. References ModuleManager::Attach(), changed, I_OnEvent, I_OnRequest, InspIRCd::Modules, ReadConfig(), and Module::ServerInstance. |
|
|
Definition at line 192 of file m_httpd_stats.cpp. |
|
|
Returns the version number of a Module. The method should return a Version object with its version information assigned via Version::Version Reimplemented from Module. Definition at line 196 of file m_httpd_stats.cpp. References API_VERSION, and VF_VENDOR. |
|
|
Returns the version number of a Module. The method should return a Version object with its version information assigned via Version::Version Reimplemented from Module. Definition at line 122 of file m_httpd_config.cpp. References API_VERSION, and VF_VENDOR. |
|
|
|
Called whenever an Event class is sent to all module by another module. Please see the documentation of Event::Send() for further information. The Event sent can always be assumed to be non-NULL, you should *always* check the value of Event::GetEventID() before doing anything to the event data, and you should *not* change the event data in any way!
Reimplemented from Module. Definition at line 77 of file m_httpd_config.cpp. References InspIRCd::Config, ServerConfig::config_data, DEBUG, Event::GetData(), Event::GetEventID(), Event::GetSource(), HTTPRequest::GetURI(), HTTPDocument::headers, LogManager::Log(), InspIRCd::Logs, Request::Send(), Module::ServerInstance, HTTPHeaders::SetHeader(), and HTTPRequest::sock. |
|
|
Called whenever a Request class is sent to your module by another module. Please see the documentation of Request::Send() for further information. The Request sent can always be assumed to be non-NULL, you should not change the request object or its data. Your method may return arbitary data in the char* result which the requesting module may be able to use for pre-determined purposes (e.g. the results of an SQL query, etc).
Reimplemented from Module. Definition at line 186 of file m_httpd_stats.cpp. |
|
|
Called whenever a Request class is sent to your module by another module. Please see the documentation of Request::Send() for further information. The Request sent can always be assumed to be non-NULL, you should not change the request object or its data. Your method may return arbitary data in the char* result which the requesting module may be able to use for pre-determined purposes (e.g. the results of an SQL query, etc).
Reimplemented from Module. Definition at line 112 of file m_httpd_config.cpp. |
|
|
Definition at line 29 of file m_httpd_stats.cpp. References Module::ServerInstance, and stylesheet. |
|
|
Definition at line 29 of file m_httpd_config.cpp. References Module::ServerInstance, and stylesheet. Referenced by ModuleHttpStats(). |
|
|
Definition at line 43 of file m_httpd_stats.cpp. References ConvToStr(). |
|
|
Definition at line 43 of file m_httpd_config.cpp. References ConvToStr(). Referenced by OnEvent(). |
|
|
Definition at line 25 of file m_httpd_config.cpp. Referenced by ModuleHttpStats(). |
|
|
Definition at line 24 of file m_httpd_config.cpp. Referenced by ReadConfig(). |