27 RCSIDH(map_proc_h,
"$Id: 9a83cda76547c661cf50dd9bc488b6f8d6c442ef $")
40 #include <freeradius-devel/server/cf_util.h>
41 #include <freeradius-devel/server/tmpl.h>
42 #include <freeradius-devel/server/map.h>
43 #include <freeradius-devel/util/value.h>
64 fr_value_box_list_t *result, map_list_t
const *
maps);
unlang_action_t
Returned by unlang_op_t calls, determine the next action of the interpreter.
A section grouping multiple CONF_PAIR.
int(* map_proc_instantiate_t)(CONF_SECTION *cs, void const *mod_inst, void *proc_inst, tmpl_t const *src, map_list_t const *maps)
Allocate new instance data for a map processor.
map_proc_t * map_proc_find(char const *name)
Find a map processor by name.
unlang_action_t map_proc(rlm_rcode_t *p_result, request_t *request, map_proc_inst_t const *inst, fr_value_box_list_t *src)
Evaluate a set of maps using the specified map processor.
int map_proc_unregister(char const *name)
Unregister a map processor by name.
map_proc_inst_t * map_proc_instantiate(TALLOC_CTX *ctx, map_proc_t const *proc, CONF_SECTION *cs, tmpl_t const *src, map_list_t const *maps)
Create a new map proc instance.
unlang_action_t(* map_proc_func_t)(rlm_rcode_t *p_result, void const *mod_inst, void *proc_inst, request_t *request, fr_value_box_list_t *result, map_list_t const *maps)
Function to evaluate the src string and map the result to server attributes.
int map_proc_register(TALLOC_CTX *ctx, void const *mod_inst, char const *name, map_proc_func_t evaluate, map_proc_instantiate_t instantiate, size_t inst_size, fr_value_box_safe_for_t safe_for)
Register a map processor.
fr_value_box_safe_for_t map_proc_literals_safe_for(map_proc_t const *proc)
map_proc_t const * proc
Map processor.
tmpl_t const * src
Evaluated to provide source value for map processor.
map_list_t const * maps
Head of the map list.
Map processor registration.
rlm_rcode_t
Return codes indicating the result of the module call.
static int instantiate(module_inst_ctx_t const *mctx)
eap_aka_sim_process_conf_t * inst
uintptr_t fr_value_box_safe_for_t
Escaping that's been applied to a value box.