The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
interpret_priv.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: e504fd93aa082e2c742379ffb04987fda23f8ad3 $
20  *
21  * @file unlang/interpret_priv.h
22  * @brief Private declarations for the unlang interpreter.
23  *
24  * @copyright 2021 The FreeRADIUS server project
25  */
26 
27 #include <freeradius-devel/util/event.h>
28 #include <freeradius-devel/unlang/interpret.h>
29 #include "interpret_priv.h"
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
38  void *uctx;
39 };
40 
41 static inline void interpret_child_init(request_t *request)
42 {
44 
45  intp->funcs.init_internal(request, intp->uctx);
46 }
47 
48 #ifdef __cplusplus
49 }
50 #endif
unlang_interpret_t * unlang_interpret_get(request_t *request)
Get the interpreter set for a request.
Definition: interpret.c:1754
unlang_request_init_t init_internal
Function called to initialise an internal request.
Definition: interpret.h:106
External functions provided by the owner of the interpret.
Definition: interpret.h:100
Private declarations for the unlang interpreter.
fr_event_list_t * el
static void interpret_child_init(request_t *request)
unlang_request_func_t funcs
Stores all information relating to an event list.
Definition: event.c:411