7 main (int argc, char **argv)
9 notmuch_database_t *notmuch;
15 if (notmuch_database_open_verbose (argv[1], NOTMUCH_DATABASE_MODE_READ_ONLY,
16 ¬much, &message)) {
18 fputs (message, stderr);
24 (void) new Xapian::WritableDatabase (argv[2], Xapian::DB_OPEN);
25 } catch (const Xapian::Error &error) {
26 printf ("caught %s\n", error.get_msg ().c_str ());