The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
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/tmpl.h>
5 #include <freeradius-devel/server/cf_priv.h>
6 #include <freeradius-devel/util/value.h>
7 #include <freeradius-devel/util/rb.h>
8 #include <freeradius-devel/util/tlist.h>
9 
10 int main(UNUSED int argc, UNUSED char **argv)
11 {
12 #define SIZEOF(_struct) printf("%-24s\t%zu\tbytes\n", STRINGIFY(_struct), sizeof(_struct))
13 
17 
20 
24 
27 
30 
33 
38 
39  SIZEOF(tmpl_t);
43 
47 
48  return 0;
49 }
#define UNUSED
Definition: build.h:313
Common header for all CONF_* types.
Definition: cf_priv.h:49
Configuration AVP similar to a fr_pair_t.
Definition: cf_priv.h:70
A section grouping multiple CONF_PAIR.
Definition: cf_priv.h:89
Values of the encryption flags.
Definition: merged_model.c:139
Value of an enumerated attribute.
Definition: dict.h:209
Head of a doubly linked list.
Definition: dlist.h:51
Entry in a doubly linked list.
Definition: dlist.h:41
IPv4/6 prefix.
Definition: merged_model.c:272
fr_type_t
Definition: merged_model.c:80
int main(UNUSED int argc, UNUSED char **argv)
Definition: radsizes.c:10
#define SIZEOF(_struct)
The main red black tree structure.
Definition: rb.h:73
Optional arguments passed to vp_tmpl functions.
Definition: tmpl.h:341
Define entry and head types for tmpl request references.
Definition: tmpl.h:284
Stores an attribute, a value and various bits of other data.
Definition: pair.h:68
An xlat function call.
Definition: xlat_priv.h:119
An xlat expansion node.
Definition: xlat_priv.h:147