diff options
| author | David Bremner <david@tethera.net> | 2021-08-24 08:17:16 -0700 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-09-04 17:07:19 -0700 |
| commit | be7e83de96b706af418fc9f139ded4d50bf342f6 (patch) | |
| tree | 35350510d2fdb3302d8625fdd730463756536ed5 /lib/database-private.h | |
| parent | 9ae4188610dc21101fe9bdeb158854fc7c63463e (diff) | |
lib/parse-sexp: parse single terms and the empty list.
There is not much of a parser here yet, but it already does some
useful error reporting. Most functionality sketched in the
documentation is not implemented yet; detailed documentation will
follow with the implementation.
Diffstat (limited to 'lib/database-private.h')
| -rw-r--r-- | lib/database-private.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/database-private.h b/lib/database-private.h index 9706c17e..f206efaf 100644 --- a/lib/database-private.h +++ b/lib/database-private.h @@ -300,4 +300,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 |
