The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Data Structures | Functions
pairmove.c File Reference

Old style mapping code. More...

#include <freeradius-devel/server/base.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/protocol/radius/rfc2865.h>
#include <freeradius-devel/protocol/freeradius/freeradius.internal.h>
#include <ctype.h>
+ Include dependency graph for pairmove.c:

Go to the source code of this file.

Data Structures

struct  legacy_pair_build_t
 

Functions

static fr_pair_tlegacy_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)
 

Detailed Description

Old style mapping code.

Id
00035a763ce6a806f70935c91df80e202749298c

Definition in file pairmove.c.


Data Structure Documentation

◆ legacy_pair_build_t

struct legacy_pair_build_t

Definition at line 462 of file pairmove.c.

+ Collaboration diagram for legacy_pair_build_t:
Data Fields
fr_edit_list_t * el
fr_pair_t * vp

Function Documentation

◆ legacy_pair_build()

static fr_pair_t* legacy_pair_build ( fr_pair_t parent,
fr_dcursor_t cursor,
fr_dict_attr_t const *  da,
void *  uctx 
)
static

Build the relevant pairs at each level.

See edit_list_pair_build() for similar code.

Definition at line 471 of file pairmove.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ radius_legacy_map_apply()

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 507 of file pairmove.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ radius_legacy_map_apply_structural()

static int radius_legacy_map_apply_structural ( request_t request,
map_t const *  map,
fr_pair_t vp 
)
static

Definition at line 363 of file pairmove.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ radius_legacy_map_cmp()

int radius_legacy_map_cmp ( request_t request,
map_t const *  map 
)

Definition at line 791 of file pairmove.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ radius_legacy_map_list_apply()

int radius_legacy_map_list_apply ( request_t request,
map_list_t const *  list,
fr_edit_list_t el 
)

Definition at line 772 of file pairmove.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ radius_legacy_map_to_vp()

static int radius_legacy_map_to_vp ( request_t request,
fr_pair_t parent,
map_t const *  map 
)
static

Definition at line 315 of file pairmove.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ radius_pairmove()

void radius_pairmove ( request_t request,
fr_pair_list_t to,
fr_pair_list_t from 
)

Definition at line 46 of file pairmove.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: