_Really_ clean it
[claws.git] / src / pgptext.h
1 /*
2  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3  * Copyright (C) 2001 Jens Jahnke <jan0sch@gmx.net>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18  */
19
20 #ifndef PGPTXT_H__ 
21 #define PGPTXT_H__
22
23 #include <glib.h>
24 #include <stdio.h>
25
26 #include "procmime.h"
27 #include "prefs_account.h"
28
29 /*
30 void pgptext_disable_all (void);
31 void pgptext_secure_remove (const char *fname);
32 MimeInfo * pgptext_find_signature (MimeInfo *mimeinfo);
33 */
34 gboolean pgptext_has_signature (MimeInfo *mimeinfo);
35 void pgptext_check_signature (MimeInfo *mimeinfo, FILE *fp);
36 int pgptext_is_encrypted (MimeInfo *mimeinfo, MsgInfo *msginfo);
37 void pgptext_decrypt_message (MsgInfo *msginfo, MimeInfo *mimeinfo, FILE *fp);
38 int pgptext_encrypt (const char *file, GSList *recp_list);
39 int pgptext_sign (const char *file, PrefsAccount *ac);
40
41 #endif /* PGPTEXT_H__ */