cli: config: keep track of whether the config is newly created
authorJani Nikula <jani@nikula.org>
Sun, 3 Mar 2013 21:55:07 +0000 (23:55 +0200)
committerDavid Bremner <bremner@debian.org>
Thu, 7 Mar 2013 13:39:05 +0000 (09:39 -0400)
commitca3a4fc02287f65c3587908012d36e68df0200b1
tree1c4010b80d8f4906c868f3035d72e1e40b47b741
parente9cffd93458ce48c4e653b5694e872b7bbc2ca00
cli: config: keep track of whether the config is newly created

Keep track of whether the config is newly created, and add
notmuch_config_is_new() accessor function to query this.

This is to support anyone with a config handle to check this, instead
of just whoever called notmuch_config_open().
notmuch-client.h
notmuch-config.c