The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Loading...
Searching...
No Matches
timeout.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: 16947adba169c878af60b45974853c84ffd4838e $
20 *
21 * @file unlang/timeout.h
22 * @brief Declarations for unlang timeouts
23 *
24 * @copyright 2023 Network RADIUS SAS (legal@networkradius.com)
25 */
26#include <freeradius-devel/server/request.h>
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32int unlang_timeout_section_push(request_t *request, CONF_SECTION *cs, fr_time_delta_t timeout, bool top_frame) CC_HINT(nonnull);
33
34#ifdef __cplusplus
35}
36#endif
A section grouping multiple CONF_PAIR.
Definition cf_priv.h:101
A time delta, a difference in time measured in nanoseconds.
Definition time.h:80
int unlang_timeout_section_push(request_t *request, CONF_SECTION *cs, fr_time_delta_t timeout, bool top_frame)
When a timeout fires, run the given section.
Definition timeout.c:184
int nonnull(2, 5))