Purification functions for xlats.
More...
#include <freeradius-devel/server/base.h>
#include <freeradius-devel/unlang/xlat_priv.h>
#include <freeradius-devel/util/calc.h>
#include <freeradius-devel/util/dict.h>
Go to the source code of this file.
|
static int | binary_peephole_optimize (TALLOC_CTX *ctx, xlat_exp_t **out, xlat_exp_t *lhs, fr_token_t op, xlat_exp_t *rhs) |
|
static bool | is_truthy (xlat_exp_t *node, bool *out) |
|
static xlat_exp_t * | peephole_optimize_land (xlat_exp_t *lhs, xlat_exp_t *rhs) |
|
static xlat_exp_t * | peephole_optimize_lor (xlat_exp_t *lhs, xlat_exp_t *rhs) |
|
int | xlat_purify (xlat_exp_head_t *head, unlang_interpret_t *intp) |
| Purify an xlat. More...
|
|
int | xlat_purify_list (xlat_exp_head_t *head, request_t *request) |
|
int | xlat_purify_op (TALLOC_CTX *ctx, xlat_exp_t **out, xlat_exp_t *lhs, fr_token_t op, xlat_exp_t *rhs) |
|
static fr_value_box_t * | xlat_value_box (xlat_exp_t *node) |
|
static void | xlat_value_list_to_xlat (xlat_exp_head_t *head, fr_value_box_list_t *list) |
|
Purification functions for xlats.
- Id
- 486f2eb58a0ccd2e53ed6f2b3520dd2e82fc841a
- Copyright
- 2022 The FreeRADIUS server project
-
2022 Network RADIUS SAS (legal.nosp@m.@net.nosp@m.workr.nosp@m.adiu.nosp@m.s.com)
Definition in file xlat_purify.c.
◆ binary_peephole_optimize()
◆ is_truthy()
◆ peephole_optimize_land()
◆ peephole_optimize_lor()
◆ xlat_purify()
Purify an xlat.
- Parameters
-
head | the xlat to be purified |
intp | the interpreter to use. |
Definition at line 194 of file xlat_purify.c.
◆ xlat_purify_list()
◆ xlat_purify_op()
◆ xlat_value_box()
◆ xlat_value_list_to_xlat()
static void xlat_value_list_to_xlat |
( |
xlat_exp_head_t * |
head, |
|
|
fr_value_box_list_t * |
list |
|
) |
| |
|
static |