5 #if (GMIME_MAJOR_VERSION < 3)
6 #include "gmime-extra.h"
9 typedef struct _notmuch_crypto {
12 #if (GMIME_MAJOR_VERSION < 3)
13 GMimeCryptoContext* gpgctx;
14 GMimeCryptoContext* pkcs7ctx;
20 #if (GMIME_MAJOR_VERSION < 3)
22 _notmuch_crypto_get_gmime_context (_notmuch_crypto_t *crypto, const char *protocol);
26 _notmuch_crypto_cleanup (_notmuch_crypto_t *crypto);