5 #if (GMIME_MAJOR_VERSION < 3)
6 #include "gmime-extra.h"
10 typedef struct _notmuch_crypto {
13 #if (GMIME_MAJOR_VERSION < 3)
14 GMimeCryptoContext* gpgctx;
15 GMimeCryptoContext* pkcs7ctx;
21 #if (GMIME_MAJOR_VERSION < 3)
23 _notmuch_crypto_get_gmime_ctx_for_protocol (_notmuch_crypto_t *crypto,
25 GMimeCryptoContext **ctx);
29 _notmuch_crypto_cleanup (_notmuch_crypto_t *crypto);