The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Loading...
Searching...
No Matches
Functions | Variables
map_builtin.c File Reference

Built in map expansions. More...

#include <freeradius-devel/server/base.h>
#include "map.h"
+ Include dependency graph for map_builtin.c:

Go to the source code of this file.

Functions

static int _list_map_proc_get_value (TALLOC_CTX *ctx, fr_pair_list_t *out, request_t *request, map_t const *map, void *uctx)
 
static int _map_global_free (UNUSED void *uctx)
 
static int _map_global_init (UNUSED void *uctx)
 
static int list_map_verify (CONF_SECTION *cs, UNUSED void const *mod_inst, UNUSED void *proc_inst, tmpl_t const *src, UNUSED map_list_t const *maps)
 
int map_global_init (void)
 
static unlang_action_t mod_list_map_proc (unlang_result_t *p_result, UNUSED map_ctx_t const *mpctx, request_t *request, fr_value_box_list_t *in, map_list_t const *maps)
 Map a list of value boxes to attributes using the index number in the list.
 

Variables

static TALLOC_CTX * map_ctx
 

Detailed Description

Built in map expansions.

Id
1cdbbeb50be0a2e088a2961ae98069b0f6df3044

Definition in file map_builtin.c.

Function Documentation

◆ _list_map_proc_get_value()

static int _list_map_proc_get_value ( TALLOC_CTX *  ctx,
fr_pair_list_t out,
request_t request,
map_t const *  map,
void *  uctx 
)
static

Definition at line 45 of file map_builtin.c.

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

◆ _map_global_free()

static int _map_global_free ( UNUSED void *  uctx)
static

Definition at line 124 of file map_builtin.c.

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

◆ _map_global_init()

static int _map_global_init ( UNUSED void *  uctx)
static

Definition at line 117 of file map_builtin.c.

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

◆ list_map_verify()

static int list_map_verify ( CONF_SECTION cs,
UNUSED void const *  mod_inst,
UNUSED void *  proc_inst,
tmpl_t const *  src,
UNUSED map_list_t const *  maps 
)
static

Definition at line 34 of file map_builtin.c.

+ Here is the caller graph for this function:

◆ map_global_init()

int map_global_init ( void  )

Definition at line 130 of file map_builtin.c.

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

◆ mod_list_map_proc()

static unlang_action_t mod_list_map_proc ( unlang_result_t p_result,
UNUSED map_ctx_t const *  mpctx,
request_t request,
fr_value_box_list_t *  in,
map_list_t const *  maps 
)
static

Map a list of value boxes to attributes using the index number in the list.

Definition at line 66 of file map_builtin.c.

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

Variable Documentation

◆ map_ctx

TALLOC_CTX* map_ctx
static

Definition at line 32 of file map_builtin.c.