X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=pgp.h;h=92d9fac6a5e51a0d57c2966e078813a522f08c70;hp=577d89410338b78ee38f5d2f3ea203f1617726f3;hb=86d529600952d1b3606e2b163a4edefbf988d1b9;hpb=df70e07e24add1869bcc9b7af2277d9d0c09a281 diff --git a/pgp.h b/pgp.h index 577d894..92d9fac 100644 --- a/pgp.h +++ b/pgp.h @@ -1,21 +1,12 @@ /* + * Copyright notice from original mutt: * 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 - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * This file is part of mutt-ng, see http://www.muttng.org/. + * It's licensed under the GNU General Public License, + * please see the file GPL in the top level source directory. */ #ifdef CRYPT_BACKEND_CLASSIC_PGP @@ -52,8 +43,8 @@ pgp_key_t pgp_getkeybystr (char *, short, pgp_ring_t); char *pgp_findKeys (ADDRESS * to, ADDRESS * cc, ADDRESS * bcc); void pgp_forget_passphrase (void); -void pgp_application_pgp_handler (BODY *, STATE *); -void pgp_encrypted_handler (BODY *, STATE *); +int pgp_application_pgp_handler (BODY *, STATE *); +int 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);