The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Functions
call.c File Reference

Unlang "call" keyword evaluation. More...

#include <freeradius-devel/server/state.h>
#include <freeradius-devel/server/pair.h>
#include "call_priv.h"
+ Include dependency graph for call.c:

Go to the source code of this file.

Functions

static unlang_action_t unlang_call_children (rlm_rcode_t *p_result, request_t *request, unlang_stack_frame_t *frame)
 
CONF_SECTIONunlang_call_current (request_t *request)
 Return the last virtual server that was called. More...
 
static unlang_action_t unlang_call_frame_init (rlm_rcode_t *p_result, request_t *request, unlang_stack_frame_t *frame)
 
void unlang_call_init (void)
 
unlang_action_t unlang_call_push (request_t *request, CONF_SECTION *server_cs, bool top_frame)
 Push a call frame onto the stack. More...
 
static unlang_action_t unlang_call_resume (UNUSED rlm_rcode_t *p_result, request_t *request, unlang_stack_frame_t *frame)
 

Detailed Description

Unlang "call" keyword evaluation.

Id
68d0e4bdda18d332034a04ac6ec03659b5517992

Used for calling virtual servers.

Definition in file call.c.

Function Documentation

◆ unlang_call_children()

static unlang_action_t unlang_call_children ( rlm_rcode_t p_result,
request_t request,
unlang_stack_frame_t frame 
)
static

Definition at line 51 of file call.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unlang_call_current()

CONF_SECTION* unlang_call_current ( request_t request)

Return the last virtual server that was called.

Parameters
[in]requestTo return virtual server for.
Returns
  • A virtual server CONF_SECTION on success.
  • NULL on failure.

Definition at line 225 of file call.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unlang_call_frame_init()

static unlang_action_t unlang_call_frame_init ( rlm_rcode_t p_result,
request_t request,
unlang_stack_frame_t frame 
)
static

Definition at line 64 of file call.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unlang_call_init()

void unlang_call_init ( void  )

Definition at line 249 of file call.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unlang_call_push()

unlang_action_t unlang_call_push ( request_t request,
CONF_SECTION server_cs,
bool  top_frame 
)

Push a call frame onto the stack.

This should be used instead of virtual_server_push in the majority of the code

Definition at line 147 of file call.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unlang_call_resume()

static unlang_action_t unlang_call_resume ( UNUSED rlm_rcode_t p_result,
request_t request,
unlang_stack_frame_t frame 
)
static

Definition at line 32 of file call.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: