|
sl_status_t | datastore_table_init () |
| Generic datastore table initialization. More...
|
|
static sl_status_t | datastore_fetch_internal (const datastore_key_t key, void *value, unsigned int *size, datastore_value_type_t value_type) |
| Fetch from the datastore. More...
|
|
static sl_status_t | datastore_store_internal (const datastore_key_t key, const void *value, unsigned int size, datastore_value_type_t value_type) |
| Internal function to handle storing to the datastore. More...
|
|
static bool | datastore_contains_internal (const char *table, const datastore_key_t key) |
| Test if a table contains a key. More...
|
|
sl_status_t | datastore_start_transaction () |
| start a datastore transaction More...
|
|
sl_status_t | datastore_commit_transaction () |
| commit an open transaction More...
|
|
sl_status_t | datastore_store_int (const datastore_key_t key, int64_t value) |
| Store integer in the persistent datastore. More...
|
|
sl_status_t | datastore_fetch_int (const datastore_key_t key, int64_t *value) |
| Fetch integer from the persistent datastore. More...
|
|
sl_status_t | datastore_store_arr (const datastore_key_t key, const uint8_t *value, unsigned int size) |
| Store array in the persistent datastore. More...
|
|
sl_status_t | datastore_fetch_arr (const datastore_key_t key, uint8_t *value, unsigned int *size) |
| Fetch array from the persistent datastore. More...
|
|
bool | datastore_contains_int (const datastore_key_t key) |
| Check if the datastore contains an int value for given key. More...
|
|
bool | datastore_contains_arr (const datastore_key_t key) |
| Check if the datastore contains an array value for given key. More...
|
|
bool | datastore_is_initialized () |
| Checks if the datastore is initialized and can be used. More...
|
|