X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-client.h;h=3bd2903ec54aba42ec09a90e3ecc02dbd5648538;hp=882aa30563df68283bdac24d82e548980c6c9355;hb=b8f4e7da3d61733fb47111b162ccabb967a3661e;hpb=005c2f0df17de8afdf9f67b923d26f2358236171 diff --git a/notmuch-client.h b/notmuch-client.h index 882aa305..3bd2903e 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -48,6 +48,7 @@ typedef GMimeCryptoContext notmuch_crypto_context_t; #include #include #include +#include #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;