The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Loading...
Searching...
No Matches
radsizes.c
Go to the documentation of this file.
1#include <stdio.h>
2
3#include <freeradius-devel/unlang/xlat_priv.h>
4#include <freeradius-devel/server/cf_priv.h>
5#include <freeradius-devel/unlang/unlang_priv.h>
6#include <freeradius-devel/util/tlist.h>
7
8int main(UNUSED int argc, UNUSED char **argv)
9{
10#define SIZEOF(_struct) printf("%-24s\t%zu\tbytes\n", STRINGIFY(_struct), sizeof(_struct))
11
15
19
22
24
27 SIZEOF(FR_TLIST_ENTRY(fr_pair_order_list));
28
31
34
36
39
44
50
54
55 return 0;
56}
#define UNUSED
Definition build.h:336
Common header for all CONF_* types.
Definition cf_priv.h:49
Configuration AVP similar to a fr_pair_t.
Definition cf_priv.h:72
A section grouping multiple CONF_PAIR.
Definition cf_priv.h:101
Values of the encryption flags.
Value of an enumerated attribute.
Definition dict.h:253
Head of a doubly linked list.
Definition dlist.h:51
Entry in a doubly linked list.
Definition dlist.h:41
IPv4/6 prefix.
fr_type_t
int main(UNUSED int argc, UNUSED char **argv)
Definition radsizes.c:8
#define SIZEOF(_struct)
The main red black tree structure.
Definition rb.h:71
Optional arguments passed to vp_tmpl functions.
Definition tmpl.h:336
Define entry and head types for tmpl request references.
Definition tmpl.h:272
Stores an attribute, a value and various bits of other data.
Definition pair.h:68
#define FR_TLIST_ENTRY(_name)
Expands to the type name used for the entry wrapper structure.
Definition tlist.h:762
Generic representation of a grouping.
A node in a graph of unlang_op_t (s) that we execute.
Our interpreter stack, as distinct from the C stack.
An unlang stack associated with a request.
An xlat function call.
Definition xlat_priv.h:122
An xlat expansion node.
Definition xlat_priv.h:148