The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Functions | Variables
base.c File Reference

CONTROL processing. More...

#include <freeradius-devel/server/protocol.h>
#include <freeradius-devel/server/process.h>
#include <freeradius-devel/util/debug.h>
+ Include dependency graph for base.c:

Go to the source code of this file.

Functions

static unlang_action_t mod_process (rlm_rcode_t *p_result, UNUSED module_ctx_t const *mctx, UNUSED request_t *request)
 

Variables

static fr_dict_attr_t const * attr_module_failure_message
 
static fr_dict_attr_t const * attr_module_success_message
 
static fr_dict_t const * dict_freeradius
 
fr_process_module_t process_control
 
fr_dict_autoload_t process_control_dict []
 
fr_dict_attr_autoload_t process_control_dict_attr []
 

Detailed Description

CONTROL processing.

Id
a26355304af0d53f9a2d6b084215276bbe0e5bfe

Definition in file base.c.

Function Documentation

◆ mod_process()

static unlang_action_t mod_process ( rlm_rcode_t p_result,
UNUSED module_ctx_t const *  mctx,
UNUSED request_t request 
)
static

Definition at line 47 of file base.c.

Variable Documentation

◆ attr_module_failure_message

fr_dict_attr_t const* attr_module_failure_message
static

Definition at line 36 of file base.c.

◆ attr_module_success_message

fr_dict_attr_t const* attr_module_success_message
static

Definition at line 37 of file base.c.

◆ dict_freeradius

fr_dict_t const* dict_freeradius
static

Definition at line 28 of file base.c.

◆ process_control

fr_process_module_t process_control
Initial value:
= {
.common = {
.name = "control"
},
.process = mod_process,
.dict = &dict_freeradius
}
#define MODULE_MAGIC_INIT
Stop people using different module/library/server versions together.
Definition: dl_module.h:63
fr_dict_t const * dict_freeradius
Definition: base.c:77
static unlang_action_t mod_process(rlm_rcode_t *p_result, UNUSED module_ctx_t const *mctx, UNUSED request_t *request)
Definition: base.c:47

Definition at line 53 of file base.c.

◆ process_control_dict

fr_dict_autoload_t process_control_dict
Initial value:
= {
{ .out = &dict_freeradius, .proto = "freeradius" },
{ NULL }
}

Definition at line 31 of file base.c.

◆ process_control_dict_attr

fr_dict_attr_autoload_t process_control_dict_attr
Initial value:
= {
{ .out = &attr_module_failure_message, .name = "Module-Failure-Message", .type = FR_TYPE_STRING, .dict = &dict_freeradius },
{ .out = &attr_module_success_message, .name = "Module-Success-Message", .type = FR_TYPE_STRING, .dict = &dict_freeradius },
{ NULL }
}
@ FR_TYPE_STRING
String of printable characters.
Definition: merged_model.c:83
static fr_dict_attr_t const * attr_module_failure_message
Definition: base.c:36
static fr_dict_attr_t const * attr_module_success_message
Definition: base.c:37

Definition at line 40 of file base.c.