The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Functions
edit.h File Reference

Functions to perform edits on maps. More...

Go to the source code of this file.

Functions

int unlang_edit_push (request_t *request, bool *success, fr_edit_list_t *el, map_list_t const *map_list)
 Push a map onto the stack for edit evaluation. More...
 

Detailed Description

Functions to perform edits on maps.

Id
af4282506c7cabaab033eeb2711a5e9b2d7c11e0

Definition in file edit.h.

Function Documentation

◆ unlang_edit_push()

int unlang_edit_push ( request_t request,
bool success,
fr_edit_list_t el,
map_list_t const *  map_list 
)

Push a map onto the stack for edit evaluation.

If the "success" variable returns "false", the caller should call fr_edit_list_abort().

If the "success" variable returns "true", the caller can free the edit list (or rely on talloc to do that) and the transaction will be finalized.

Parameters
[in]requestThe current request.
[out]successWhether or not the edit succeeded
[in]elEdit list which can be used to apply multiple edits
[in]map_listThe map list to process

Definition at line 1682 of file edit.c.

+ Here is the call graph for this function: