X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-client.h;h=eca99906da532702dc653e9f580abe9a8ebb5029;hp=f105c8b2ad5a33a7735bf70721a8d19d111937b4;hb=84742d86ab2fd3e5b5b601f073351454b993575e;hpb=5fdce046a189f6232c1bd2f89a6df04e02b226f0 diff --git a/notmuch-client.h b/notmuch-client.h index f105c8b2..eca99906 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -21,12 +21,13 @@ #ifndef NOTMUCH_CLIENT_H #define NOTMUCH_CLIENT_H - #ifndef _GNU_SOURCE #define _GNU_SOURCE /* for getline */ #endif #include +#include "compat.h" + #include #include "notmuch.h" @@ -72,8 +73,7 @@ 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; @@ -91,6 +91,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[]); @@ -115,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);