The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Return preconfigured fixed rcodes. More...
#include <freeradius-devel/server/base.h>
#include <freeradius-devel/server/module.h>
#include <freeradius-devel/server/module_rlm.h>
#include <freeradius-devel/unlang/xlat_func.h>
Go to the source code of this file.
Data Structures | |
struct | rlm_always_mutable_t |
struct | rlm_always_t |
Macros | |
#define | LOG_PREFIX mctx->mi->name |
Functions | |
static xlat_action_t | always_xlat (TALLOC_CTX *ctx, fr_dcursor_t *out, xlat_ctx_t const *xctx, request_t *request, fr_value_box_list_t *in) |
Set module status or rcode. More... | |
static unlang_action_t | mod_always_return (rlm_rcode_t *p_result, module_ctx_t const *mctx, UNUSED request_t *request) |
static int | mod_bootstrap (module_inst_ctx_t const *mctx) |
static int | mod_detach (module_detach_ctx_t const *mctx) |
static int | mod_instantiate (module_inst_ctx_t const *mctx) |
Variables | |
static xlat_arg_parser_t const | always_xlat_args [] |
static const conf_parser_t | module_config [] |
module_rlm_t | rlm_always |
Return preconfigured fixed rcodes.
Definition in file rlm_always.c.
struct rlm_always_mutable_t |
Definition at line 41 of file rlm_always.c.
Data Fields | ||
---|---|---|
bool | force | If true, we force the rcode. |
rlm_rcode_t | rcode | The integer constant representing rcode_str. |
struct rlm_always_t |
Definition at line 50 of file rlm_always.c.
Data Fields | ||
---|---|---|
module_instance_t * | mi | |
rlm_always_mutable_t * | mutable | |
char const * | rcode_str | The base value. |
Definition at line 27 of file rlm_always.c.
|
static |
Set module status or rcode.
Look ma, no locks...
Example: db_status(fail)
Definition at line 75 of file rlm_always.c.
|
static |
Definition at line 130 of file rlm_always.c.
|
static |
|
static |
|
static |
|
static |
Definition at line 64 of file rlm_always.c.
|
static |
Definition at line 59 of file rlm_always.c.
module_rlm_t rlm_always |
Definition at line 184 of file rlm_always.c.