]> git.notmuchmail.org Git - notmuch/blobdiff - lib/database-private.h
emacs: Add new option notmuch-search-hide-excluded
[notmuch] / lib / database-private.h
index 419b9fe6bd521c0f7ba3e5934fd06a11e3f864a6..61232f1ae3ffcc51bb0dd6b96c91e1b9296e33d3 100644 (file)
@@ -291,6 +291,10 @@ struct _notmuch_database {
 
     /* Track what parameters were specified when opening */
     notmuch_open_param_t params;
+
+    /* list of regular expressions to check for text indexing */
+    regex_t *index_as_text;
+    size_t index_as_text_length;
 };
 
 /* Prior to database version 3, features were implied by the database
@@ -381,5 +385,11 @@ _notmuch_sexp_string_to_xapian_query (notmuch_database_t *notmuch, const char *q
 notmuch_status_t
 _notmuch_date_strings_to_query (Xapian::valueno slot, const std::string &from, const std::string &to,
                                Xapian::Query &output, std::string &msg);
+
+/* lastmod-fp.h */
+notmuch_status_t
+_notmuch_lastmod_strings_to_query (notmuch_database_t *notmuch,
+                                  const std::string &from, const std::string &to,
+                                  Xapian::Query &output, std::string &msg);
 #endif
 #endif