]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
add more structs
authorAlan T. DeKok <aland@freeradius.org>
Mon, 11 Apr 2022 12:41:04 +0000 (08:41 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 11 Apr 2022 18:31:26 +0000 (14:31 -0400)
src/bin/radsizes.c

index 8e3693c582c43be41c07c3317e60c88560bcc520..af24ce8363dd1aefabf4828d1bfdd30853ae32c3 100644 (file)
@@ -4,14 +4,22 @@
 #include <freeradius-devel/server/tmpl.h>
 #include <freeradius-devel/util/value.h>
 #include <freeradius-devel/util/rb.h>
+#include <freeradius-devel/util/tlist.h>
 
 int main(UNUSED int argc, UNUSED char **argv)
 {
 #define SIZEOF(_struct)        printf("%-24s\t%zu bytes\n", STRINGIFY(_struct), sizeof(_struct))
 
+       SIZEOF(fr_dlist_t);
+       SIZEOF(fr_dlist_head_t);
+
        SIZEOF(fr_pair_t);
        SIZEOF(fr_pair_list_t);
        SIZEOF(fr_rb_node_t);
+
+       SIZEOF(fr_tlist_t);
+       SIZEOF(fr_tlist_head_t);
+
        SIZEOF(fr_value_box_t);
 
        SIZEOF(tmpl_t);