aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-junk-plugin.h
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2004-11-25 18:50:11 +0800
committerRadek Doulik <rodo@src.gnome.org>2004-11-25 18:50:11 +0800
commit80e3070de9d43d2ad4fe7f856dfc159a96907538 (patch)
tree53f84a159b9b002b02c53839a5de97a822f99ee5 /camel/camel-junk-plugin.h
parent65278ffcb427456d5ac3a86e61256fc0acd7a0de (diff)
downloadgsoc2013-evolution-80e3070de9d43d2ad4fe7f856dfc159a96907538.tar
gsoc2013-evolution-80e3070de9d43d2ad4fe7f856dfc159a96907538.tar.gz
gsoc2013-evolution-80e3070de9d43d2ad4fe7f856dfc159a96907538.tar.bz2
gsoc2013-evolution-80e3070de9d43d2ad4fe7f856dfc159a96907538.tar.lz
gsoc2013-evolution-80e3070de9d43d2ad4fe7f856dfc159a96907538.tar.xz
gsoc2013-evolution-80e3070de9d43d2ad4fe7f856dfc159a96907538.tar.zst
gsoc2013-evolution-80e3070de9d43d2ad4fe7f856dfc159a96907538.zip
new init method implementation
2004-10-12 Radek Doulik <rodo@ximian.com> * camel-junk-plugin.c: new init method implementation * camel-junk-plugin.h: added junk plugin init declaration svn path=/trunk/; revision=27989
Diffstat (limited to 'camel/camel-junk-plugin.h')
-rw-r--r--camel/camel-junk-plugin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/camel/camel-junk-plugin.h b/camel/camel-junk-plugin.h
index 79d1bf6331..fe28a8ee73 100644
--- a/camel/camel-junk-plugin.h
+++ b/camel/camel-junk-plugin.h
@@ -48,6 +48,9 @@ struct _CamelJunkPlugin
/* called after one or more junk/ham(s) reported */
void (*commit_reports) (void);
+
+ /* called before all other calls to junk plugin for initialization */
+ void (*init) (void);
};
const char * camel_junk_plugin_get_name (CamelJunkPlugin *csp);
@@ -55,5 +58,6 @@ int camel_junk_plugin_check_junk (CamelJunkPlugin *csp, struct _CamelMimeMessage
void camel_junk_plugin_report_junk (CamelJunkPlugin *csp, struct _CamelMimeMessage *message);
void camel_junk_plugin_report_notjunk (CamelJunkPlugin *csp, struct _CamelMimeMessage *message);
void camel_junk_plugin_commit_reports (CamelJunkPlugin *csp);
+void camel_junk_plugin_init (CamelJunkPlugin *csp);
#endif