projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Even remove more code.
[apps/madmutt.git]
/
lib-crypt
/
crypt-mod.h
diff --git
a/lib-crypt/crypt-mod.h
b/lib-crypt/crypt-mod.h
index
c74081e
..
6e6a1c3
100644
(file)
--- a/
lib-crypt/crypt-mod.h
+++ b/
lib-crypt/crypt-mod.h
@@
-13,12
+13,7
@@
#include <lib-mime/mime.h>
#include "crypt.h"
#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 int (*crypt_func_decrypt_mime_t) (FILE * a, FILE ** b,
BODY * c, BODY ** d);
@@
-64,8
+59,6
@@
typedef void (*crypt_func_init_t) (void);
typedef struct crypt_module_functions {
/* Common/General functions. */
crypt_func_init_t init;
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;
crypt_func_decrypt_mime_t decrypt_mime;
crypt_func_application_handler_t application_handler;
crypt_func_encrypted_handler_t encrypted_handler;