26 RCSIDH(trigger_h,
"$Id: 5756656992b38b8e2fafae15a4c98e3fabf0d82f $")
32 #include <freeradius-devel/server/cf_util.h>
33 #include <freeradius-devel/server/module.h>
34 #include <freeradius-devel/server/request.h>
35 #include <freeradius-devel/unlang/interpret.h>
36 #include <freeradius-devel/util/pair.h>
37 #include <freeradius-devel/util/talloc.h>
A section grouping multiple CONF_PAIR.
unlang_action_t(* module_method_t)(rlm_rcode_t *p_result, module_ctx_t const *mctx, request_t *request)
Module section callback.
void trigger_args_afrom_server(TALLOC_CTX *ctx, fr_pair_list_t *list, char const *server, uint16_t port)
Create trigger arguments to describe the server the pool connects to.
xlat_arg_parser_t const trigger_xlat_args[]
int trigger_exec_init(CONF_SECTION const *cs)
int trigger_exec(unlang_interpret_t *intp, CONF_SECTION const *cs, char const *name, bool rate_limit, fr_pair_list_t *args))
Execute a trigger - call an executable to process an event.
int(* fr_trigger_worker_t)(request_t *request, module_method_t process, void *ctx)
xlat_action_t trigger_xlat(TALLOC_CTX *ctx, fr_dcursor_t *out, UNUSED xlat_ctx_t const *xctx, request_t *request, fr_value_box_list_t *in)
Retrieve attributes from a special trigger list.
bool trigger_enabled(void)
Return whether triggers are enabled.
Definition for a single argument consumend by an xlat function.
static size_t char ** out