jabberd14 1.6.2
Data Structures | Typedefs | Functions
mod_stat.cc File Reference

collect statistical information and write it the the log More...

#include "jsm.h"

Data Structures

struct  mod_stat_data_st
 structure holding statistics data More...

Typedefs

typedef struct mod_stat_data_stmod_stat_data_t
 structure holding statistics data

Functions

void mod_stat (jsmi si)

Detailed Description

collect statistical information and write it the the log

this module collects statistical information and writes them every 5 minutes to the log

Todo:
make the statistical information accessible to the administrator requesting it by a Jabber query.

Typedef Documentation

structure holding statistics data

One instance of this structure is used to keep statistical data for a session manager instance.


Function Documentation

void mod_stat ( jsmi  si)

the main startup/initialization function of mod_stat registering the callbacks in the session manager

Parameters:
sithe session manager instance

References e_DELIVER, js_mapi_register(), jsmi_struct::p, pmalloco(), register_beat(), and mod_stat_data_st::si.