diff options
| author | David Bremner <david@tethera.net> | 2020-12-23 23:35:42 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-02-06 19:32:29 -0400 |
| commit | 87e3a82feb3932fea2c2b160c73d210dcd48a78c (patch) | |
| tree | 6d3d69e3816cc5cf4b16b96444fcba7e64cf06a0 /lib/notmuch-private.h | |
| parent | c56dcea7e2da91ada6b6aa737ec115ef4bc91ba6 (diff) | |
lib/config: add _notmuch_config_cache
This is a simple convenience routine to cache a configuration value
without writing it to the database.
Diffstat (limited to 'lib/notmuch-private.h')
| -rw-r--r-- | lib/notmuch-private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h index 961d50cf..5e0b42e3 100644 --- a/lib/notmuch-private.h +++ b/lib/notmuch-private.h @@ -713,6 +713,10 @@ _notmuch_config_load_from_file (notmuch_database_t * db, GKeyFile *file); notmuch_status_t _notmuch_config_load_defaults (notmuch_database_t * db); + +void +_notmuch_config_cache (notmuch_database_t *db, notmuch_config_key_t key, const char* val); + NOTMUCH_END_DECLS #ifdef __cplusplus |
