X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fdatabase-private.h;h=d83cf0d0ae0bc674cd341703d004082d6504dcce;hb=e5f3c3ed50247323ecbd2a50e3b24a8352d17f8d;hp=2d220811c4a092930ed575bb60ae3121df5b50bf;hpb=e34e2a68b62b50cc40e695d1a2690a7de382bba6;p=notmuch diff --git a/lib/database-private.h b/lib/database-private.h index 2d220811..d83cf0d0 100644 --- a/lib/database-private.h +++ b/lib/database-private.h @@ -228,6 +228,9 @@ struct _notmuch_database { * here, but at least they are small */ notmuch_string_map_t *user_prefix; notmuch_string_map_t *user_header; + + /* Cached and possibly overridden configuration */ + notmuch_string_map_t *config; }; /* Prior to database version 3, features were implied by the database @@ -277,4 +280,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