The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Unlang "subrequest" and "detach" keyword evaluation. More...
#include <freeradius-devel/server/state.h>
#include <freeradius-devel/server/tmpl_dcursor.h>
#include <freeradius-devel/unlang/action.h>
#include "unlang_priv.h"
#include "interpret_priv.h"
#include "subrequest_priv.h"
#include "subrequest_child_priv.h"
Go to the source code of this file.
Functions | |
request_t * | unlang_subrequest_alloc (request_t *parent, fr_dict_t const *namespace) |
Allocate a subrequest to run through a virtual server at some point in the future. More... | |
void | unlang_subrequest_detach_and_free (request_t **child) |
Free a child request, detaching it from its parent and freeing allocated memory. More... | |
void | unlang_subrequest_op_free (void) |
int | unlang_subrequest_op_init (void) |
Initialise subrequest ops. More... | |
static unlang_action_t | unlang_subrequest_parent_init (rlm_rcode_t *p_result, request_t *request, unlang_stack_frame_t *frame) |
static unlang_action_t | unlang_subrequest_parent_resume (rlm_rcode_t *p_result, request_t *request, unlang_stack_frame_t *frame) |
Parent being resumed after a child completes. More... | |
static void | unlang_subrequest_signal_child (UNUSED request_t *request, unlang_stack_frame_t *frame, fr_signal_t action) |
Send a signal from parent request to subrequest. More... | |
Unlang "subrequest" and "detach" keyword evaluation.
Definition in file subrequest.c.
Allocate a subrequest to run through a virtual server at some point in the future.
[in] | parent | to hang sub request off of. |
[in] | namespace | the child will operate in. |
Definition at line 287 of file subrequest.c.
void unlang_subrequest_detach_and_free | ( | request_t ** | child | ) |
Free a child request, detaching it from its parent and freeing allocated memory.
[in] | child | to free. |
Definition at line 272 of file subrequest.c.
void unlang_subrequest_op_free | ( | void | ) |
Definition at line 313 of file subrequest.c.
int unlang_subrequest_op_init | ( | void | ) |
Initialise subrequest ops.
Definition at line 295 of file subrequest.c.
|
static |
Definition at line 146 of file subrequest.c.
|
static |
Parent being resumed after a child completes.
Definition at line 83 of file subrequest.c.
|
static |
Send a signal from parent request to subrequest.
Definition at line 38 of file subrequest.c.