From 80e3070de9d43d2ad4fe7f856dfc159a96907538 Mon Sep 17 00:00:00 2001 From: Radek Doulik Date: Thu, 25 Nov 2004 10:50:11 +0000 Subject: new init method implementation 2004-10-12 Radek Doulik * camel-junk-plugin.c: new init method implementation * camel-junk-plugin.h: added junk plugin init declaration svn path=/trunk/; revision=27989 --- camel/camel-junk-plugin.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'camel/camel-junk-plugin.h') 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 -- cgit v1.2.3