aboutsummaryrefslogtreecommitdiff
path: root/lib/notmuch.h
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2014-12-26 09:01:01 +0100
committerDavid Bremner <david@tethera.net>2015-03-29 00:34:15 +0100
commitb53e1a2da720e9a0efd815b92f0a54dc2f644ffc (patch)
tree97aae74e52980f23b1bacd67cd9611af9b3d2621 /lib/notmuch.h
parent84d3b15d251623cbb66e5eca7ddb8d61aa596d33 (diff)
lib: add a log function with output to a string in notmuch_database_t
In principle in the future this could do something fancier than asprintf.
Diffstat (limited to 'lib/notmuch.h')
-rw-r--r--lib/notmuch.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/notmuch.h b/lib/notmuch.h
index c671d822..20c4e019 100644
--- a/lib/notmuch.h
+++ b/lib/notmuch.h
@@ -302,6 +302,13 @@ notmuch_database_open_verbose (const char *path,
char **error_message);
/**
+ * Retrieve last status string for given database.
+ *
+ */
+const char *
+notmuch_database_status_string (notmuch_database_t *notmuch);
+
+/**
* Commit changes and close the given notmuch database.
*
* After notmuch_database_close has been called, calls to other