diff options
| author | David Bremner <david@tethera.net> | 2014-12-26 09:01:01 +0100 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2015-03-29 00:34:15 +0100 |
| commit | b53e1a2da720e9a0efd815b92f0a54dc2f644ffc (patch) | |
| tree | 97aae74e52980f23b1bacd67cd9611af9b3d2621 /lib/notmuch-private.h | |
| parent | 84d3b15d251623cbb66e5eca7ddb8d61aa596d33 (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-private.h')
| -rw-r--r-- | lib/notmuch-private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h index 8a1f2fab..7cb6fd49 100644 --- a/lib/notmuch-private.h +++ b/lib/notmuch-private.h @@ -190,6 +190,10 @@ _notmuch_message_id_compressed (void *ctx, const char *message_id); notmuch_status_t _notmuch_database_ensure_writable (notmuch_database_t *notmuch); +void +_notmuch_database_log (notmuch_database_t *notmuch, + const char *format, ...); + const char * _notmuch_database_relative_path (notmuch_database_t *notmuch, const char *path); |
