#include <string.h>#include "../../dprint.h"#include "../../statistics.h"#include "../../mem/mem.h"#include "stats_funcs.h"

Go to the source code of this file.
Data Structures | |
| struct | stat_mod_elem_ |
Defines | |
| #define | MODULE_STATS "script" |
| #define | NORESET_FLAG_STR "no_reset" |
Typedefs | |
| typedef struct stat_mod_elem_ | stat_elem |
Functions | |
| int | reg_statistic (char *name) |
| int | register_all_mod_stats (void) |
Variables | |
| static stat_elem * | stat_list = 0 |
| #define MODULE_STATS "script" |
| #define NORESET_FLAG_STR "no_reset" |
| typedef struct stat_mod_elem_ stat_elem |
| int reg_statistic | ( | char * | name | ) |
Definition at line 52 of file stats_funcs.c.
References stat_mod_elem_::flags, LM_ERR, stat_mod_elem_::name, stat_mod_elem_::next, NORESET_FLAG_STR, pkg_malloc, and STAT_NO_RESET.
Referenced by reg_param_stat().
| int register_all_mod_stats | ( | void | ) |
Definition at line 94 of file stats_funcs.c.
References stat_mod_elem_::flags, LM_ERR, MODULE_STATS, stat_mod_elem_::name, stat_mod_elem_::next, NULL, pkg_free, and register_stat.
Referenced by mod_init().
Definition at line 49 of file stats_funcs.c.
1.5.6