X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-client.h;h=11aefbb468cabb62401abfbfa1124720ee2179db;hp=77b341841222c8563ded7612f9c6e1ae5cf51dcd;hb=e142de643d3bb4354f70e1490a97b491d1116e95;hpb=8492298a613e8e666d0f3054dadcb98b72a65ae4 diff --git a/notmuch-client.h b/notmuch-client.h index 77b34184..11aefbb4 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -76,7 +76,9 @@ typedef struct notmuch_crypto { notmuch_crypto_context_t* pkcs7ctx; notmuch_bool_t verify; notmuch_bool_t decrypt; +#if (GMIME_MAJOR_VERSION < 3) const char *gpgpath; +#endif } notmuch_crypto_t; typedef struct notmuch_show_params { @@ -289,12 +291,14 @@ void notmuch_config_set_database_path (notmuch_config_t *config, const char *database_path); +#if (GMIME_MAJOR_VERSION < 3) 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); +#endif const char * notmuch_config_get_user_name (notmuch_config_t *config);