The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Functions
struct.h File Reference

Boxed value structures and functions to manipulate them. More...

#include <freeradius-devel/util/dcursor.h>
#include <freeradius-devel/util/pair.h>
#include <freeradius-devel/util/value.h>
#include <freeradius-devel/util/proto.h>
#include <freeradius-devel/util/decode.h>
#include <freeradius-devel/util/encode.h>
+ Include dependency graph for struct.h:

Go to the source code of this file.

Functions

ssize_t fr_struct_from_network (TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dict_attr_t const *parent, uint8_t const *data, size_t data_len, bool nested, void *decode_ctx, fr_pair_decode_value_t decode_value, fr_pair_decode_value_t decode_tlv))
 Convert a STRUCT to one or more VPs. More...
 
ssize_t fr_struct_to_network (fr_dbuff_t *dbuff, fr_da_stack_t *da_stack, unsigned int depth, fr_dcursor_t *cursor, void *encode_ctx, fr_encode_dbuff_t encode_value, fr_encode_dbuff_t encode_pair))
 

Detailed Description

Boxed value structures and functions to manipulate them.

Definition in file struct.h.

Function Documentation

◆ fr_struct_from_network()

ssize_t fr_struct_from_network ( TALLOC_CTX *  ctx,
fr_pair_list_t out,
fr_dict_attr_t const *  parent,
uint8_t const *  data,
size_t  data_len,
bool  nested,
void *  decode_ctx,
fr_pair_decode_value_t  decode_value,
fr_pair_decode_value_t  decode_tlv 
)

Convert a STRUCT to one or more VPs.

Definition at line 33 of file struct.c.

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

◆ fr_struct_to_network()

ssize_t fr_struct_to_network ( fr_dbuff_t dbuff,
fr_da_stack_t da_stack,
unsigned int  depth,
fr_dcursor_t cursor,
void *  encode_ctx,
fr_encode_dbuff_t  encode_value,
fr_encode_dbuff_t  encode_pair 
)

Definition at line 478 of file struct.c.

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