ZephyrDB
Embedded database for Zephyr RTOS: KV, time-series, and document models
Loading...
Searching...
No Matches
zdb_kv_default_t Struct Reference

One entry in a key-value defaults table. More...

#include <zephyrdb.h>

Public Attributes

const char * namespace_name
const char * key
const void * value
size_t value_len

Detailed Description

One entry in a key-value defaults table.

Describes a key that should exist with a known value after zdb_init(). See zdb_cfg_t::kv_defaults.

Member Data Documentation

◆ key

const char* zdb_kv_default_t::key

Key to seed.

◆ namespace_name

const char* zdb_kv_default_t::namespace_name

Target namespace.

◆ value

const void* zdb_kv_default_t::value

Default value bytes (may be NULL when value_len is 0).

◆ value_len

size_t zdb_kv_default_t::value_len

Length of value in bytes.


The documentation for this struct was generated from the following file: