X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fdatabase-private.h;h=0d12ec1efde57b4862f1001facdbfafe3dec54cd;hb=9d6f4641d17a6100cb8d96bc1e09d3d4999c34f3;hp=c9bc712b46c1a0b51c8d93af9189111604b7dd7f;hpb=0f37509cc7e92f2c09fcd7d7f3e2b477e4f29401;p=notmuch diff --git a/lib/database-private.h b/lib/database-private.h index c9bc712b..0d12ec1e 100644 --- a/lib/database-private.h +++ b/lib/database-private.h @@ -189,7 +189,11 @@ operator& (notmuch_field_flag_t a, notmuch_field_flag_t b) struct _notmuch_database { bool exception_reported; - char *path; + /* Path to actual database */ + const char *xapian_path; + + /* Path to config loaded, if any */ + const char *config_path; int atomic_nesting; /* true if changes have been made in this atomic section */ @@ -228,6 +232,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