aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-filter-driver.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-03-19 09:34:50 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-03-19 09:34:50 +0800
commit93314d904125e37d567b4669bd3c0170ab8d7e4e (patch)
tree8967fc2e9bd02da2df7017988fb530698d20db0a /camel/camel-filter-driver.h
parent5e96f5b6393b531f1f8d26a02e58e48d1ba4a973 (diff)
downloadgsoc2013-evolution-93314d904125e37d567b4669bd3c0170ab8d7e4e.tar.gz
gsoc2013-evolution-93314d904125e37d567b4669bd3c0170ab8d7e4e.tar.zst
gsoc2013-evolution-93314d904125e37d567b4669bd3c0170ab8d7e4e.zip
Document and modify to return a boolean value denoting whether or not
2001-03-18 Jeffrey Stedfast <fejj@ximian.com> * camel-filter-driver.c (camel_filter_driver_filter_message): Document and modify to return a boolean value denoting whether or not errors occured during processing. (camel_filter_driver_filter_mbox): Same as above and also modified to check return codes of filter_message rather than relying only on whether or not the exception was set (as it's possible to pass in NULL for the exception). (camel_filter_driver_filter_folder): Same as above. * camel-mime-utils.c (header_param_list_format_append): Quote the param value if it contains whitespace as well. svn path=/trunk/; revision=8808
Diffstat (limited to 'camel/camel-filter-driver.h')
-rw-r--r--camel/camel-filter-driver.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/camel/camel-filter-driver.h b/camel/camel-filter-driver.h
index 113eec28ed..72737d31de 100644
--- a/camel/camel-filter-driver.h
+++ b/camel/camel-filter-driver.h
@@ -72,14 +72,14 @@ void camel_filter_driver_add_rule (CamelFilterDriver *d, const char *name, con
/*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 *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);
+gboolean camel_filter_driver_filter_message (CamelFilterDriver *driver, CamelMimeMessage *message,
+ CamelMessageInfo *info, const char *uri,
+ CamelFolder *source, const char *source_url,
+ CamelException *ex);
+gboolean camel_filter_driver_filter_mbox (CamelFilterDriver *driver, const char *mbox,
+ CamelException *ex);
+gboolean camel_filter_driver_filter_folder (CamelFilterDriver *driver, CamelFolder *folder,
+ GPtrArray *uids, gboolean remove, CamelException *ex);
#if 0
/* generate the search query/action string for a filter option */