The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Loading...
Searching...
No Matches
pairmove.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 of the License, or
6 * (at your option) 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
15 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
16 */
17
18/**
19 * $Id: 17c1068defc9216ccf1a6dcf05d32d50b0f44111 $
20 *
21 * @file lib/server/pairmove.h
22 * @brief Legacy pairmove function
23 *
24 * @copyright 2007 The FreeRADIUS server project
25 * @copyright 2007 Alan DeKok (aland@deployingradius.com)
26 */
27RCSIDH(pairmove_h, "$Id: 17c1068defc9216ccf1a6dcf05d32d50b0f44111 $")
28
29#include <freeradius-devel/server/request.h>
30#include <freeradius-devel/server/map.h>
31#include <freeradius-devel/util/edit.h>
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36
37void radius_pairmove(request_t *request, fr_pair_list_t *to, fr_pair_list_t *from) CC_HINT(nonnull);
38
39int radius_legacy_map_apply(request_t *request, map_t const *map, fr_edit_list_t *el) CC_HINT(nonnull(1,2));
40
41int radius_legacy_map_list_apply(request_t *request, map_list_t const *list, fr_edit_list_t *el) CC_HINT(nonnull(1,2));
42
43int radius_legacy_map_cmp(request_t *request, map_t const *map) CC_HINT(nonnull);
44
45#ifdef __cplusplus
46}
47#endif
#define RCSIDH(h, id)
Definition build.h:484
int radius_legacy_map_list_apply(request_t *request, map_list_t const *list, fr_edit_list_t *el))
Definition pairmove.c:771
void radius_pairmove(request_t *request, fr_pair_list_t *to, fr_pair_list_t *from)
Definition pairmove.c:45
int radius_legacy_map_cmp(request_t *request, map_t const *map)
Definition pairmove.c:790
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 pairmove.c:506
Value pair map.
Definition map.h:77
static fr_event_list_t * el
Track a series of edits.
Definition edit.c:102
int nonnull(2, 5))