The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Comparison functions for sections. More...
#include <freeradius-devel/server/section.h>
#include <freeradius-devel/server/cf_util.h>
Go to the source code of this file.
Macros | |
#define | IDENT_ANY_CMP(_a, _b) (((_a) == CF_IDENT_ANY) < ((_b) == CF_IDENT_ANY)) - (((_a) == CF_IDENT_ANY) > ((_b) == CF_IDENT_ANY)) |
#define | NULL_CMP(_a, _b) (((_a) == NULL) < ((_b) == NULL)) - (((_a) == NULL) > ((_b) == NULL)) |
Functions | |
int8_t | section_name_cmp (void const *one, void const *two) |
Compare two sections. | |
Comparison functions for sections.
Definition in file section.c.
#define IDENT_ANY_CMP | ( | _a, | |
_b | |||
) | (((_a) == CF_IDENT_ANY) < ((_b) == CF_IDENT_ANY)) - (((_a) == CF_IDENT_ANY) > ((_b) == CF_IDENT_ANY)) |
#define NULL_CMP | ( | _a, | |
_b | |||
) | (((_a) == NULL) < ((_b) == NULL)) - (((_a) == NULL) > ((_b) == NULL)) |
int8_t section_name_cmp | ( | void const * | one, |
void const * | two | ||
) |
Compare two sections.
[in] | one | First section name. |
[in] | two | Second section name. |
Definition at line 48 of file section.c.