The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Data Structures | Functions
subrequest_priv.h File Reference
#include <freeradius-devel/server/tmpl.h>
#include <freeradius-devel/util/dict.h>
#include "unlang_priv.h"
+ Include dependency graph for subrequest_priv.h:
+ This graph shows which files directly or indirectly include this file:

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_tunlang_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_tunlang_subrequest_to_group (unlang_subrequest_t *subrequest)
 Cast a subrequest keyword extension to a group structure. More...
 

Detailed Description

Id
a01fe09aaecb05203bd48590e57640091130900d

Definition in file subrequest_priv.h.


Data Structure Documentation

◆ unlang_frame_state_subrequest_t

struct unlang_frame_state_subrequest_t

Parameters for initialising the subrequest (parent's frame state)

Definition at line 51 of file subrequest_priv.h.

+ Collaboration diagram for unlang_frame_state_subrequest_t:
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.

◆ unlang_subrequest_t

struct unlang_subrequest_t

Definition at line 33 of file subrequest_priv.h.

+ Collaboration diagram for unlang_subrequest_t:
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.

Function Documentation

◆ unlang_group_to_subrequest()

static unlang_subrequest_t* unlang_group_to_subrequest ( unlang_group_t g)
inlinestatic

Cast a group structure to the subrequest keyword extension.

Definition at line 63 of file subrequest_priv.h.

+ Here is the caller graph for this function:

◆ unlang_subrequest_detach_child()

int unlang_subrequest_detach_child ( request_t request)

◆ unlang_subrequest_to_group()

static unlang_group_t* unlang_subrequest_to_group ( unlang_subrequest_t subrequest)
inlinestatic

Cast a subrequest keyword extension to a group structure.

Definition at line 71 of file subrequest_priv.h.