2 * Claws Mail -- a GTK based, lightweight, and fast e-mail client
3 * Copyright (C) 2003-2017 Michael Rasmussen and the Claws Mail Team
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 3 of the License, or
8 * (at your option) any later version.
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.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef CLAMAV_PLUGIN_H
21 #define CLAMAV_PLUGIN_H 1
24 #include "clamd-plugin.h"
26 typedef struct _ClamAvConfig ClamAvConfig
;
28 typedef void (*MessageCallback
) (gchar
*);
32 gboolean clamav_enable
;
33 /* gboolean clamav_enable_arc;*/
34 guint clamav_max_size
;
35 gboolean clamav_recv_infected
;
36 gchar
*clamav_save_folder
;
37 gboolean clamd_config_type
;
40 gchar
*clamd_config_folder
;
44 ClamAvConfig
*clamav_get_config (void);
45 void clamav_save_config (void);
46 void clamav_set_message_callback (MessageCallback callback
);
47 Clamd_Stat
clamd_prepare(void);
48 gint
clamav_gtk_init(void);
49 void clamav_gtk_done(void);