|
| status_t | reminder_db_read_item (TimelineItem *item_out, TimelineItemId *id) |
| | Read and deserialize a reminder.
|
| |
| status_t | reminder_db_next_item_header (TimelineItem *next_item_out) |
| | Read the header of the earliest reminder that has not fired yet.
|
| |
| status_t | reminder_db_insert_item (TimelineItem *item) |
| | Serialize and insert a reminder created on the watch.
|
| |
| status_t | reminder_db_delete_item (const TimelineItemId *id, bool send_event) |
| | Delete a reminder.
|
| |
| status_t | reminder_db_delete_with_parent (const TimelineItemId *parent_id) |
| | Delete the reminders of a parent pin.
|
| |
| bool | reminder_db_is_empty (void) |
| | Check whether the reminder database is empty.
|
| |
| status_t | reminder_db_set_status_bits (const TimelineItemId *id, uint8_t status) |
| | Overwrite the status bits of a reminder.
|
| |
| bool | reminder_db_find_by_timestamp_title (time_t timestamp, const char *title, TimelineItemStorageFilterCallback filter, TimelineItem *reminder_out) |
| | Find a reminder with a given time and title.
|
| |
| void | reminder_db_init (void) |
| | Initialize the reminder database.
|
| |
| void | reminder_db_deinit (void) |
| | Close the settings file backing the reminder database.
|
| |
| status_t | reminder_db_insert (const uint8_t *key, int key_len, const uint8_t *val, int val_len) |
| | Insert or replace a record in the reminder database.
|
| |
| int | reminder_db_get_len (const uint8_t *key, int key_len) |
| | Get the length of a record in the reminder database.
|
| |
| status_t | reminder_db_read (const uint8_t *key, int key_len, uint8_t *val_out, int val_out_len) |
| | Read a record from the reminder database.
|
| |
| status_t | reminder_db_delete (const uint8_t *key, int key_len) |
| | Delete a record from the reminder database.
|
| |
| status_t | reminder_db_flush (void) |
| | Delete all records of the reminder database.
|
| |
| status_t | reminder_db_compact (void) |
| | Compact the settings file backing the reminder database.
|
| |
| status_t | reminder_db_is_dirty (bool *is_dirty_out) |
| | Check whether the reminder database holds records not yet synced to the phone.
|
| |
| BlobDBDirtyItem * | reminder_db_get_dirty_list (void) |
| | Build the list of records of the reminder database not yet synced to the phone.
|
| |
| status_t | reminder_db_mark_synced (const uint8_t *key, int key_len) |
| | Mark a record of the reminder database as synced.
|
| |