]> git.notmuchmail.org Git - notmuch/commit - lib/notmuch-private.h
lib/config: add _notmuch_config_cache
authorDavid Bremner <david@tethera.net>
Thu, 24 Dec 2020 03:35:42 +0000 (23:35 -0400)
committerDavid Bremner <david@tethera.net>
Sat, 6 Feb 2021 23:32:29 +0000 (19:32 -0400)
commit87e3a82feb3932fea2c2b160c73d210dcd48a78c
tree6d3d69e3816cc5cf4b16b96444fcba7e64cf06a0
parentc56dcea7e2da91ada6b6aa737ec115ef4bc91ba6
lib/config: add _notmuch_config_cache

This is a simple convenience routine to cache a configuration value
without writing it to the database.
lib/config.cc
lib/notmuch-private.h