stats.h File Reference
stats
More...
Go to the source code of this file.
Detailed Description
stats
- Author:
- Name <
>
Definition in file stats.h.
Define Documentation
Value:
Definition at line 25 of file stats.h.
| #define STATS_CONNECTION_ESTABLISHED (1 << 3) |
| #define STATS_COOKIES (1 << 4) |
| #define STATS_DECLARE_INCR |
( |
name |
|
) |
void (*stats_log_##name)(void) |
| #define STATS_DECLARE_LINT |
( |
name |
|
) |
void(*stats_log_##name)(long int) |
| #define STATS_DECLARE_UINT |
( |
name |
|
) |
void(*stats_log_##name)(unsigned int) |
| #define STATS_LOG |
( |
name, |
|
|
params... |
|
) |
if (stats_log_##name) stats_log_##name(params) |
| #define STATS_LOG_IF |
( |
cond, |
|
|
name, |
|
|
params... |
|
) |
if (stats_log_##name && (cond)) stats_log_##name(params) |
| #define STATS_SESSION_CREATED (1 << 0) |
| #define STATS_SESSION_ERR (1 << 2) |
| #define STATS_SESSION_OK (1 << 1) |
Function Documentation
| void stats_activate |
( |
long unsigned int |
mask |
) |
|
| STATS_DECLARE_INCR |
( |
connection_established |
|
) |
|
| STATS_DECLARE_INCR |
( |
session_ok |
|
) |
|
| STATS_DECLARE_INCR |
( |
session_created |
|
) |
|
| STATS_DECLARE_LINT |
( |
cookies |
|
) |
|
| STATS_DECLARE_UINT |
( |
session_err |
|
) |
|