|
| status_t | app_glance_db_insert_glance (const Uuid *uuid, const AppGlance *glance) |
| | Serialize and store the glance of an app.
|
| |
| status_t | app_glance_db_read_glance (const Uuid *uuid, AppGlance *glance_out) |
| | Read and deserialize the glance of an app.
|
| |
| status_t | app_glance_db_read_creation_time (const Uuid *uuid, time_t *time_out) |
| | Read the creation time of the glance of an app.
|
| |
| status_t | app_glance_db_delete_glance (const Uuid *uuid) |
| | Delete the glance of an app.
|
| |
| void | app_glance_db_init (void) |
| | Initialize the app glance database.
|
| |
| status_t | app_glance_db_flush (void) |
| | Delete all records of the app glance database.
|
| |
| status_t | app_glance_db_compact (void) |
| | Compact the settings file backing the app glance database.
|
| |
| status_t | app_glance_db_insert (const uint8_t *key, int key_len, const uint8_t *val, int val_len) |
| | Insert or replace a record in the app glance database.
|
| |
| int | app_glance_db_get_len (const uint8_t *key, int key_len) |
| | Get the length of a record in the app glance database.
|
| |
| status_t | app_glance_db_read (const uint8_t *key, int key_len, uint8_t *val_out, int val_out_len) |
| | Read a record from the app glance database.
|
| |
| status_t | app_glance_db_delete (const uint8_t *key, int key_len) |
| | Delete a record from the app glance database.
|
| |