aboutsummaryrefslogtreecommitdiff
path: root/notmuch-client.h
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-06-12 10:26:17 -0300
committerDavid Bremner <david@tethera.net>2021-10-23 09:51:50 -0300
commit2ce6c76a61c907b5d1d508e12255e83d9256937c (patch)
treefcb1e35acb341eeaccfdd387fe214b5ba8dab9e6 /notmuch-client.h
parentc128c995bc3e7474d4086af7e2066f60f54329b2 (diff)
CLI: move indexopts variable out of shared options block
This reduces the amount of global state. Furthermore, index options can be set (in principle) in several ways, not just in the one function for processing indexing command line options.
Diffstat (limited to 'notmuch-client.h')
-rw-r--r--notmuch-client.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/notmuch-client.h b/notmuch-client.h
index 82ae44e4..de318e1f 100644
--- a/notmuch-client.h
+++ b/notmuch-client.h
@@ -499,11 +499,10 @@ int notmuch_minimal_options (const char *subcommand_name,
struct _notmuch_client_indexing_cli_choices {
int decrypt_policy;
bool decrypt_policy_set;
- notmuch_indexopts_t *opts;
};
extern struct _notmuch_client_indexing_cli_choices indexing_cli_choices;
extern const notmuch_opt_desc_t notmuch_shared_indexing_options [];
notmuch_status_t
-notmuch_process_shared_indexing_options (notmuch_database_t *notmuch);
+notmuch_process_shared_indexing_options (notmuch_indexopts_t *opts);
#endif