#include <lib-mime/mime.h>
#include "crypt.h"
-/*
- Type defintions for crypto module functions.
- */
-typedef void (*crypt_func_void_passphrase_t) (void);
-typedef int (*crypt_func_valid_passphrase_t) (void);
-
+/* Type defintions for crypto module functions. */
typedef int (*crypt_func_decrypt_mime_t) (FILE * a, FILE ** b,
BODY * c, BODY ** d);
typedef struct crypt_module_functions {
/* Common/General functions. */
crypt_func_init_t init;
- crypt_func_void_passphrase_t void_passphrase;
- crypt_func_valid_passphrase_t valid_passphrase;
crypt_func_decrypt_mime_t decrypt_mime;
crypt_func_application_handler_t application_handler;
crypt_func_encrypted_handler_t encrypted_handler;