diff options
| author | David Bremner <david@tethera.net> | 2022-01-20 09:36:02 -0400 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2022-01-26 07:41:02 -0400 |
| commit | bf3cc5eed2d7f3386946b0c51e45c057705d24b8 (patch) | |
| tree | f085aec0132da097c846a8b13f7c53236d46942b /lib/database-private.h | |
| parent | 303f207a54325158105aba400702637e670decda (diff) | |
lib/date: factor out date range parsing.
This will allow re-using the same logic in the s-expression 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 5db8882f..0c08fa15 100644 --- a/lib/database-private.h +++ b/lib/database-private.h @@ -379,5 +379,10 @@ notmuch_status_t _notmuch_sexp_string_to_xapian_query (notmuch_database_t *notmuch, const char *querystr, Xapian::Query &output); #endif + +/* parse-time-vrp.h */ +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); #endif #endif |
