The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
#include <freeradius-devel/server/tmpl.h>
#include <freeradius-devel/util/dict.h>
#include "unlang_priv.h"
Go to the source code of this file.
Data Structures | |
struct | unlang_frame_state_subrequest_t |
Parameters for initialising the subrequest (parent's frame state) More... | |
struct | unlang_subrequest_t |
Functions | |
static unlang_subrequest_t * | unlang_group_to_subrequest (unlang_group_t *g) |
Cast a group structure to the subrequest keyword extension. More... | |
int | unlang_subrequest_detach_child (request_t *request) |
static unlang_group_t * | unlang_subrequest_to_group (unlang_subrequest_t *subrequest) |
Cast a subrequest keyword extension to a group structure. More... | |
Definition in file subrequest_priv.h.
struct unlang_frame_state_subrequest_t |
Parameters for initialising the subrequest (parent's frame state)
Definition at line 51 of file subrequest_priv.h.
Data Fields | ||
---|---|---|
request_t * | child | Pre-allocated child request. |
bool | detachable | Whether the request can be detached. |
bool | free_child | Whether we should free the child after it completes. |
rlm_rcode_t * | p_result | Where to store the result. |
unlang_subrequest_session_t | session | Session configuration. |
struct unlang_subrequest_t |
Definition at line 33 of file subrequest_priv.h.
Data Fields | ||
---|---|---|
fr_dict_attr_t const * | attr_packet_type | Packet-type attribute in the subrequest protocol. |
fr_dict_t const * | dict | Dictionary of the subrequest protocol. |
tmpl_t * | dst | Where to copy pairs from the reply list in the subrequest to. |
unlang_group_t | group | |
tmpl_t * | src | Pairs to copy into the subrequest request list. |
fr_dict_enum_value_t const * | type_enum |
Static enumeration value for attr_packet_type. if the packet-type is static. |
tmpl_t * | vpt | Value to expand to find the value to place into the packet-type attribute. |
|
inlinestatic |
Cast a group structure to the subrequest keyword extension.
Definition at line 63 of file subrequest_priv.h.
int unlang_subrequest_detach_child | ( | request_t * | request | ) |
|
inlinestatic |
Cast a subrequest keyword extension to a group structure.
Definition at line 71 of file subrequest_priv.h.