Print dictionary attributes, flags, etc...
More...
#include <freeradius-devel/util/dict_priv.h>
#include <freeradius-devel/util/print.h>
#include <freeradius-devel/util/proto.h>
#include <ctype.h>
Go to the source code of this file.
Print dictionary attributes, flags, etc...
- Copyright
- 2019 The FreeRADIUS server project
Definition in file dict_print.c.
◆ fr_dict_attr_debug_t
struct fr_dict_attr_debug_t |
Definition at line 179 of file dict_print.c.
Data Fields |
fr_dict_t const * |
dict |
|
char |
flags[256] |
|
char |
oid[256] |
|
char |
prefix[256] |
|
unsigned int |
start_depth |
|
◆ FLAG_SET
◆ dict_attr_debug()
◆ dict_attr_export()
static int dict_attr_export |
( |
fr_dict_attr_t const * |
da, |
|
|
void * |
uctx |
|
) |
| |
|
static |
◆ fr_dict_attr_debug()
◆ fr_dict_attr_export()
◆ fr_dict_attr_flags_print()
◆ fr_dict_attr_oid_print()
Build the da_stack for the specified DA and encode the path by name in OID form.
- Parameters
-
[out] | out | Where to write the OID. |
[in] | ancestor | If not NULL, only print OID portion between ancestor and da. |
[in] | da | to print OID string for. |
[in] | numeric | print the OID components as numbers, not attribute names. |
- Returns
- >0 The number of bytes written to the buffer.
- <= 0 The number of bytes we would have needed to write the next OID component.
Definition at line 125 of file dict_print.c.
◆ fr_dict_debug()
◆ fr_dict_export()
void fr_dict_export |
( |
fr_dict_t const * |
dict | ) |
|
Export in the standard form: ATTRIBUTE name oid flags.
Definition at line 295 of file dict_print.c.
◆ fr_dict_namespace_debug()