]> git.notmuchmail.org Git - notmuch/blobdiff - lib/database-private.h
lib: add a log function with output to a string in notmuch_database_t
[notmuch] / lib / database-private.h
index 6d6fa2c9f6bd56af79a7039d0da9d3694aa8b942..24243db2e4fd38577a3aae8840003cbfef3ec637 100644 (file)
@@ -154,6 +154,10 @@ struct _notmuch_database {
     unsigned int last_doc_id;
     uint64_t last_thread_id;
 
+    /* error reporting; this value persists only until the
+     * next library call. May be NULL */
+    char *status_string;
+
     Xapian::QueryParser *query_parser;
     Xapian::TermGenerator *term_gen;
     Xapian::ValueRangeProcessor *value_range_processor;