aboutsummaryrefslogtreecommitdiff
path: root/lib/database-private.h
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2020-08-08 11:16:44 -0300
committerDavid Bremner <david@tethera.net>2020-12-23 09:21:17 -0400
commit3b4097824159c6fdebb8a88b5447beb9a6226ea3 (patch)
tree85ba8d22cf9ec9f0e87fef02e9ee4a8e290f996f /lib/database-private.h
parente34e2a68b62b50cc40e695d1a2690a7de382bba6 (diff)
lib: factor out prefix related code to its own file
Reduce the size of database.cc, and limit the scope of prefix_table, make sure it's accessed via a well-defined internal API.
Diffstat (limited to 'lib/database-private.h')
-rw-r--r--lib/database-private.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/database-private.h b/lib/database-private.h
index 2d220811..c9bc712b 100644
--- a/lib/database-private.h
+++ b/lib/database-private.h
@@ -277,4 +277,11 @@ _notmuch_database_parse_features (const void *ctx, const char *features, unsigne
char *
_notmuch_database_print_features (const void *ctx, unsigned int features);
+/* prefix.cc */
+notmuch_status_t
+_notmuch_database_setup_standard_query_fields (notmuch_database_t *notmuch);
+
+notmuch_status_t
+_notmuch_database_setup_user_query_fields (notmuch_database_t *notmuch);
+
#endif