CBOR encoder and decoder.
More...
#include <freeradius-devel/util/dbuff.h>
#include <freeradius-devel/util/pair.h>
Go to the source code of this file.
|
ssize_t | fr_cbor_decode_pair (TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dbuff_t *dbuff, fr_dict_attr_t const *parent, bool tainted) |
|
ssize_t | fr_cbor_decode_value_box (TALLOC_CTX *ctx, fr_value_box_t *vb, fr_dbuff_t *dbuff, fr_type_t hint, fr_dict_attr_t const *enumv, bool tainted)) |
|
ssize_t | fr_cbor_encode_pair (fr_dbuff_t *dbuff, fr_pair_t *vp) |
| Encode a pair. More...
|
|
ssize_t | fr_cbor_encode_value_box (fr_dbuff_t *dbuff, fr_value_box_t *vb) |
| Encode CBOR. More...
|
|
CBOR encoder and decoder.
- Copyright
- 2024 Network RADIUS SAS (legal.nosp@m.@net.nosp@m.workr.nosp@m.adiu.nosp@m.s.com)
Definition in file cbor.h.
◆ fr_cbor_decode_pair()
◆ fr_cbor_decode_value_box()
◆ fr_cbor_encode_pair()
Encode a pair.
Definition at line 1436 of file cbor.c.
◆ fr_cbor_encode_value_box()
Encode CBOR.
Values 0..23 can be encoded in place. Other values can be encoded using the closest smallest integer
Definition at line 166 of file cbor.c.