Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
KV store callback structure. More...
#include <kv_store.h>
Data Fields | |
void(* | value_changed )(uint16_t key, const void *data, size_t data_len, void *user_ctx) |
The value for a key has changed. | |
void * | user_ctx |
sys_snode_t | node |
KV store callback structure.
sys_snode_t kv_store_cb::node |
void* kv_store_cb::user_ctx |
void(* kv_store_cb::value_changed) (uint16_t key, const void *data, size_t data_len, void *user_ctx) |
The value for a key has changed.
This callback notifies the application that the value stored for a key has changed or been deleted.
key | Key that has changed |
data | Pointer to value, or NULL if deleted |
data_len | Length of value in bytes |
user_ctx | User context pointer |