]> git.notmuchmail.org Git - notmuch/blobdiff - lib/database-private.h
lib/query: factor out _notmuch_query_string_to_xapian_query
[notmuch] / lib / database-private.h
index cf4eb94b0583a80c9c1ff432b243bccda83011b4..7ee8e62d9b56aada2930b6d69e99494717082382 100644 (file)
@@ -302,11 +302,18 @@ notmuch_status_t
 _notmuch_database_setup_user_query_fields (notmuch_database_t *notmuch);
 
 #if __cplusplus
+/* query.cc */
+notmuch_status_t
+_notmuch_query_string_to_xapian_query (notmuch_database_t *notmuch,
+                                      std::string query_string,
+                                      Xapian::Query &output,
+                                      std::string &msg);
 /* parse-sexp.cc */
 notmuch_status_t
 _notmuch_sexp_string_to_xapian_query (notmuch_database_t *notmuch, const char *querystr,
                                      Xapian::Query &output);
 
+/* regexp-fields.cc */
 notmuch_status_t
 _notmuch_regexp_to_query (notmuch_database_t *notmuch, Xapian::valueno slot, std::string field,
                          std::string regexp_str,