The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Protocol agnostic encode/decoders. More...
#include <freeradius-devel/unlang/xlat_priv.h>
Go to the source code of this file.
Functions | |
static ssize_t | fr_pair_decode_multi (TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dict_attr_t const *parent, uint8_t const *data, size_t data_len, void *decode_ctx, fr_pair_decode_t decode) |
Keep decoding pairs until all of the data has been used. More... | |
int | xlat_decode_value_box_list (TALLOC_CTX *ctx, fr_pair_list_t *out, request_t *request, void *decode_ctx, fr_pair_decode_t decode, fr_value_box_list_t *in) |
Decode all of the value boxes into the output cursor. More... | |
Protocol agnostic encode/decoders.
Definition in file xlat_pair.c.
|
static |
Keep decoding pairs until all of the data has been used.
[in] | ctx | to allocate new pairs in. |
[in] | out | the cursor to update |
[in] | parent | to use as the root |
[in] | data | to decode. |
[in] | data_len | The length of the incoming data. |
[in] | decode_ctx | Any decode specific data such as secrets or configurable. |
[in] | decode | the function used to decode one specific pair. |
Definition at line 42 of file xlat_pair.c.
int xlat_decode_value_box_list | ( | TALLOC_CTX * | ctx, |
fr_pair_list_t * | out, | ||
request_t * | request, | ||
void * | decode_ctx, | ||
fr_pair_decode_t | decode, | ||
fr_value_box_list_t * | in | ||
) |
Decode all of the value boxes into the output cursor.
[in] | ctx | to allocate new pairs in. |
[in] | out | the cursor to update |
[in] | request | the request |
[in] | decode_ctx | Any decode specific data such as secrets or configurable. |
[in] | decode | the function used to decode one specific pair. |
[in] | in | the list of value boxes to decode |
Definition at line 90 of file xlat_pair.c.