X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fdatabase-private.h;h=9706c17e68f9de13fd4377a4386592fe0894e2be;hb=3df2281746d57abbb45790ecb432ef40533c30bc;hp=0d12ec1efde57b4862f1001facdbfafe3dec54cd;hpb=9d6f4641d17a6100cb8d96bc1e09d3d4999c34f3;p=notmuch diff --git a/lib/database-private.h b/lib/database-private.h index 0d12ec1e..9706c17e 100644 --- a/lib/database-private.h +++ b/lib/database-private.h @@ -206,8 +206,17 @@ 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; + /* How many transactions have successfully completed since we last committed */ + int transaction_count; + /* when to commit and reset the counter */ + int transaction_threshold; + /* error reporting; this value persists only until the * next library call. May be NULL */ char *status_string;