projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more crypt simplifications
[apps/madmutt.git]
/
lib-crypt
/
crypt.h
diff --git
a/lib-crypt/crypt.h
b/lib-crypt/crypt.h
index
247232b
..
4f550af
100644
(file)
--- a/
lib-crypt/crypt.h
+++ b/
lib-crypt/crypt.h
@@
-89,6
+89,13
@@
int mutt_parse_crypt_hdr (char *, int);
void convert_to_7bit (BODY *);
void convert_to_7bit (BODY *);
+/*-- new API --*/
+
+void crypt_invoke_import(FILE *stream, int smime);
+int crypt_send_menu(HEADER *msg, int *redraw, int smime);
+int crypt_verify_one(BODY *, STATE *s, FILE *fp, int smime);
+
+
/*-- crypt.c --*/
/* Check out the type of encryption used and set the cached status
/*-- crypt.c --*/
/* Check out the type of encryption used and set the cached status
@@
-140,10
+147,6
@@
void crypt_pgp_free_key (pgp_key_t * kpp);
/* Generate a PGP public key attachment. */
BODY *crypt_pgp_make_key_attachment (char *tempf);
/* Generate a PGP public key attachment. */
BODY *crypt_pgp_make_key_attachment (char *tempf);
-/* This routine attempts to find the keyids of the recipients of a
- message. It returns NULL if any of the keys can not be found. */
-char *crypt_pgp_findkeys (address_t * to, address_t * cc, address_t * bcc);
-
/* Create a new body with a PGP signed message from A. */
BODY *crypt_pgp_sign_message (BODY * a);
/* Create a new body with a PGP signed message from A. */
BODY *crypt_pgp_sign_message (BODY * a);
@@
-151,13
+154,6
@@
BODY *crypt_pgp_sign_message (BODY * a);
later. This is necessary for $fcc_attach. */
BODY *crypt_pgp_encrypt_message (BODY * a, char *keylist, int sign);
later. This is necessary for $fcc_attach. */
BODY *crypt_pgp_encrypt_message (BODY * a, char *keylist, int sign);
-void crypt_invoke_import(FILE *stream, int smime);
-
-int crypt_pgp_send_menu (HEADER * msg, int *redraw);
-
-/* fixme: needs documentation */
-int crypt_pgp_verify_one (BODY * sigbdy, STATE * s, const char *tempf);
-
/* Access the keyID in K. */
char *crypt_pgp_keyid (pgp_key_t k);
/* Access the keyID in K. */
char *crypt_pgp_keyid (pgp_key_t k);
@@
-181,19
+177,10
@@
int crypt_smime_verify_sender (HEADER * h);
/* Ask for an SMIME key. */
char *crypt_smime_ask_for_key (char *prompt, char *mailbox, short public);
/* Ask for an SMIME key. */
char *crypt_smime_ask_for_key (char *prompt, char *mailbox, short public);
-/* This routine attempts to find the keyids of the recipients of a
- message. It returns NULL if any of the keys can not be found. */
-char *crypt_smime_findkeys (address_t * to, address_t * cc, address_t * bcc);
-
/* fixme: Needs documentation. */
BODY *crypt_smime_sign_message (BODY * a);
/* fixme: needs documentation. */
BODY *crypt_smime_build_smime_entity (BODY * a, char *certlist);
/* fixme: Needs documentation. */
BODY *crypt_smime_sign_message (BODY * a);
/* fixme: needs documentation. */
BODY *crypt_smime_build_smime_entity (BODY * a, char *certlist);
-int crypt_smime_send_menu (HEADER * msg, int *redraw);
-
-/* fixme: needs documentation */
-int crypt_smime_verify_one (BODY * sigbdy, STATE * s, const char *tempf);
-
#endif /*MUTT_CRYPT_H */
#endif /*MUTT_CRYPT_H */