]> git.notmuchmail.org Git - notmuch/commitdiff
CLI: stash pointer to database in sprinter structs
authorDavid Bremner <david@tethera.net>
Sat, 1 Jan 2022 12:01:34 +0000 (08:01 -0400)
committerDavid Bremner <david@tethera.net>
Tue, 18 Jan 2022 12:08:22 +0000 (08:08 -0400)
We already use an allocated (and presumably open) database as a talloc
context. Keeping the pointer in the allocated struct will allow us to
e.g. interrogate the configuration in a sprinter function without
threading the database all the way through the various levels of function.


No differences found