aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-client.h
diff options
context:
space:
mode:
authorGravatar Tomi Ollila <tomi.ollila@iki.fi>2012-02-15 11:17:31 +0200
committerGravatar David Bremner <bremner@debian.org>2012-02-17 08:04:34 -0400
commitce1e720de64270a7cbb4bc3fba2c7fe081de3edc (patch)
tree9726de695dfcb34dd5e14e957a725c6412e38735 /notmuch-client.h
parent863c1495141084dd1e66a73be35560b2531b71bf (diff)
add support for user-specified files & directories to ignore
A new configuration key 'new.ignore' is used to determine which files and directories user wants not to be scanned as new mails. Mark the corresponding test as no longer broken. This work merges my previous attempts and Andreas Amann's work in id:"ylp7hi23mw8.fsf@tyndall.ie"
Diffstat (limited to 'notmuch-client.h')
-rw-r--r--notmuch-client.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/notmuch-client.h b/notmuch-client.h
index 60828aa4..f4a62ccb 100644
--- a/notmuch-client.h
+++ b/notmuch-client.h
@@ -250,6 +250,15 @@ notmuch_config_set_new_tags (notmuch_config_t *config,
const char *new_tags[],
size_t length);
+const char **
+notmuch_config_get_new_ignore (notmuch_config_t *config,
+ size_t *length);
+
+void
+notmuch_config_set_new_ignore (notmuch_config_t *config,
+ const char *new_ignore[],
+ size_t length);
+
notmuch_bool_t
notmuch_config_get_maildir_synchronize_flags (notmuch_config_t *config);