X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-client.h;h=fb3021cc37c1aec68a9b2b193b1cea9c011cd200;hp=e1efbe0c82520e1fc186c40f4a1eb3b9ef2634b3;hb=dc840338b21cb041cb781d34b6b7f20f7e8fecb0;hpb=3c13bc0321baaf340663779d6fce2b1f34c1c2c3 diff --git a/notmuch-client.h b/notmuch-client.h index e1efbe0c..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 { @@ -198,6 +199,9 @@ notmuch_restore_command (notmuch_config_t *config, int argc, char *argv[]); 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[]); @@ -274,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);