The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
base.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: 12c3905a47ceff5dcf5692173003dad4a4bd87c6 $
20  *
21  * @file unlang/base.h
22  * @brief Public interface to the unlang interpreter
23  *
24  * @copyright 2016-2019 The FreeRADIUS server project
25  */
26 #include <freeradius-devel/unlang/call.h>
27 #include <freeradius-devel/unlang/compile.h>
28 #include <freeradius-devel/unlang/function.h>
29 #include <freeradius-devel/unlang/interpret.h>
30 #include <freeradius-devel/unlang/module.h>
31 #include <freeradius-devel/unlang/subrequest.h>
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
38 
39 int unlang_global_init(void);
40 
41 int unlang_thread_instantiate(TALLOC_CTX *ctx) CC_HINT(nonnull);
42 
43 #ifdef WITH_PERF
44 void unlang_perf_virtual_server(fr_log_t *log, char const *name);
45 #endif
46 
47 #ifdef __cplusplus
48 }
49 #endif
A section grouping multiple CONF_PAIR.
Definition: cf_priv.h:101
static char const * name
Definition: log.h:96
int unlang_thread_instantiate(TALLOC_CTX *ctx)
Create thread-specific data structures for unlang.
Definition: compile.c:5122
bool unlang_section(CONF_SECTION *cs)
Return whether a section has unlang data associated with it.
Definition: base.c:40
int unlang_global_init(void)
Definition: base.c:133
int nonnull(2, 5))