]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-client.h
cli: change the data structure for notmuch address deduplication
[notmuch] / notmuch-client.h
index 882aa30563df68283bdac24d82e548980c6c9355..3bd2903ec54aba42ec09a90e3ecc02dbd5648538 100644 (file)
@@ -48,6 +48,7 @@ typedef GMimeCryptoContext notmuch_crypto_context_t;
 #include <dirent.h>
 #include <errno.h>
 #include <signal.h>
+#include <ctype.h>
 
 #include "talloc-extra.h"
 
@@ -449,6 +450,15 @@ notmuch_database_dump (notmuch_database_t *notmuch,
                       dump_format_t output_format,
                       notmuch_bool_t gzip_output);
 
+/* If status is non-zero (i.e. error) print appropriate
+   messages to stderr.
+*/
+
+notmuch_status_t
+print_status_query (const char *loc,
+                   const notmuch_query_t *query,
+                   notmuch_status_t status);
+
 #include "command-line-arguments.h"
 
 extern char *notmuch_requested_db_uuid;