The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Map internal data structures to statistics. More...
#include <freeradius-devel/util/stats.h>
Go to the source code of this file.
Functions | |
int | fr_stats_attr_init (fr_dict_attr_t *parent, fr_stats_struct_t const *stats) |
Define dictionary attributes for a given statistics structure. More... | |
int | fr_stats_pair_add (fr_pair_t *parent, fr_stats_struct_t const *stats, void const *ctx) |
Add statistics VPs for a particular struct / context. More... | |
Map internal data structures to statistics.
Definition in file stats.c.
int fr_stats_attr_init | ( | fr_dict_attr_t * | parent, |
fr_stats_struct_t const * | stats | ||
) |
int fr_stats_pair_add | ( | fr_pair_t * | parent, |
fr_stats_struct_t const * | stats, | ||
void const * | ctx | ||
) |
Add statistics VPs for a particular struct / context.
parent | structural vp where the children will be added |
stats | structure which maps between fr_dict_attr_t and internal stats structures |
ctx | the internal structure holding the stastics |
Definition at line 66 of file stats.c.