The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Loading...
Searching...
No Matches
module_method.c
Go to the documentation of this file.
1/*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License as published by
4 * the Free Software Foundation; either version 2 of the License, or
5 * (at your option) any later version.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 *
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, write to the Free Software
14 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
15 */
16
17/**
18 * $Id: 8aa2667e4130556cea62548ed30d447c7209df0a $
19 *
20 * @file src/lib/server/module_method.c
21 * @brief Central module_method_binding_t definitions
22 *
23 * This file contains common module_method_t structures which may be
24 * referenced within a #virtual_server_compile_t and a #module_t.
25 *
26 * This is partly for documentation, partly for boilerplate reducation
27 * and partly to minimise stupid typos and other screwups which'd lead
28 * to matches failing.
29 *
30 * Referencing the same #module_method_t in both the virtual server
31 * and the module allows for a potential fast path where we just compare
32 * the pointer values.
33 *
34 * @copyright 2022 Arran Cudbard-Bell (a.cudbardb@freeradius.org)
35 */
36#include <freeradius-devel/server/module_method.h>
37
39 .name1 = "ippool",
40 .name2 = "allocate"
41};
42
44 .name1 = "ippool",
45 .name2 = "extend"
46};
47
49 .name1 = "ippool",
50 .name2 = "mark"
51};
52
54 .name1 = "ippool",
55 .name2 = "release"
56};
section_name_t module_method_ippool_mark
section_name_t module_method_ippool_extend
section_name_t module_method_ippool_release
section_name_t module_method_ippool_allocate
char const * name1
First section name. Usually a verb like 'recv', 'send', etc...
Definition section.h:45
Section name identifier.
Definition section.h:44