summaryrefslogtreecommitdiffstats
path: root/notmuch-client.h
diff options
context:
space:
mode:
authorMichal Sojka <sojkam1@fel.cvut.cz>2014-11-05 01:25:55 +0100
committerDavid Bremner <david@tethera.net>2014-11-05 23:19:12 +0100
commit5c27136e64dab2f90995de0bfa37c54186a2fae1 (patch)
treeef2c628927a1498a5a7c0954985edc4fcaf5ad31 /notmuch-client.h
parent4387112de00d27e6957ca2b6a268242f0bb5c756 (diff)
cli: Introduce "notmuch address" command
This moves address-related functionality from search command to the new address command. The implementation shares almost all code and some command line options. Options --offset and --limit were intentionally not included in the address command, because they refer to messages numbers, which users do not see in the output. This could confuse users because, for example, they could see more addresses in the output that what was specified with --limit. This functionality can be correctly reimplemented for address subcommand later. Also useless values of --exclude flag were not included in the address command. This was inspired by a patch from Jani Nikula.
Diffstat (limited to 'notmuch-client.h')
-rw-r--r--notmuch-client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/notmuch-client.h b/notmuch-client.h
index e1efbe0c..5e0d4750 100644
--- a/notmuch-client.h
+++ b/notmuch-client.h
@@ -199,6 +199,9 @@ int
notmuch_search_command (notmuch_config_t *config, int argc, char *argv[]);
int
+notmuch_address_command (notmuch_config_t *config, int argc, char *argv[]);
+
+int
notmuch_setup_command (notmuch_config_t *config, int argc, char *argv[]);
int