diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-09-08 11:57:14 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-09-08 11:57:14 +0800 |
commit | 26149933266aea9e787e07d4cc312d6b06dc0d65 (patch) | |
tree | aaf8b1e7cf97371c92f7ab6727aabca7afa05559 | |
parent | 28d0e6247e9570a092f44a3b443c7a672c8cbe2a (diff) | |
download | gsoc2013-evolution-26149933266aea9e787e07d4cc312d6b06dc0d65.tar.gz gsoc2013-evolution-26149933266aea9e787e07d4cc312d6b06dc0d65.tar.zst gsoc2013-evolution-26149933266aea9e787e07d4cc312d6b06dc0d65.zip |
Now takes a CamelMessageInfo argument in preparation for handling scoring
2000-09-07 Jeffrey Stedfast <fejj@helixcode.com>
* filter-driver.c (filter_driver_run): Now takes a
CamelMessageInfo argument in preparation for handling scoring
svn path=/trunk/; revision=5251
-rw-r--r-- | filter/ChangeLog | 5 | ||||
-rw-r--r-- | filter/filter-driver.c | 4 | ||||
-rw-r--r-- | filter/filter-driver.h | 2 |
3 files changed, 8 insertions, 3 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog index 06c225a92d..c2af2c0619 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,5 +1,10 @@ 2000-09-07 Jeffrey Stedfast <fejj@helixcode.com> + * filter-driver.c (filter_driver_run): Now takes a + CamelMessageInfo argument in preparation for handling scoring + +2000-09-07 Jeffrey Stedfast <fejj@helixcode.com> + * filter-driver.c (filter_driver_run): Modified to return a boolean value specifying whether or not the message was filtered into a folder other than the default. The default mailbox can now diff --git a/filter/filter-driver.c b/filter/filter-driver.c index a6d9d1f3be..e7c733b6a7 100644 --- a/filter/filter-driver.c +++ b/filter/filter-driver.c @@ -374,7 +374,7 @@ free_key (gpointer key, gpointer value, gpointer user_data) #endif gboolean -filter_driver_run (FilterDriver *driver, CamelMimeMessage *message, +filter_driver_run (FilterDriver *driver, CamelMimeMessage *message, CamelMessageInfo *info, CamelFolder *inbox, enum _filter_source_t sourcetype, gpointer unhook_func, gpointer unhook_data, gboolean self_destruct, CamelException *ex) @@ -394,7 +394,7 @@ filter_driver_run (FilterDriver *driver, CamelMimeMessage *message, p->terminated = FALSE; p->deleted = FALSE; p->message = message; - p->info = g_new0 (CamelMessageInfo, 1); + p->info = info; /* setup runtime data */ p->folders = g_hash_table_new (g_str_hash, g_str_equal); diff --git a/filter/filter-driver.h b/filter/filter-driver.h index a2ac96989c..3ab6ec8986 100644 --- a/filter/filter-driver.h +++ b/filter/filter-driver.h @@ -54,7 +54,7 @@ FilterDriver *filter_driver_new (FilterContext *ctx, FilterGetFolderFunc fe /*void filter_driver_set_global(FilterDriver *, const char *name, const char *value);*/ /* filter a message - returns TRUE if the message was filtered into some location other than inbox */ -gboolean filter_driver_run (FilterDriver *driver, CamelMimeMessage *message, +gboolean filter_driver_run (FilterDriver *driver, CamelMimeMessage *message, CamelMessageInfo *info, CamelFolder *inbox, enum _filter_source_t sourcetype, gpointer unhook_func, gpointer unhook_data, gboolean self_destruct, CamelException *ex); |