aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-filter-driver.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-02-23 00:22:27 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-02-23 00:22:27 +0800
commit0a3fde6ecdb3ee07ab13fcf5bdf39289bf2a07ff (patch)
tree85dd6846cead42f8d25398b644460c10849a9db5 /camel/camel-filter-driver.h
parent93a285353c8ee1052422a2d526434bc7c009f971 (diff)
downloadgsoc2013-evolution-0a3fde6ecdb3ee07ab13fcf5bdf39289bf2a07ff.tar.gz
gsoc2013-evolution-0a3fde6ecdb3ee07ab13fcf5bdf39289bf2a07ff.tar.zst
gsoc2013-evolution-0a3fde6ecdb3ee07ab13fcf5bdf39289bf2a07ff.zip
Remove the 'FIXME: remove because this isn't required...' comment for
2001-02-22 Jeffrey Stedfast <fejj@ximian.com> * camel-folder.h: Remove the 'FIXME: remove because this isn't required...' comment for copy_message_to since we now need and cherish its existance in the filter-driver code ;-) * camel-filter-driver.c (camel_filter_driver_filter_message): Now takes a UID and CamelFolder arguments (which can be NULL) to allow for possible optimizations when copying messages between folders on the same store. (camel_filter_driver_filter_mbox): Updated (passes NULL for both since this case can't be optimized anyway). (camel_filter_driver_filter_folder): Updated to pass in the uid and folder of the message. svn path=/trunk/; revision=8346
Diffstat (limited to 'camel/camel-filter-driver.h')
-rw-r--r--camel/camel-filter-driver.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/camel/camel-filter-driver.h b/camel/camel-filter-driver.h
index 74803acfcd..113eec28ed 100644
--- a/camel/camel-filter-driver.h
+++ b/camel/camel-filter-driver.h
@@ -64,15 +64,20 @@ CamelFilterDriver *camel_filter_driver_new (CamelFilterGetFolderFunc fetche
/* modifiers */
void camel_filter_driver_set_logfile (CamelFilterDriver *d, FILE *logfile);
-void camel_filter_driver_set_status_func (CamelFilterDriver *d, CamelFilterStatusFunc *func, void *data);
+void camel_filter_driver_set_status_func (CamelFilterDriver *d, CamelFilterStatusFunc *func,
+ void *data);
void camel_filter_driver_set_default_folder (CamelFilterDriver *d, CamelFolder *def);
-void camel_filter_driver_add_rule (CamelFilterDriver *d, const char *name, const char *match, const char *action);
+void camel_filter_driver_add_rule (CamelFilterDriver *d, const char *name, const char *match,
+ const char *action);
/*void camel_filter_driver_set_global(CamelFilterDriver *, const char *name, const char *value);*/
-void camel_filter_driver_filter_message (CamelFilterDriver *driver, CamelMimeMessage *message, CamelMessageInfo *info,
- const char *source_url, CamelException *ex);
-void camel_filter_driver_filter_mbox (CamelFilterDriver *driver, const char *mbox, CamelException *ex);
+void camel_filter_driver_filter_message (CamelFilterDriver *driver, CamelMimeMessage *message,
+ CamelMessageInfo *info, const char *uri,
+ CamelFolder *source, const char *source_url,
+ CamelException *ex);
+void camel_filter_driver_filter_mbox (CamelFilterDriver *driver, const char *mbox,
+ CamelException *ex);
void camel_filter_driver_filter_folder (CamelFilterDriver *driver, CamelFolder *folder,
GPtrArray *uids, gboolean remove, CamelException *ex);