The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Loading...
Searching...
No Matches
Functions
switch.c File Reference

Unlang "switch" keyword evaluation. More...

#include <freeradius-devel/server/rcode.h>
#include "group_priv.h"
#include "switch_priv.h"
#include "xlat_priv.h"
+ Include dependency graph for switch.c:

Go to the source code of this file.

Functions

static int8_t case_cmp (void const *one, void const *two)
 
static uint32_t case_hash (void const *data)
 
static int case_to_key (uint8_t **out, size_t *outlen, void const *data)
 
static unlang_action_t unlang_case (unlang_result_t *p_result, request_t *request, unlang_stack_frame_t *frame)
 
static unlang_tunlang_compile_case (unlang_t *parent, unlang_compile_ctx_t *unlang_ctx, CONF_ITEM const *ci)
 
static unlang_tunlang_compile_switch (unlang_t *parent, unlang_compile_ctx_t *unlang_ctx, CONF_ITEM const *ci)
 
static unlang_action_t unlang_switch (UNUSED unlang_result_t *p_result, request_t *request, unlang_stack_frame_t *frame)
 
void unlang_switch_init (void)
 

Detailed Description

Unlang "switch" keyword evaluation.

Id
2673bafaf36f9201a33d58830776fd49fdaee963

Definition in file switch.c.

Function Documentation

◆ case_cmp()

static int8_t case_cmp ( void const *  one,
void const *  two 
)
static

Definition at line 255 of file switch.c.

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

◆ case_hash()

static uint32_t case_hash ( void const *  data)
static

Definition at line 263 of file switch.c.

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

◆ case_to_key()

static int case_to_key ( uint8_t **  out,
size_t outlen,
void const *  data 
)
static

Definition at line 270 of file switch.c.

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

◆ unlang_case()

static unlang_action_t unlang_case ( unlang_result_t p_result,
request_t request,
unlang_stack_frame_t frame 
)
static

Definition at line 123 of file switch.c.

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

◆ unlang_compile_case()

static unlang_t * unlang_compile_case ( unlang_t parent,
unlang_compile_ctx_t unlang_ctx,
CONF_ITEM const *  ci 
)
static

Definition at line 133 of file switch.c.

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

◆ unlang_compile_switch()

static unlang_t * unlang_compile_switch ( unlang_t parent,
unlang_compile_ctx_t unlang_ctx,
CONF_ITEM const *  ci 
)
static

Definition at line 277 of file switch.c.

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

◆ unlang_switch()

static unlang_action_t unlang_switch ( UNUSED unlang_result_t p_result,
request_t request,
unlang_stack_frame_t frame 
)
static

Definition at line 32 of file switch.c.

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

◆ unlang_switch_init()

void unlang_switch_init ( void  )

Definition at line 520 of file switch.c.

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