X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fdatabase-private.h;h=d936b216954cf673bd8636fee90a6246c64a7e49;hb=f0717aa380cfa84c1973f7b03948d93b261a73fe;hp=c9bc712b46c1a0b51c8d93af9189111604b7dd7f;hpb=3b4097824159c6fdebb8a88b5447beb9a6226ea3;p=notmuch diff --git a/lib/database-private.h b/lib/database-private.h index c9bc712b..d936b216 100644 --- a/lib/database-private.h +++ b/lib/database-private.h @@ -189,8 +189,12 @@ operator& (notmuch_field_flag_t a, notmuch_field_flag_t b) struct _notmuch_database { bool exception_reported; + /* Path to database parent directory and or/mail root */ char *path; + /* Path to actual database */ + const char *xapian_path; + int atomic_nesting; /* true if changes have been made in this atomic section */ bool atomic_dirty; @@ -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