X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=notmuch-client.h;h=fb3021cc37c1aec68a9b2b193b1cea9c011cd200;hb=0fa9cf75e51957f775fd74a7ca266e7a8edd7941;hp=5e0d47508c6af495c4c5097a29e9d5b5cc72742b;hpb=5c27136e64dab2f90995de0bfa37c54186a2fae1;p=notmuch diff --git a/notmuch-client.h b/notmuch-client.h index 5e0d4750..fb3021cc 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -80,6 +80,7 @@ typedef struct notmuch_crypto { notmuch_crypto_context_t* gpgctx; notmuch_bool_t verify; notmuch_bool_t decrypt; + const char *gpgpath; } notmuch_crypto_t; typedef struct notmuch_show_params { @@ -277,6 +278,13 @@ void 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);