The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Structures and functions for handling call environments. More...
#include <freeradius-devel/util/dlist.h>
#include <freeradius-devel/util/value.h>
#include <freeradius-devel/unlang/action.h>
#include <freeradius-devel/server/cf_parse.h>
#include <freeradius-devel/server/dl_module.h>
#include <freeradius-devel/server/module.h>
#include <freeradius-devel/server/request.h>
#include <freeradius-devel/server/tmpl.h>
Go to the source code of this file.
Data Structures | |
struct | call_env_ctx_s |
struct | call_env_method_s |
struct | call_env_parser_s |
Per method call config. More... | |
union | call_env_parser_s.__unnamed94__ |
struct | call_env_parser_s.__unnamed94__.pair |
struct | call_env_parser_s.__unnamed94__.pair.parsed |
struct | call_env_parser_s.__unnamed94__.section |
struct | call_env_s |
Structure containing both a talloc pool, a list of parsed call_env_pairs. More... | |
Macros | |
#define | CALL_ENV_FLAGS(_cast_type, _flags, _struct, _field) |
#define | CALL_ENV_PARSE_TYPE(_s, _f) |
Where we're specifying a parsing phase output field, determine its type. | |
#define | CALL_ENV_TERMINATOR { NULL } |
#define | FR_CALL_ENV_CONCAT(_c, _ct) |
Only FR_TYPE_STRING and FR_TYPE_OCTETS can be concatenated. | |
#define | FR_CALL_ENV_DST_SIZE(_s, _f) |
#define | FR_CALL_ENV_DST_TYPE(_s, _f) |
Mapping from field types to destination type enum. | |
#define | FR_CALL_ENV_METHOD_OUT(_inst) |
Helper macro for populating the size/type fields of a call_env_method_t from the output structure type. | |
#define | FR_CALL_ENV_MULTI(_s, _f) |
Derive whether multi conf pairs are allowed from target field type. | |
#define | FR_CALL_ENV_OFFSET(_name, _cast_type, _flags, _struct, _field) |
Specify a call_env_parser_t which writes out runtime results to the specified field. | |
#define | FR_CALL_ENV_PARSE_OFFSET(_name, _cast_type, _flags, _struct, _field, _parse_field) |
Specify a call_env_parser_t which writes out runtime results and the result of the parsing phase to the fields specified. | |
#define | FR_CALL_ENV_PARSE_ONLY_OFFSET(_name, _cast_type, _flags, _struct, _parse_field) |
Specify a call_env_parser_t which writes out the result of the parsing phase to the field specified. | |
#define | FR_CALL_ENV_RESULT_TYPE_NAME(_s, _f) |
#define | FR_CALL_ENV_SINGLE(_s, _f, _c) |
Derive whether tmpl can only emit a single box. | |
#define | FR_CALL_ENV_SUBSECTION(_name, _name2, _flags, _subcs) |
Specify a call_env_parser_t which defines a nested subsection. | |
#define | FR_CALL_ENV_SUBSECTION_FUNC(_name, _name2, _flags, _func) |
Specify a call_env_parser_t which parses a subsection using a callback function. | |
Typedefs | |
typedef void | _mismatch_flags |
Dummy type used to indicate bad flags. | |
typedef struct call_env_ctx_s | call_env_ctx_t |
typedef struct call_env_method_s | call_env_method_t |
typedef int(* | call_env_parse_pair_t) (TALLOC_CTX *ctx, void *out, tmpl_rules_t const *t_rules, CONF_ITEM *ci, call_env_ctx_t const *cec, call_env_parser_t const *rule) |
Callback for performing custom parsing of a CONF_PAIR. | |
typedef int(* | call_env_parse_section_t) (TALLOC_CTX *ctx, call_env_parsed_head_t *out, tmpl_rules_t const *t_rules, CONF_ITEM *ci, call_env_ctx_t const *cec, call_env_parser_t const *rule) |
Callback for performing custom parsing of a CONF_SECTION. | |
typedef struct call_env_parsed_s | call_env_parsed_t |
typedef struct call_env_parser_s | call_env_parser_t |
typedef struct call_env_s | call_env_t |
Enumerations | |
enum | call_env_ctx_type_t { CALL_ENV_CTX_TYPE_MODULE = 1 , CALL_ENV_CTX_TYPE_XLAT } |
enum | call_env_flags_t { CALL_ENV_FLAG_NONE = 0 , CALL_ENV_FLAG_REQUIRED = 1 , CALL_ENV_FLAG_CONCAT = (1 << 1) , CALL_ENV_FLAG_SINGLE = (1 << 2) , CALL_ENV_FLAG_MULTI = (1 << 3) , CALL_ENV_FLAG_NULLABLE = (1 << 4) , CALL_ENV_FLAG_FORCE_QUOTE = (1 << 5) , CALL_ENV_FLAG_PARSE_ONLY = (1 << 6) , CALL_ENV_FLAG_ATTRIBUTE = (1 << 7) , CALL_ENV_FLAG_SUBSECTION = (1 << 8) , CALL_ENV_FLAG_PARSE_MISSING = (1 << 9) , CALL_ENV_FLAG_SECRET = (1 << 10) } |
enum | call_env_parse_type_t { CALL_ENV_PARSE_TYPE_TMPL = 1 , CALL_ENV_PARSE_TYPE_VALUE_BOX , CALL_ENV_PARSE_TYPE_VOID } |
What type of structure is produced by the parsing phase. More... | |
enum | call_env_result_t { CALL_ENV_SUCCESS = 0 , CALL_ENV_MISSING = -1 , CALL_ENV_INVALID = -2 } |
enum | call_env_result_type_t { CALL_ENV_RESULT_TYPE_VALUE_BOX = 1 , CALL_ENV_RESULT_TYPE_VALUE_BOX_LIST } |
What type of structure is produced by the evaluation phase. More... | |
Expand a call_env_t | |
unlang_action_t | call_env_expand (TALLOC_CTX *ctx, request_t *request, call_env_result_t *result, void **env_data, call_env_t const *call_env) |
Initialise the expansion of a call environment. | |
Functions that implement standard parsing behaviour which can be called by callbacks | |
int | call_env_parse_pair (TALLOC_CTX *ctx, void *out, tmpl_rules_t const *t_rules, CONF_ITEM *ci, call_env_ctx_t const *cec, call_env_parser_t const *rule) |
Functions to be used by the section callbacks to add parsed data. | |
call_env_parsed_t * | call_env_parsed_add (TALLOC_CTX *ctx, call_env_parsed_head_t *head, call_env_parser_t const *rule) |
Allocate a new call_env_parsed_t structure and add it to the list of parsed call envs. | |
void | call_env_parsed_free (call_env_parsed_head_t *parsed, call_env_parsed_t *ptr) |
Remove a call_env_parsed_t from the list of parsed call envs. | |
void | call_env_parsed_set_data (call_env_parsed_t *parsed, void const *data) |
Assign data to a call_env_parsed_t. | |
void | call_env_parsed_set_multi_index (call_env_parsed_t *parsed, size_t count, size_t index) |
Assign a count and index to a call_env_parsed_t. | |
void | call_env_parsed_set_tmpl (call_env_parsed_t *parsed, tmpl_t const *tmpl) |
Assign a tmpl to a call_env_parsed_t. | |
void | call_env_parsed_set_value (call_env_parsed_t *parsed, fr_value_box_t const *vb) |
Assign a value box to a call_env_parsed_t. | |
Allocate a new call env | |
call_env_t * | call_env_alloc (TALLOC_CTX *ctx, char const *name, call_env_method_t const *call_env_method, tmpl_rules_t const *rules, CONF_SECTION *cs, call_env_ctx_t const *cec)) |
Given a call_env_method, parse all call_env_pair_t in the context of a specific call to an xlat or module method. | |
Structures and functions for handling call environments.
Definition in file call_env.h.
struct call_env_ctx_s |
Definition at line 221 of file call_env.h.
Data Fields | ||
---|---|---|
section_name_t const * | asked | The actual name1/name2 that resolved to a module_method_binding_t. |
module_instance_t const * | mi |
Module instance that the callenv is registered to. Available for both module methods, and xlats. |
call_env_ctx_type_t | type | Type of callenv ctx. |
struct call_env_method_s |
Definition at line 239 of file call_env.h.
Data Fields | ||
---|---|---|
call_env_parser_t const * | env | Parsing rules for call method env. |
size_t | inst_size | Size of per call env. |
char const * | inst_type | Type of per call env. |
struct call_env_parser_s |
Per method call config.
Similar to a conf_parser_t used to hold details of conf pairs which are evaluated per call for each module method / xlat.
This allows the conf pairs to be evaluated within the appropriate context and use the appropriate dictionaries for where the module is in use.
Definition at line 175 of file call_env.h.
Data Fields | ||
---|---|---|
union call_env_parser_s.__unnamed94__ | __unnamed__ | |
call_env_flags_t | flags | Flags controlling parser behaviour. |
char const * | name | Of conf pair to pass to tmpl_tokenizer. |
void const * | uctx | User context for callback functions. |
union call_env_parser_s.__unnamed94__ |
Definition at line 179 of file call_env.h.
Data Fields | ||
---|---|---|
struct call_env_parser_s.__unnamed94__.pair | pair | |
struct call_env_parser_s.__unnamed94__.section | section |
struct call_env_parser_s.__unnamed94__.pair |
Definition at line 180 of file call_env.h.
Data Fields | ||
---|---|---|
fr_type_t | cast_type | To cast boxes to. Also contains flags controlling parser behaviour. |
char const * | dflt | Default string to pass to the tmpl_tokenizer if no CONF_PAIR found. |
fr_token_t | dflt_quote | Quoting for the default string. |
tmpl_escape_t | escape | Escape method to use when evaluating tmpl_t. |
call_env_parse_pair_t | func | Callback for parsing a CONF_PAIR. |
fr_value_box_safe_for_t | literals_safe_for | What safe_for value to assign any literals that are arguments to the tmpl_t. |
size_t | offset | Where to write the result of evaluating the tmpl_t produced in the parsing phase. |
struct call_env_parser_s.__unnamed94__.pair.parsed | parsed | |
size_t | size | Size of structure boxes will be written to. |
call_env_result_type_t | type | Type of structure boxes will be written to. |
char const * | type_name | Name of structure type boxes will be written to. |
struct call_env_parser_s.__unnamed94__.pair.parsed |
Definition at line 193 of file call_env.h.
Data Fields | ||
---|---|---|
ssize_t | offset |
Where to write the result of the parsing phase. This is usually a tmpl_t, but could be other things when a callback function is used to parse the CONF_SECTION or CONF_PAIR. |
call_env_parse_type_t | type | What type of output the parsing phase is expected to produce. |
struct call_env_parser_s.__unnamed94__.section |
Definition at line 205 of file call_env.h.
Data Fields | ||
---|---|---|
call_env_parse_section_t | func | Callback for parsing CONF_SECTION. |
char const * | name2 | Second identifier for a section. |
call_env_parser_t const * | subcs | Nested definitions for subsection. |
struct call_env_s |
Structure containing both a talloc pool, a list of parsed call_env_pairs.
Definition at line 247 of file call_env.h.
Data Fields | ||
---|---|---|
call_env_method_t const * | method | The method this call env is for. |
call_env_parsed_head_t | parsed | The per call parsed call environment. |
#define call_env_attribute | ( | _flags | ) | ((_flags) & CALL_ENV_FLAG_ATTRIBUTE) |
Definition at line 125 of file call_env.h.
#define call_env_concat | ( | _flags | ) | ((_flags) & CALL_ENV_FLAG_CONCAT) |
Definition at line 113 of file call_env.h.
#define CALL_ENV_FLAGS | ( | _cast_type, | |
_flags, | |||
_struct, | |||
_field | |||
) |
Definition at line 321 of file call_env.h.
#define call_env_force_quote | ( | _flags | ) | ((_flags) & CALL_ENV_FLAG_FORCE_QUOTE) |
Definition at line 121 of file call_env.h.
#define call_env_is_subsection | ( | _flags | ) | ((_flags) & CALL_ENV_FLAG_SUBSECTION) |
Definition at line 127 of file call_env.h.
#define call_env_multi | ( | _flags | ) | ((_flags) & CALL_ENV_FLAG_MULTI) |
Definition at line 117 of file call_env.h.
#define call_env_nullable | ( | _flags | ) | ((_flags) & CALL_ENV_FLAG_NULLABLE) |
Definition at line 119 of file call_env.h.
#define call_env_pair_flags | ( | _flags | ) | (((_flags) & (CALL_ENV_FLAG_SUBSECTION)) == 0) |
Evaluates to true if flags are valid for a pair.
[in] | _flags | to evaluate |
Definition at line 103 of file call_env.h.
#define call_env_parse_missing | ( | _flags | ) | ((_flags) & CALL_ENV_FLAG_PARSE_MISSING) |
Definition at line 129 of file call_env.h.
#define call_env_parse_only | ( | _flags | ) | ((_flags) & CALL_ENV_FLAG_PARSE_ONLY) |
Definition at line 123 of file call_env.h.
#define CALL_ENV_PARSE_TYPE | ( | _s, | |
_f | |||
) |
Where we're specifying a parsing phase output field, determine its type.
Definition at line 254 of file call_env.h.
#define call_env_required | ( | _flags | ) | ((_flags) & CALL_ENV_FLAG_REQUIRED) |
Definition at line 111 of file call_env.h.
#define call_env_secret | ( | _flags | ) | ((_flags) & CALL_ENV_FLAG_SECRET) |
Definition at line 131 of file call_env.h.
#define call_env_single | ( | _flags | ) | ((_flags) & CALL_ENV_FLAG_SINGLE) |
Definition at line 115 of file call_env.h.
#define call_env_subsection_flags | ( | _flags | ) | (((_flags) & (CALL_ENV_FLAG_CONCAT | CALL_ENV_FLAG_SINGLE | CALL_ENV_FLAG_MULTI | CALL_ENV_FLAG_NULLABLE | CALL_ENV_FLAG_FORCE_QUOTE | CALL_ENV_FLAG_ATTRIBUTE | CALL_ENV_FLAG_PARSE_MISSING)) == 0) |
Evaluates to true if flags are valid for a subsection.
[in] | _flags | to evaluate |
Definition at line 109 of file call_env.h.
#define CALL_ENV_TERMINATOR { NULL } |
Definition at line 231 of file call_env.h.
#define FR_CALL_ENV_CONCAT | ( | _c, | |
_ct | |||
) |
Only FR_TYPE_STRING and FR_TYPE_OCTETS can be concatenated.
Definition at line 286 of file call_env.h.
#define FR_CALL_ENV_DST_SIZE | ( | _s, | |
_f | |||
) |
Definition at line 301 of file call_env.h.
#define FR_CALL_ENV_DST_TYPE | ( | _s, | |
_f | |||
) |
Mapping from field types to destination type enum.
Definition at line 293 of file call_env.h.
#define FR_CALL_ENV_METHOD_OUT | ( | _inst | ) |
Helper macro for populating the size/type fields of a call_env_method_t from the output structure type.
Definition at line 235 of file call_env.h.
#define FR_CALL_ENV_MULTI | ( | _s, | |
_f | |||
) |
Derive whether multi conf pairs are allowed from target field type.
Definition at line 276 of file call_env.h.
#define FR_CALL_ENV_OFFSET | ( | _name, | |
_cast_type, | |||
_flags, | |||
_struct, | |||
_field | |||
) |
Specify a call_env_parser_t which writes out runtime results to the specified field.
[in] | _name | of the conf pair to parse. |
[in] | _cast_type | Cast any value boxes produced to this type. |
[in] | _flags | controlling parser behaviour. |
[in] | _struct | which contains the field to write the result of the evaluation phase to. |
[in] | _field | where to write the result. |
Definition at line 335 of file call_env.h.
#define FR_CALL_ENV_PARSE_OFFSET | ( | _name, | |
_cast_type, | |||
_flags, | |||
_struct, | |||
_field, | |||
_parse_field | |||
) |
Specify a call_env_parser_t which writes out runtime results and the result of the parsing phase to the fields specified.
[in] | _name | of the conf pair to parse. |
[in] | _cast_type | Cast any value boxes produced to this type. |
[in] | _flags | controlling parser behaviour. |
[in] | _struct | which contains the field to write the result of the evaluation phase to. |
[in] | _field | where to write the result. |
[in] | _parse_field | where to write the result of the parsing phase. This must be a field in the specified _struct. |
Definition at line 360 of file call_env.h.
#define FR_CALL_ENV_PARSE_ONLY_OFFSET | ( | _name, | |
_cast_type, | |||
_flags, | |||
_struct, | |||
_parse_field | |||
) |
Specify a call_env_parser_t which writes out the result of the parsing phase to the field specified.
[in] | _name | of the conf pair to parse. |
[in] | _cast_type | Sets the cast used by the tmpl. |
[in] | _flags | controlling parser behaviour. |
[in] | _struct | which contains the field to write the result of the evaluation phase to. |
[in] | _parse_field | where to write the result of the parsing phase. This must be a field in the specified _struct. |
Definition at line 384 of file call_env.h.
#define FR_CALL_ENV_RESULT_TYPE_NAME | ( | _s, | |
_f | |||
) |
Definition at line 310 of file call_env.h.
#define FR_CALL_ENV_SINGLE | ( | _s, | |
_f, | |||
_c | |||
) |
Derive whether tmpl can only emit a single box.
Definition at line 265 of file call_env.h.
#define FR_CALL_ENV_SUBSECTION | ( | _name, | |
_name2, | |||
_flags, | |||
_subcs | |||
) |
Specify a call_env_parser_t which defines a nested subsection.
Definition at line 397 of file call_env.h.
#define FR_CALL_ENV_SUBSECTION_FUNC | ( | _name, | |
_name2, | |||
_flags, | |||
_func | |||
) |
Specify a call_env_parser_t which parses a subsection using a callback function.
Definition at line 407 of file call_env.h.
typedef void _mismatch_flags |
Dummy type used to indicate bad flags.
Definition at line 319 of file call_env.h.
typedef struct call_env_ctx_s call_env_ctx_t |
Definition at line 37 of file call_env.h.
typedef struct call_env_method_s call_env_method_t |
Definition at line 36 of file call_env.h.
typedef int(* call_env_parse_pair_t) (TALLOC_CTX *ctx, void *out, tmpl_rules_t const *t_rules, CONF_ITEM *ci, call_env_ctx_t const *cec, call_env_parser_t const *rule) |
Callback for performing custom parsing of a CONF_PAIR.
[in] | ctx | to allocate any data in. |
[out] | out | Where to write the result of parsing. |
[in] | t_rules | we're parsing attributes with. Contains the default dictionary and nested 'caller' tmpl_rules_t. |
[in] | ci | The CONF_SECTION or CONF_PAIR to parse. |
[in] | cec | information about how the call env is being used. |
[in] | rule | Parse rules - How the CONF_PAIR or CONF_SECTION should be converted. |
Definition at line 146 of file call_env.h.
typedef int(* call_env_parse_section_t) (TALLOC_CTX *ctx, call_env_parsed_head_t *out, tmpl_rules_t const *t_rules, CONF_ITEM *ci, call_env_ctx_t const *cec, call_env_parser_t const *rule) |
Callback for performing custom parsing of a CONF_SECTION.
The callback function is expected to call call_env_parsed_add to allocate a new call_env_parsed_t, and either call_env_parsed_set_tmpl, or call_env_parsed_set_data to populate the call env_parsed_t structure.
[in] | ctx | to allocate any data in. |
[out] | out | Where to write the result of parsing. |
[in] | t_rules | we're parsing attributes with. Contains the default dictionary and nested 'caller' tmpl_rules_t. |
[in] | ci | The CONF_SECTION or CONF_PAIR to parse. |
[in] | cec | information about how the call env is being used. |
[in] | rule | Parse rules - How the CONF_PAIR or CONF_SECTION should be converted. |
Definition at line 164 of file call_env.h.
typedef struct call_env_parsed_s call_env_parsed_t |
Definition at line 35 of file call_env.h.
typedef struct call_env_parser_s call_env_parser_t |
Definition at line 34 of file call_env.h.
typedef struct call_env_s call_env_t |
Definition at line 38 of file call_env.h.
enum call_env_ctx_type_t |
Enumerator | |
---|---|
CALL_ENV_CTX_TYPE_MODULE | The callenv is registered to a module method. |
CALL_ENV_CTX_TYPE_XLAT | The callenv is registered to an xlat. |
Definition at line 216 of file call_env.h.
enum call_env_flags_t |
Definition at line 73 of file call_env.h.
What type of structure is produced by the parsing phase.
Enumerator | |
---|---|
CALL_ENV_PARSE_TYPE_TMPL | Output of the parsing phase is a tmpl_t. |
CALL_ENV_PARSE_TYPE_VALUE_BOX | Output of the parsing phase is a single value box (static data). |
CALL_ENV_PARSE_TYPE_VOID | Output of the parsing phase is undefined (a custom structure). |
Definition at line 59 of file call_env.h.
enum call_env_result_t |
Enumerator | |
---|---|
CALL_ENV_SUCCESS | |
CALL_ENV_MISSING | |
CALL_ENV_INVALID |
Definition at line 51 of file call_env.h.
What type of structure is produced by the evaluation phase.
Enumerator | |
---|---|
CALL_ENV_RESULT_TYPE_VALUE_BOX | Output of the evaluation phase is a single value box. |
CALL_ENV_RESULT_TYPE_VALUE_BOX_LIST | Output of the evaluation phase is a list of value boxes. |
Definition at line 67 of file call_env.h.
call_env_t * call_env_alloc | ( | TALLOC_CTX * | ctx, |
char const * | name, | ||
call_env_method_t const * | call_env_method, | ||
tmpl_rules_t const * | t_rules, | ||
CONF_SECTION * | cs, | ||
call_env_ctx_t const * | cec | ||
) |
Given a call_env_method, parse all call_env_pair_t in the context of a specific call to an xlat or module method.
[in] | ctx | to allocate the call_env_t in. |
[in] | name | Module name for error messages. |
[in] | call_env_method | containing the call_env_pair_t to evaluate against the specified CONF_SECTION. |
[in] | t_rules | that control how call_env_pair_t are parsed. |
[in] | cs | to parse in the context of the call. |
[in] | cec | information about how the call is being made. |
Definition at line 736 of file call_env.c.
unlang_action_t call_env_expand | ( | TALLOC_CTX * | ctx, |
request_t * | request, | ||
call_env_result_t * | env_result, | ||
void ** | env_data, | ||
call_env_t const * | call_env | ||
) |
Initialise the expansion of a call environment.
[in] | ctx | in which to allocate destination structure for resulting value boxes. |
[in] | request | Current request. |
[out] | env_result | Where to write the result of the callenv expansion. May be NULL |
[in,out] | env_data | Where the destination structure should be created. |
[in] | call_env | Call environment being expanded. |
Definition at line 295 of file call_env.c.
int call_env_parse_pair | ( | TALLOC_CTX * | ctx, |
void * | out, | ||
tmpl_rules_t const * | t_rules, | ||
CONF_ITEM * | ci, | ||
call_env_ctx_t const * | cec, | ||
call_env_parser_t const * | rule | ||
) |
call_env_parsed_t * call_env_parsed_add | ( | TALLOC_CTX * | ctx, |
call_env_parsed_head_t * | head, | ||
call_env_parser_t const * | rule | ||
) |
Allocate a new call_env_parsed_t structure and add it to the list of parsed call envs.
[in] | ctx | to allocate the new call_env_parsed_t in. |
[out] | head | to add the new call_env_parsed_t to. |
[in] | rule | to base call_env_parsed_t around. MUST NOT BE THE RULE PASSED TO THE CALLBACK. The rule passed to the callback describes how to parse a subsection, but the subsection callback is adding rules describing how to parse its children. |
Definition at line 631 of file call_env.c.
void call_env_parsed_free | ( | call_env_parsed_head_t * | parsed, |
call_env_parsed_t * | ptr | ||
) |
Remove a call_env_parsed_t from the list of parsed call envs.
[in] | parsed | to remove parsed data from. |
[in] | ptr | to remove. |
Definition at line 718 of file call_env.c.
void call_env_parsed_set_data | ( | call_env_parsed_t * | parsed, |
void const * | data | ||
) |
Assign data to a call_env_parsed_t.
[in] | parsed | to assign the tmpl to. |
[in] | data | to assign. |
Definition at line 688 of file call_env.c.
void call_env_parsed_set_multi_index | ( | call_env_parsed_t * | parsed, |
size_t | count, | ||
size_t | index | ||
) |
Assign a count and index to a call_env_parsed_t.
[in] | parsed | to modify metadata of. |
[in] | count | to assign. |
[in] | index | to assign. |
Definition at line 703 of file call_env.c.
void call_env_parsed_set_tmpl | ( | call_env_parsed_t * | parsed, |
tmpl_t const * | tmpl | ||
) |
Assign a tmpl to a call_env_parsed_t.
[in] | parsed | to assign the tmpl to. |
[in] | tmpl | to assign. |
Definition at line 660 of file call_env.c.
void call_env_parsed_set_value | ( | call_env_parsed_t * | parsed, |
fr_value_box_t const * | vb | ||
) |
Assign a value box to a call_env_parsed_t.
[in] | parsed | to assign the tmpl to. |
[in] | vb | to assign. |
Definition at line 674 of file call_env.c.