The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Loading...
Searching...
No Matches
base.c
Go to the documentation of this file.
1/*
2 * This library is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU Lesser General Public
4 * License as published by the Free Software Foundation; either
5 * version 2.1 of the License, or (at your option) any later version.
6 *
7 * This library is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10 * Lesser General Public License for more details.
11 *
12 * You should have received a copy of the GNU Lesser General Public
13 * License along with this library; if not, write to the Free Software
14 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
15 */
16
17/**
18 * $Id: c0522841615a56de91082ef6d7e68ab8a10d8137 $
19 *
20 * @file protocols/radius/stats/stats.c
21 * @brief Functions for RADIUS statistics
22 *
23 * @copyright 2026 Network RADIUS SAS (legal@networkradius.com)
24 */
25RCSID("$Id: c0522841615a56de91082ef6d7e68ab8a10d8137 $")
26
27#include <freeradius-devel/util/dict.h>
28#include "stats.h"
29
30static fr_dict_t const *dict_radius;
31
32/*
33 * static fr_dict_attr_t const *attr_foo;
34 */
35#include "auth_serv_da_def.c"
36
37#include "acc_serv_da_def.c"
38
45
55
56/*
57 * Clang accepts this DIAG, but complains about the code unless we have it.
58 *
59 * GCC doesn't accept this DIAG, but doesn't complain about the code.
60 */
61#if defined(__clang__)
62DIAG_OFF(gnu-flexible-array-initializer)
63#endif
64
65/*
66 * Define the fr_stats_link_t for the statistics data structures.
67 */
68#include "auth_serv_stats.c"
69
70#include "acc_serv_stats.c"
#define RCSID(id)
Definition build.h:487
#define DIAG_OFF(_x)
Definition build.h:461
fr_dict_t const ** out
Where to write a pointer to the loaded/resolved fr_dict_t.
Definition dict.h:307
#define DICT_AUTOLOAD_TERMINATOR
Definition dict.h:313
Specifies an attribute which must be present for the module to function.
Definition dict.h:293
Specifies a dictionary which must be loaded/loadable for the module to function.
Definition dict.h:306
fr_dict_t const * dict_radius
Definition base.c:78
fr_dict_attr_autoload_t libfreeradius_radius_stats_dict_attr[]
Definition base.c:47
fr_dict_autoload_t libfreeradius_radius_stats_dict[]
Definition base.c:40