The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
edit.h
Go to the documentation of this file.
1 #pragma once
2 /*
3  * This program is free software; you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation; either version 2, or (at your option)
6  * any later version.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program; if not, write to the Free Software Foundation,
15  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16  */
17 
18 /**
19  * $Id: af4282506c7cabaab033eeb2711a5e9b2d7c11e0 $
20  *
21  * @file unlang/edit.h
22  *
23  * @brief Functions to perform edits on maps
24  *
25  * @copyright 2023 Network RADIUS SAS (legal@networkradius.com)
26  */
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
31 int unlang_edit_push(request_t *request, bool *success, fr_edit_list_t *el, map_list_t const *map_list)
32  CC_HINT(warn_unused_result) CC_HINT(nonnull(1,2,4));
33 
34 #ifdef __cplusplus
35 }
36 #endif
goto success
Definition: tmpl_eval.c:1455
static fr_event_list_t * el
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.
Definition: edit.c:1682
Track a series of edits.
Definition: edit.c:102
int nonnull(2, 5))