]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-client.h
cli: config: keep track of whether the config is newly created
[notmuch] / notmuch-client.h
index d7b352e83446e85e97c76578e0314f139b547842..07367e014ccacda58d9cf88ae69ac611d7dc8973 100644 (file)
@@ -58,7 +58,7 @@ typedef GMimeCipherContext notmuch_crypto_context_t;
 #include <errno.h>
 #include <signal.h>
 
-#include <talloc.h>
+#include "talloc-extra.h"
 
 #define unused(x) x __attribute__ ((unused))
 
@@ -256,6 +256,9 @@ notmuch_config_close (notmuch_config_t *config);
 int
 notmuch_config_save (notmuch_config_t *config);
 
+notmuch_bool_t
+notmuch_config_is_new (notmuch_config_t *config);
+
 const char *
 notmuch_config_get_database_path (notmuch_config_t *config);