![]() |
The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Validation framework to allow protocols to set custom validation rules. More...
#include <freeradius-devel/util/dict_priv.h>
Include dependency graph for dict_validate.c:Go to the source code of this file.
Macros | |
| #define | ALLOW_FLAG(_flag) do { all_flags &= ~shift_ ## _flag; } while (0) |
| #define | FORBID_OTHER_FLAGS(_flag, _allowed) |
| #define | SET_FLAG(_flag) do { shift_ ## _flag = 1 << ++bit; if (flags->_flag) all_flags |= (1 << bit); } while (0) |
Functions | |
| bool | dict_attr_flags_valid (fr_dict_attr_t *da) |
| Validate a set of flags. | |
| bool | dict_attr_valid (fr_dict_attr_t *da) |
| Validate a new attribute definition. | |
Validation framework to allow protocols to set custom validation rules.
Definition in file dict_validate.c.
| #define FORBID_OTHER_FLAGS | ( | _flag, | |
| _allowed | |||
| ) |
| #define SET_FLAG | ( | _flag | ) | do { shift_ ## _flag = 1 << ++bit; if (flags->_flag) all_flags |= (1 << bit); } while (0) |
| bool dict_attr_flags_valid | ( | fr_dict_attr_t * | da | ) |
Validate a set of flags.
| [in] | da | to check. |
Definition at line 35 of file dict_validate.c.
Here is the call graph for this function:
Here is the caller graph for this function:| bool dict_attr_valid | ( | fr_dict_attr_t * | da | ) |
Validate a new attribute definition.
| [in] | da | to validate. |
Definition at line 650 of file dict_validate.c.
Here is the call graph for this function:
Here is the caller graph for this function:
1.9.8