aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-09-07 11:15:35 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-09-07 11:15:35 +0800
commiteec65a9ce0b99846ada81959bb5136074703ffd2 (patch)
tree76b8552b6ebfd8e23ee677603631baa09752d4d5 /mail/mail-ops.h
parent534b71582b08ff42de90a434aa1ce04587b1e0f8 (diff)
downloadgsoc2013-evolution-eec65a9ce0b99846ada81959bb5136074703ffd2.tar.gz
gsoc2013-evolution-eec65a9ce0b99846ada81959bb5136074703ffd2.tar.zst
gsoc2013-evolution-eec65a9ce0b99846ada81959bb5136074703ffd2.zip
New async function to filter messages on demand. (do_fetch_mail): Updated
2000-09-06 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (mail_do_filter_ondemand): New async function to filter messages on demand. (do_fetch_mail): Updated to filter 1 message at a time using the new filter-driver code * mail-callbacks.c (composer_postpone_cb): Send NULL as the message info. (run_filter_ondemand): Use mail_do_filter_ondemand instead of filter_driver_run * mail-tools.c: Removed mail_tool_filter_contents_into and mail_tool_fetch_mail_into_searchable as they have now been deprecated. svn path=/trunk/; revision=5225
Diffstat (limited to 'mail/mail-ops.h')
-rw-r--r--mail/mail-ops.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/mail-ops.h b/mail/mail-ops.h
index 9321f8807a..ae2a1ed353 100644
--- a/mail/mail-ops.h
+++ b/mail/mail-ops.h
@@ -23,6 +23,7 @@
*/
#include <camel/camel.h>
+#include <filter/filter-driver.h>
#include "mail-threads.h"
#include "evolution-storage.h" /*EvolutionStorage */
#include "composer/e-msg-composer.h" /*EMsgComposer */
@@ -31,6 +32,8 @@
void mail_do_fetch_mail (const gchar *source_url, gboolean keep_on_server,
CamelFolder *destination,
gpointer hook_func, gpointer hook_data);
+void mail_do_filter_ondemand (FilterDriver *driver, CamelFolder *source,
+ CamelFolder *destination);
void mail_do_send_mail (const char *xport_uri,
CamelMimeMessage *message,
CamelFolder *done_folder,