/*
- * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2006 Hiroyuki Yamamoto and the Claws Mail Team
+ * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
+ * Copyright (C) 1999-2007 Colin Leroy <colin@colino.net> and
+ * the Claws Mail team
*
* 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
#define BOGOFILTER_H 1
#include <glib.h>
+#include "folder.h"
typedef struct _BogofilterConfig BogofilterConfig;
gchar *save_folder;
guint max_size;
gchar *bogopath;
+ gboolean insert_header;
+ gboolean whitelist_ab;
+ gchar *whitelist_ab_folder;
+ gboolean save_unsure;
+ gchar *save_unsure_folder;
};
BogofilterConfig *bogofilter_get_config (void);
int bogofilter_learn(MsgInfo *msginfo, GSList *msglist, gboolean spam);
void bogofilter_register_hook(void);
void bogofilter_unregister_hook(void);
+FolderItem *bogofilter_get_spam_folder(MsgInfo *msginfo);
#endif