-/*
- * Copyright notice from original mutt:
- * Copyright (C) 2004 g10 Code GmbH
- *
- * This file is part of mutt-ng, see http://www.muttng.org/.
- * It's licensed under the GNU General Public License,
- * please see the file GPL in the top level source directory.
- */
-
-#ifndef CRYPT_GPGME_H
-#define CRYPT_GPGME_H
-
-#include <lib-crypt/crypt.h>
-
-/* {{{ cruft */
-
-/* Type defintions for crypto module functions. */
-typedef int (*crypt_func_encrypted_handler_t) (BODY * m, STATE * s);
-
-typedef void (*crypt_func_pgp_invoke_getkeys_t) (address_t * addr);
-typedef BODY *(*crypt_func_pgp_make_key_attachment_t) (char *tempf);
-typedef int (*crypt_func_send_menu_t) (HEADER * msg, int *redraw);
-
- /* (SMIME) */
-typedef void (*crypt_func_smime_getkeys_t) (ENVELOPE * env);
-typedef BODY *(*crypt_func_smime_build_smime_entity_t) (BODY * a,
- char *certlist);
-
-typedef struct crypt_module_specs {
- /* Common/General functions. */
- crypt_func_encrypted_handler_t encrypted_handler;
-
- /* PGP specific functions. */
- crypt_func_pgp_make_key_attachment_t pgp_make_key_attachment;
- crypt_func_pgp_invoke_getkeys_t pgp_invoke_getkeys;
-
- /* S/MIME specific functions. */
- crypt_func_smime_getkeys_t smime_getkeys;
- crypt_func_smime_build_smime_entity_t smime_build_smime_entity;
-} crypt_module_specs_t;
-
-extern struct crypt_module_specs crypt_mod_SMIME_gpgme;
-extern struct crypt_module_specs crypt_mod_PGP_gpgme;
-
-/* }}} */
-
-BODY *pgp_gpgme_encrypt_message (BODY * a, char *keylist, int sign);
-BODY *smime_gpgme_build_smime_entity (BODY * a, char *keylist);
-
-int pgp_gpgme_check_traditional (FILE * fp, BODY * b, int tagged_only);
-int pgp_gpgme_encrypted_handler (BODY * a, STATE * s);
-BODY *pgp_gpgme_make_key_attachment (char *tempf);
-
-#endif