1 #include "notmuch-client.h"
4 print_status_query (const char *loc,
5 const notmuch_query_t *query,
6 notmuch_status_t status)
10 notmuch_database_t *notmuch;
12 fprintf (stderr, "%s: %s\n", loc,
13 notmuch_status_to_string (status));
15 notmuch = notmuch_query_get_database (query);
16 msg = notmuch_database_status_string (notmuch);
24 print_status_database (const char *loc,
25 const notmuch_database_t *notmuch,
26 notmuch_status_t status)
31 fprintf (stderr, "%s: %s\n", loc,
32 notmuch_status_to_string (status));
33 msg = notmuch_database_status_string (notmuch);