diff options
| author | David Bremner <david@tethera.net> | 2021-08-24 08:17:36 -0700 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-09-04 17:07:19 -0700 |
| commit | 036734252d07d8568937073d4f2d366bcb06bc4e (patch) | |
| tree | 997f1daee7297b2a5b48aa37acf11819db051df5 /lib/database-private.h | |
| parent | a07ef8abf5248c1128ddc75b8139ae807a88abd9 (diff) | |
lib: factor out expansion of saved queries.
This is intended to allow use outside of the Xapian query parser.
Diffstat (limited to 'lib/database-private.h')
| -rw-r--r-- | lib/database-private.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/database-private.h b/lib/database-private.h index 9ee3b933..8b9d67fe 100644 --- a/lib/database-private.h +++ b/lib/database-private.h @@ -327,6 +327,11 @@ _notmuch_regexp_to_query (notmuch_database_t *notmuch, Xapian::valueno slot, std std::string regexp_str, Xapian::Query &output, std::string &msg); +/* thread-fp.cc */ +notmuch_status_t +_notmuch_query_name_to_query (notmuch_database_t *notmuch, const std::string name, + Xapian::Query &output); + #if HAVE_SFSEXP /* parse-sexp.cc */ notmuch_status_t |
