#include <sys/time.h>
#include <sys/resource.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <inttypes.h>
#include <limits.h>
#include <unistd.h>
#include <fcntl.h>
#include <cmocka.h>
#include <amxc/amxc.h>
#include "test_issue_58.h"
Go to the source code of this file.
|
#define | UNUSED __attribute__((unused)) |
|
◆ UNUSED
#define UNUSED __attribute__((unused)) |
◆ test_get_var_path_ignores_empty_parts()
void test_get_var_path_ignores_empty_parts |
( |
__attribute__((unused)) void ** |
state | ) |
|
Definition at line 101 of file test_issue_58.c.
#define GETP_ARG(a, p)
Convenience macro for getting variant out of a composite variant by path.
static amxc_var_t * device
static amxc_var_t * phonebook
◆ test_var_path_setup()
int test_var_path_setup |
( |
__attribute__((unused)) void ** |
state | ) |
|
Definition at line 85 of file test_issue_58.c.
#define AMXC_VAR_ID_HTABLE
Ambiorix Hash Table variant id.
#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.
The hash table structure.
static amxc_var_t * lastname
static amxc_var_t * contact
◆ test_var_path_teardown()
int test_var_path_teardown |
( |
__attribute__((unused)) void ** |
state | ) |
|
Definition at line 96 of file test_issue_58.c.
void amxc_var_delete(amxc_var_t **var)
Frees the previously allocated variant.
◆ contact
◆ device
◆ lastname
◆ phonebook
◆ star
◆ var