]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-client.h
Add 'notmuch count' command to show the count of matching messages
[notmuch] / notmuch-client.h
index b65aa777bdf5362681d54e8e70d8e5c6b0199f42..c04eaeb40a9c652cc82dd175c15741f9848e7ea7 100644 (file)
@@ -74,6 +74,8 @@ 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;
 
     int total_files;
     int processed_files;
@@ -90,6 +92,9 @@ chomp_newline (char *str)
        str[strlen(str)-1] = '\0';
 }
 
+int
+notmuch_count_command (void *ctx, int argc, char *argv[]);
+
 int
 notmuch_dump_command (void *ctx, int argc, char *argv[]);
 
@@ -179,4 +184,7 @@ notmuch_config_set_user_other_email (notmuch_config_t *config,
                                     const char *other_email[],
                                     size_t length);
 
+notmuch_bool_t
+debugger_is_active (void);
+
 #endif