X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fdatabase-private.h;h=85d552999fdedc7ed903a3064544f87e51014ab8;hp=9706c17e68f9de13fd4377a4386592fe0894e2be;hb=3202e0d1feba1ab955ba1c07098c00208f8f0ada;hpb=e2a3e5fa51122efb0f5ac836e536881d97deef1a diff --git a/lib/database-private.h b/lib/database-private.h index 9706c17e..85d55299 100644 --- a/lib/database-private.h +++ b/lib/database-private.h @@ -232,6 +232,7 @@ struct _notmuch_database { */ unsigned long view; Xapian::QueryParser *query_parser; + Xapian::Stem *stemmer; Xapian::TermGenerator *term_gen; Xapian::RangeProcessor *value_range_processor; Xapian::RangeProcessor *date_range_processor; @@ -300,4 +301,11 @@ _notmuch_database_setup_standard_query_fields (notmuch_database_t *notmuch); notmuch_status_t _notmuch_database_setup_user_query_fields (notmuch_database_t *notmuch); +#if __cplusplus +/* parse-sexp.cc */ +notmuch_status_t +_notmuch_sexp_string_to_xapian_query (notmuch_database_t *notmuch, const char *querystr, + Xapian::Query &output); +#endif + #endif