diff options
author | David Bremner <david@tethera.net> | 2014-12-09 21:01:11 +0100 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2015-03-11 08:04:00 +0100 |
commit | c883e632bf0a3692fa4ca7aa77604e0e60820295 (patch) | |
tree | c6ce8a5052663308d36f95b7f7b836af6be4ed4d /notmuch-client.h | |
parent | 21ecd7369aa2aa24d26775c3fe5edcb437914774 (diff) |
CLI: make gpg binary used by libgmime configurable.
Previously we set up a way for the top level notmuch command to choose
which gpg binary was invoked by libgmime. In this commit we add the
(mostly boilerplate) code to allow the notmuch-config command to read
and write this path, and use it in the appropriate struct.
Update tests for new default variable
Diffstat (limited to 'notmuch-client.h')
-rw-r--r-- | notmuch-client.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/notmuch-client.h b/notmuch-client.h index c25c4ea8..fb3021cc 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -279,6 +279,13 @@ notmuch_config_set_database_path (notmuch_config_t *config, const char *database_path); const char * +notmuch_config_get_crypto_gpg_path (notmuch_config_t *config); + +void +notmuch_config_set_crypto_gpg_path (notmuch_config_t *config, + const char *gpg_path); + +const char * notmuch_config_get_user_name (notmuch_config_t *config); void |