#ifndef _CRYPTO_H #define _CRYPTO_H #include "notmuch.h" #include /* This is automatically included only since gmime 2.6.10 */ #include typedef struct _notmuch_crypto { GMimeCryptoContext* gpgctx; GMimeCryptoContext* pkcs7ctx; notmuch_bool_t verify; notmuch_bool_t decrypt; const char *gpgpath; } _notmuch_crypto_t; notmuch_status_t _notmuch_crypto_get_gmime_ctx_for_protocol (_notmuch_crypto_t *crypto, const char *protocol, GMimeCryptoContext **ctx); void _notmuch_crypto_cleanup (_notmuch_crypto_t *crypto); #endif