test module code.
More...
#include <freeradius-devel/server/base.h>
#include <freeradius-devel/server/module_rlm.h>
#include <freeradius-devel/server/tmpl.h>
#include <freeradius-devel/util/debug.h>
#include <freeradius-devel/util/inet.h>
#include <freeradius-devel/unlang/xlat_func.h>
Go to the source code of this file.
|
static unlang_action_t | mod_accounting (rlm_rcode_t *p_result, module_ctx_t const *mctx, UNUSED request_t *request) |
|
static unlang_action_t | mod_authenticate (rlm_rcode_t *p_result, module_ctx_t const *mctx, UNUSED request_t *request) |
|
static unlang_action_t | mod_authorize (rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request) |
|
static int | mod_bootstrap (module_inst_ctx_t const *mctx) |
|
static int | mod_load (void) |
|
static unlang_action_t | mod_preacct (rlm_rcode_t *p_result, module_ctx_t const *mctx, UNUSED request_t *request) |
|
static unlang_action_t | mod_retry (UNUSED rlm_rcode_t *p_result, UNUSED module_ctx_t const *mctx, request_t *request) |
|
static unlang_action_t | mod_retry_resume (rlm_rcode_t *p_result, UNUSED module_ctx_t const *mctx, request_t *request) |
| Continue after marked runnable. More...
|
|
static unlang_action_t | mod_retry_resume_retry (UNUSED rlm_rcode_t *p_result, UNUSED module_ctx_t const *mctx, request_t *request) |
| Continue after FR_SIGNAL_RETRY. More...
|
|
static unlang_action_t | mod_retry_resume_timeout (rlm_rcode_t *p_result, UNUSED module_ctx_t const *mctx, request_t *request) |
| Continue after FR_SIGNAL_TIMEOUT. More...
|
|
static void | mod_retry_signal (module_ctx_t const *mctx, request_t *request, fr_signal_t action) |
|
static void | mod_retry_signal (UNUSED module_ctx_t const *mctx, request_t *request, fr_signal_t action) |
|
static unlang_action_t | mod_return (rlm_rcode_t *p_result, UNUSED module_ctx_t const *mctx, UNUSED request_t *request) |
|
static int | mod_thread_detach (module_thread_inst_ctx_t const *mctx) |
|
static int | mod_thread_instantiate (module_thread_inst_ctx_t const *mctx) |
|
static void | mod_unload (void) |
|
static xlat_action_t | test_xlat_fail (UNUSED TALLOC_CTX *ctx, UNUSED fr_dcursor_t *out, UNUSED xlat_ctx_t const *xctx, UNUSED request_t *request, UNUSED fr_value_box_list_t *in) |
| Always return XLAT_ACTION_FAIL. More...
|
|
static xlat_action_t | test_xlat_passthrough (TALLOC_CTX *ctx, fr_dcursor_t *out, UNUSED xlat_ctx_t const *xctx, UNUSED request_t *request, fr_value_box_list_t *in) |
| Run a generic xlat (useful for testing) More...
|
|
static xlat_action_t | trigger_test_xlat (TALLOC_CTX *ctx, fr_dcursor_t *out, UNUSED xlat_ctx_t const *xctx, request_t *request, fr_value_box_list_t *in) |
| Run a trigger (useful for testing) More...
|
|
test module code.
- Id
- ff3e1336ee384078ce1e3bb49f99e00307df4f91
- Copyright
- 2013 The FreeRADIUS server project
-
2013 your name (email.nosp@m.@exa.nosp@m.mple..nosp@m.org)
Definition in file rlm_test.c.
◆ rlm_test_t
◆ rlm_test_thread_t
◆ LOG_PREFIX
◆ mod_accounting()
◆ mod_authenticate()
◆ mod_authorize()
◆ mod_bootstrap()
◆ mod_load()
static int mod_load |
( |
void |
| ) |
|
|
static |
◆ mod_preacct()
◆ mod_retry()
◆ mod_retry_resume()
Continue after marked runnable.
Definition at line 280 of file rlm_test.c.
◆ mod_retry_resume_retry()
Continue after FR_SIGNAL_RETRY.
Definition at line 290 of file rlm_test.c.
◆ mod_retry_resume_timeout()
Continue after FR_SIGNAL_TIMEOUT.
Definition at line 300 of file rlm_test.c.
◆ mod_retry_signal() [1/2]
◆ mod_retry_signal() [2/2]
◆ mod_return()
◆ mod_thread_detach()
◆ mod_thread_instantiate()
◆ mod_unload()
static void mod_unload |
( |
void |
| ) |
|
|
static |
◆ test_xlat_fail()
Always return XLAT_ACTION_FAIL.
Definition at line 411 of file rlm_test.c.
◆ test_xlat_passthrough()
Run a generic xlat (useful for testing)
This just copies the input to the output.
Definition at line 382 of file rlm_test.c.
◆ trigger_test_xlat()
Run a trigger (useful for testing)
Definition at line 349 of file rlm_test.c.
◆ attr_user_name
◆ dict_radius
◆ module_config
◆ rlm_test
◆ rlm_test_dict
Initial value:= {
{ NULL }
}
static fr_dict_t const * dict_radius
Definition at line 182 of file rlm_test.c.
◆ rlm_test_dict_attr
Initial value:= {
{ NULL }
}
@ FR_TYPE_STRING
String of printable characters.
static fr_dict_attr_t const * attr_user_name
Definition at line 190 of file rlm_test.c.
◆ test_xlat_fail_args
Initial value:= {
}
#define XLAT_ARG_PARSER_TERMINATOR
Definition at line 403 of file rlm_test.c.
◆ test_xlat_passthrough_args
Initial value:= {
}
@ XLAT_ARG_VARIADIC_EMPTY_KEEP
Empty argument groups are left alone, and either passed through as empty groups or null boxes.
Definition at line 371 of file rlm_test.c.
◆ trigger_test_xlat_args