#include <system/status_codes.h>
|
| void | prefs_db_init (void) |
| | Initialize the preferences database.
|
| |
| status_t | prefs_db_insert (const uint8_t *key, int key_len, const uint8_t *val, int val_len) |
| | Insert or replace a record in the preferences database.
|
| |
| int | prefs_db_get_len (const uint8_t *key, int key_len) |
| | Get the length of a record in the preferences database.
|
| |
| status_t | prefs_db_read (const uint8_t *key, int key_len, uint8_t *val_out, int val_out_len) |
| | Read a record from the preferences database.
|
| |
| status_t | prefs_db_delete (const uint8_t *key, int key_len) |
| | Delete a record from the preferences database.
|
| |
| status_t | prefs_db_flush (void) |
| | Delete all records of the preferences database.
|
| |