55 #include <sys/resource.h>
56 #include <sys/types.h>
75 #define UNUSED __attribute__((unused))
#define AMXC_VAR_ID_HTABLE
Ambiorix Hash Table variant id.
#define GETP_ARG(a, p)
Convenience macro for getting variant out of a composite variant by path.
#define amxc_var_add_key(type, var, key, data)
Convenience macro for adding a variant to composite variant type.
int amxc_var_set_type(amxc_var_t *const var, const uint32_t type)
Change the variant data type.
int amxc_var_new(amxc_var_t **var)
Allocates a variant and initializes it to the null variant type.
void amxc_var_delete(amxc_var_t **var)
Frees the previously allocated variant.
The hash table structure.
The variant struct definition.
static amxc_var_t * lastname
int test_var_path_teardown(__attribute__((unused)) void **state)
int test_var_path_setup(__attribute__((unused)) void **state)
static amxc_var_t * contact
static amxc_var_t * device
static amxc_var_t * phonebook
void test_get_var_path_ignores_empty_parts(__attribute__((unused)) void **state)