![]() |
The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Declarations for the unlang "parallel" keyword. More...
Go to the source code of this file.
Data Structures | |
struct | unlang_parallel_state_t |
struct | unlang_parallel_t |
Functions | |
static unlang_parallel_t * | unlang_group_to_parallel (unlang_group_t *g) |
Cast a group structure to the parallel keyword extension. | |
static unlang_group_t * | unlang_parallel_to_group (unlang_parallel_t *parallel) |
Cast a parallel keyword extension to a group structure. | |
Declarations for the unlang "parallel" keyword.
Should be moved into parallel.c when the parallel stuff is fully extracted from interpret.c
Definition in file parallel_priv.h.
struct unlang_parallel_state_t |
Definition at line 36 of file parallel_priv.h.
Data Fields | ||
---|---|---|
unlang_child_request_t | children[] | Array of children. |
bool | clone | are the children cloned |
bool | detach | are we creating the child detached |
unlang_t * | instruction | The instruction the children should start executing. |
unsigned int | num_children | How many children are executing. |
unsigned int | num_runnable | How many children are complete. |
int | priority | |
rlm_rcode_t | result |
struct unlang_parallel_t |
Definition at line 52 of file parallel_priv.h.
Data Fields | ||
---|---|---|
bool | clone | |
bool | detach | are we creating the child detached |
unlang_group_t | group |
|
inlinestatic |
Cast a group structure to the parallel keyword extension.
Definition at line 61 of file parallel_priv.h.
|
inlinestatic |
Cast a parallel keyword extension to a group structure.
Definition at line 69 of file parallel_priv.h.