2 * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
3 * Copyright (C) 1999-2007 Colin Leroy <colin@colino.net>
4 * and the Claws Mail Team
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 #ifndef SPAMREPORTPREFS_H
22 #define SPAMREPORTPREFS_H
28 #define SPAM_REPORT_USERAGENT "Claws Mail SpamReport plugin "
30 typedef struct _SpamReportPrefs SpamReportPrefs;
47 typedef struct _ReportInterface {
52 gboolean (*should_report)(MsgInfo *info);
55 extern ReportInterface spam_interfaces[];
57 struct _SpamReportPrefs
59 gboolean enabled[INTF_LAST];
60 gchar *user[INTF_LAST];
61 gchar *pass[INTF_LAST];
64 extern SpamReportPrefs spamreport_prefs;
66 void spamreport_prefs_init(void);
67 void spamreport_prefs_done(void);
68 void spamreport_master_password_change(const gchar *oldp, const gchar *newp);