X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=pgp.h;h=31718720d072cd10e4dc2515b004419a7d2fc8d8;hp=5c696651e178bc59f22f2dd48767b24d8cb6daee;hb=3d937534e7b1ee723f86594b5e4c64c95158a933;hpb=d7c69d8f0180e24b9ee48088d08090df7b4e27c2 diff --git a/pgp.h b/pgp.h index 5c69665..3171872 100644 --- a/pgp.h +++ b/pgp.h @@ -1,6 +1,7 @@ /* * Copyright (C) 1996,1997 Michael R. Elkins * Copyright (C) 1999-2000 Thomas Roessler + * Copyright (C) 2004 g10 Code GmbH * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -42,8 +43,6 @@ int pgp_decrypt_mime (FILE *, FILE **, BODY *, BODY **); /* int pgp_string_matches_hint (const char *s, LIST * hints); */ -#define pgp_valid_passphrase() crypt_valid_passphrase(APPLICATION_PGP) - /* 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 *); @@ -57,8 +56,7 @@ void pgp_application_pgp_handler (BODY *, STATE *); void pgp_encrypted_handler (BODY *, STATE *); void pgp_extract_keys_from_attachment_list (FILE * fp, int tag, BODY * top); void pgp_void_passphrase (void); - - +int pgp_valid_passphrase (void); /* The PGP invocation interface - not really beautiful. */ @@ -102,5 +100,6 @@ BODY *pgp_traditional_encryptsign (BODY *, int, char *); 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 */