The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Old style mapping code. More...
#include <freeradius-devel/server/paircmp.h>
#include <freeradius-devel/server/pairmove.h>
#include <freeradius-devel/server/tmpl_dcursor.h>
#include <freeradius-devel/util/debug.h>
#include <freeradius-devel/util/calc.h>
#include <freeradius-devel/util/edit.h>
#include <freeradius-devel/util/pair_legacy.h>
#include <freeradius-devel/protocol/radius/rfc2865.h>
#include <freeradius-devel/protocol/freeradius/freeradius.internal.h>
Go to the source code of this file.
Data Structures | |
struct | legacy_pair_build_t |
Functions | |
static fr_pair_t * | legacy_pair_build (fr_pair_t *parent, fr_dcursor_t *cursor, fr_dict_attr_t const *da, void *uctx) |
Build the relevant pairs at each level. More... | |
int | radius_legacy_map_apply (request_t *request, map_t const *map, fr_edit_list_t *el) |
Move a map using the operators from the old pairmove functionality. More... | |
static int | radius_legacy_map_apply_structural (request_t *request, map_t const *map, fr_pair_t *vp) |
int | radius_legacy_map_cmp (request_t *request, map_t const *map) |
int | radius_legacy_map_list_apply (request_t *request, map_list_t const *list, fr_edit_list_t *el) |
static int | radius_legacy_map_to_vp (request_t *request, fr_pair_t *parent, map_t const *map) |
void | radius_pairmove (request_t *request, fr_pair_list_t *to, fr_pair_list_t *from) |
Old style mapping code.
Definition in file pairmove.c.
struct legacy_pair_build_t |
Definition at line 461 of file pairmove.c.
Data Fields | ||
---|---|---|
fr_edit_list_t * | el | |
fr_pair_t * | vp |
|
static |
Build the relevant pairs at each level.
See edit_list_pair_build() for similar code.
Definition at line 470 of file pairmove.c.
int radius_legacy_map_apply | ( | request_t * | request, |
map_t const * | map, | ||
fr_edit_list_t * | el | ||
) |
Move a map using the operators from the old pairmove functionality.
Definition at line 506 of file pairmove.c.
|
static |
Definition at line 362 of file pairmove.c.
Definition at line 790 of file pairmove.c.
int radius_legacy_map_list_apply | ( | request_t * | request, |
map_list_t const * | list, | ||
fr_edit_list_t * | el | ||
) |
Definition at line 771 of file pairmove.c.
|
static |
Definition at line 314 of file pairmove.c.
void radius_pairmove | ( | request_t * | request, |
fr_pair_list_t * | to, | ||
fr_pair_list_t * | from | ||
) |
Definition at line 45 of file pairmove.c.