X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lib%2Fdatabase-private.h;h=1a73dacc365f563134d123fe09d91668b45a6d1f;hb=929386fad90eed7dad8b32f457020c57a786d288;hp=2900382d52b5eb9e38d6e9d27d74c56b978109aa;hpb=6251e2bb9ee023d25b58384c8a49576086fdaba3;p=notmuch diff --git a/lib/database-private.h b/lib/database-private.h index 2900382d..1a73dacc 100644 --- a/lib/database-private.h +++ b/lib/database-private.h @@ -192,6 +192,9 @@ struct _notmuch_database { /* 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 */ bool atomic_dirty; @@ -203,6 +206,10 @@ struct _notmuch_database { enum _notmuch_features features; unsigned int last_doc_id; + + /* 16 bytes (+ terminator) for hexadecimal representation of + * a 64-bit integer. */ + char thread_id_str[17]; uint64_t last_thread_id; /* error reporting; this value persists only until the