X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=pgp.h;h=26bdbb0c8bfdbf440e9c629ed10badf361385a91;hp=92d9fac6a5e51a0d57c2966e078813a522f08c70;hb=df7c0ef298343ef5523ad0be5af9fd629f901738;hpb=f5b0e714a215eddd4d9f8084b434b713f0a580b4 diff --git a/pgp.h b/pgp.h index 92d9fac..26bdbb0 100644 --- a/pgp.h +++ b/pgp.h @@ -9,8 +9,6 @@ * please see the file GPL in the top level source directory. */ -#ifdef CRYPT_BACKEND_CLASSIC_PGP - #include "mutt_crypt.h" #include "pgplib.h" @@ -37,10 +35,10 @@ int pgp_decrypt_mime (FILE *, FILE **, BODY *, BODY **); /* pgp_key_t gpg_get_candidates (struct pgp_vinfo *, pgp_ring_t, LIST *); */ pgp_key_t pgp_ask_for_key (char *, char *, short, pgp_ring_t); pgp_key_t pgp_get_candidates (pgp_ring_t, LIST *); -pgp_key_t pgp_getkeybyaddr (ADDRESS *, short, pgp_ring_t); +pgp_key_t pgp_getkeybyaddr (address_t *, short, pgp_ring_t); pgp_key_t pgp_getkeybystr (char *, short, pgp_ring_t); -char *pgp_findKeys (ADDRESS * to, ADDRESS * cc, ADDRESS * bcc); +char *pgp_findKeys (address_t * to, address_t * cc, address_t * bcc); void pgp_forget_passphrase (void); int pgp_application_pgp_handler (BODY *, STATE *); @@ -82,7 +80,7 @@ pid_t pgp_invoke_traditional (FILE ** pgpin, FILE ** pgpout, FILE ** pgperr, void pgp_invoke_import (const char *fname); -void pgp_invoke_getkeys (ADDRESS *); +void pgp_invoke_getkeys (address_t *); /* private ? */ @@ -92,5 +90,3 @@ BODY *pgp_encrypt_message (BODY *, char *, int); BODY *pgp_sign_message (BODY *); int pgp_send_menu (HEADER * msg, int *redraw); - -#endif /* CRYPT_BACKEND_CLASSIC_PGP */