diff options
author | Austin Clements <amdragon@MIT.EDU> | 2012-01-14 19:17:34 -0500 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-01-16 21:06:35 -0400 |
commit | 42a907992823030f070fc395a174f779998ca6f5 (patch) | |
tree | ae5024f696448426b6fadd76df888cc1421215ad /notmuch-client.h | |
parent | 3b76adf9e2c026dd03b820f4c6eab50e25444113 (diff) |
search: Support automatic tag exclusions
This adds a "search" section to the config file and an
"auto_tag_exclusions" setting in that section. The search and count
commands pass tag tags from the configuration to the library.
Diffstat (limited to 'notmuch-client.h')
-rw-r--r-- | notmuch-client.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/notmuch-client.h b/notmuch-client.h index 517c010a..62ede28e 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -235,6 +235,14 @@ void notmuch_config_set_maildir_synchronize_flags (notmuch_config_t *config, notmuch_bool_t synchronize_flags); +const char ** +notmuch_config_get_auto_exclude_tags (notmuch_config_t *config, size_t *length); + +void +notmuch_config_set_auto_exclude_tags (notmuch_config_t *config, + const char *list[], + size_t length); + int notmuch_run_hook (const char *db_path, const char *hook); |