]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-client.h
database: Split _find_parent_id into _split_path and _find_directory_id
[notmuch] / notmuch-client.h
index c04eaeb40a9c652cc82dd175c15741f9848e7ea7..eca99906da532702dc653e9f580abe9a8ebb5029 100644 (file)
 #ifndef NOTMUCH_CLIENT_H
 #define NOTMUCH_CLIENT_H
 
-
 #ifndef _GNU_SOURCE
 #define _GNU_SOURCE /* for getline */
 #endif
 #include <stdio.h>
 
+#include "compat.h"
+
 #include <gmime/gmime.h>
 
 #include "notmuch.h"
@@ -72,8 +73,6 @@
 typedef void (*add_files_callback_t) (notmuch_message_t *message);
 
 typedef struct {
-    int ignore_read_only_directories;
-    int saw_read_only_directory;
     int output_is_a_tty;
     int verbose;
 
@@ -119,6 +118,9 @@ notmuch_show_command (void *ctx, int argc, char *argv[]);
 int
 notmuch_tag_command (void *ctx, int argc, char *argv[]);
 
+int
+notmuch_search_tags_command (void *ctx, int argc, char *argv[]);
+
 const char *
 notmuch_time_relative_date (const void *ctx, time_t then);