aboutsummaryrefslogtreecommitdiff
path: root/lib/notmuch-private.h
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2020-07-26 20:31:35 -0300
committerDavid Bremner <david@tethera.net>2020-07-28 08:47:58 -0300
commitd7d4c729ab3b74eaaebe64cb8c7383b0ea06cec0 (patch)
tree7edbc7c31d5eebfc33349e5edc8baf7cd4c6797f /lib/notmuch-private.h
parentc73d510f965cddf4cf45f9895c45fb818519e200 (diff)
lib: encapsulate the use of notmuch_database_t field 'mode'
The plan is to change the underlying representation.
Diffstat (limited to 'lib/notmuch-private.h')
-rw-r--r--lib/notmuch-private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/notmuch-private.h b/lib/notmuch-private.h
index 2bbbb293..57ec7f72 100644
--- a/lib/notmuch-private.h
+++ b/lib/notmuch-private.h
@@ -259,6 +259,9 @@ _notmuch_directory_find_or_create (notmuch_database_t *notmuch,
unsigned int
_notmuch_directory_get_document_id (notmuch_directory_t *directory);
+notmuch_database_mode_t
+_notmuch_database_mode (notmuch_database_t *notmuch);
+
/* message.cc */
notmuch_message_t *