The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Loading...
Searching...
No Matches
src
lib
unlang
call.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: f57e491603e880724893b8988b3403a320a00ff6 $
20
*
21
* @file unlang/call.h
22
*
23
* @copyright 2021 Arran Cudbard-Bell <a.cudbardb@freeradius.org>
24
*/
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
29
#include <freeradius-devel/unlang/interpret.h>
30
#include <freeradius-devel/server/request.h>
31
#include <freeradius-devel/server/cf_util.h>
32
33
unlang_action_t
unlang_call_push
(
unlang_result_t
*p_result,
request_t
*request,
CONF_SECTION
*server_cs,
bool
top_frame) CC_HINT(
nonnull
(2,3));
34
35
CONF_SECTION
*
unlang_call_current
(
request_t
*request);
36
37
#ifdef __cplusplus
38
}
39
#endif
unlang_action_t
unlang_action_t
Returned by unlang_op_t calls, determine the next action of the interpreter.
Definition
action.h:35
unlang_call_push
unlang_action_t unlang_call_push(unlang_result_t *p_result, request_t *request, CONF_SECTION *server_cs, bool top_frame))
Push a call frame onto the stack.
Definition
call.c:147
unlang_call_current
CONF_SECTION * unlang_call_current(request_t *request)
Return the last virtual server that was called.
Definition
call.c:225
cf_section
A section grouping multiple CONF_PAIR.
Definition
cf_priv.h:101
unlang_result_t
Definition
interpret.h:133
request_t
Definition
merged_model.c:210
nonnull
int nonnull(2, 5))
Generated by
1.9.8