The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Functions | Variables
base.c File Reference
#include <freeradius-devel/util/cbor.h>
#include <freeradius-devel/io/test_point.h>
+ Include dependency graph for base.c:

Go to the source code of this file.

Functions

static ssize_t decode_pair (TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dict_attr_t const *parent, uint8_t const *data, size_t data_len, UNUSED void *decode_ctx)
 
static ssize_t encode_pair (fr_dbuff_t *dbuff, fr_dcursor_t *cursor, UNUSED void *encode_ctx)
 

Variables

fr_test_point_pair_decode_t cbor_tp_decode_pair
 
fr_test_point_pair_encode_t cbor_tp_encode_pair
 

Function Documentation

◆ decode_pair()

static ssize_t decode_pair ( TALLOC_CTX *  ctx,
fr_pair_list_t out,
fr_dict_attr_t const *  parent,
uint8_t const *  data,
size_t  data_len,
UNUSED void *  decode_ctx 
)
static

Definition at line 4 of file base.c.

+ Here is the call graph for this function:

◆ encode_pair()

static ssize_t encode_pair ( fr_dbuff_t dbuff,
fr_dcursor_t cursor,
UNUSED void *  encode_ctx 
)
static

Definition at line 39 of file base.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ cbor_tp_decode_pair

fr_test_point_pair_decode_t cbor_tp_decode_pair
Initial value:
= {
.func = decode_pair
}
static ssize_t decode_pair(TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dict_attr_t const *parent, uint8_t const *data, size_t data_len, UNUSED void *decode_ctx)
Definition: base.c:4

Definition at line 69 of file base.c.

◆ cbor_tp_encode_pair

fr_test_point_pair_encode_t cbor_tp_encode_pair
Initial value:
= {
.func = encode_pair,
}
static ssize_t encode_pair(fr_dbuff_t *dbuff, fr_dcursor_t *cursor, UNUSED void *encode_ctx)
Definition: base.c:39

Definition at line 64 of file base.c.