]> git.notmuchmail.org Git - notmuch/commit
lib/config: add config_pairs iterators
authorDavid Bremner <david@tethera.net>
Sun, 14 Feb 2021 11:42:58 +0000 (07:42 -0400)
committerDavid Bremner <david@tethera.net>
Sat, 27 Mar 2021 12:26:14 +0000 (09:26 -0300)
commit863b2431853385441f9fcbc22b9ff4e963091440
treee60b79960662ee4fa5fea667034670af259f31d4
parent0c6db22930b58fcea972e71b45f7ea0e6055ed20
lib/config: add config_pairs iterators

The layer of shims here seems a bit wasteful compared to just calling
the corresponding string map functions directly, but it allows control
over the API (calling with notmuch_database_t *) and flexibility for
future changes.
lib/config.cc
lib/notmuch.h
test/T590-libconfig.sh