]> git.notmuchmail.org Git - notmuch/commit
lib: provide config API
authorDavid Bremner <david@tethera.net>
Tue, 22 Mar 2016 10:54:47 +0000 (07:54 -0300)
committerDavid Bremner <david@tethera.net>
Tue, 24 May 2016 11:53:03 +0000 (08:53 -0300)
commit3458e3c89c1224d3e2dff7230780589ee3ee4c70
tree91a108503088f5727c6fc85332f7a93c4927daed
parent7e6e23c36e290d4b22b0449766a6ef2107f1ef6c
lib: provide config API

This is a thin wrapper around the Xapian metadata API. The job of this
layer is to keep the config key value pairs from colliding with other
metadata by transparently prefixing the keys, along with the usual glue
to provide a C interface.

The split of _get_config into two functions is to allow returning of the
return value with different memory ownership semantics.
lib/Makefile.local
lib/config.cc [new file with mode: 0644]
lib/notmuch.h
test/T590-libconfig.sh [new file with mode: 0755]