24 RCSIDH(pair_test_h,
"$Id: b50b623db01744969a67f8fa5066df95a1a99707 $")
30 #include <freeradius-devel/util/pair.h>
31 #include <freeradius-devel/util/dict_test.h>
37 0x53, 0x65, 0x20, 0x6c, 0x6f, 0x76, 0x65,
38 0x20, 0x74, 0x65, 0x69, 0x74, 0x20, 0x41,
39 0x63, 0x61, 0x64, 0x65, 0x6d, 0x79, 0x0a
fr_dict_test_attr_t const fr_dict_test_attrs[]
fr_dict_test_attr_number_t attr
Attribute number to create.
fr_dict_attr_t const ** da
Where to write a pointer to this attribute.
Test enumeration attributes.
void fr_pair_list_init(fr_pair_list_t *list)
Initialise a pair list header.
int fr_pair_append_by_da_parent(TALLOC_CTX *ctx, fr_pair_t **out, fr_pair_list_t *list, fr_dict_attr_t const *da)
Alloc a new fr_pair_t, adding the parent attributes if required.
int fr_pair_prepend_by_da(TALLOC_CTX *ctx, fr_pair_t **out, fr_pair_list_t *list, fr_dict_attr_t const *da)
Alloc a new fr_pair_t (and prepend)
static int fr_pair_test_list_alloc_nested(TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dict_test_attr_t const *test_defs)
static uint8_t test_octets[]
static int fr_pair_test_list_alloc(TALLOC_CTX *ctx, fr_pair_list_t *out, fr_dict_test_attr_t const *test_defs)
static size_t test_string_len
static char const * test_string
#define PAIR_LIST_VERIFY(_x)
#define fr_type_is_structural(_x)
static size_t char ** out