diff options
author | Radek Doulik <rodo@ximian.com> | 2003-12-04 22:11:20 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2003-12-04 22:11:20 +0800 |
commit | 23017711eb711dc8e9296b4ed7a5a24d193fe6f2 (patch) | |
tree | f3a413d641c14de671637ef5e37b61034695eb4c /camel/camel-session.h | |
parent | 4c1234f54652f4db2ca5a8c01ea371f7ec061258 (diff) | |
download | gsoc2013-evolution-23017711eb711dc8e9296b4ed7a5a24d193fe6f2.tar.gz gsoc2013-evolution-23017711eb711dc8e9296b4ed7a5a24d193fe6f2.tar.zst gsoc2013-evolution-23017711eb711dc8e9296b4ed7a5a24d193fe6f2.zip |
check recent messages for junk mail
2003-12-04 Radek Doulik <rodo@ximian.com>
* camel-folder.c (folder_changed): check recent messages for junk
mail
* camel-session.c (camel_session_check_junk): new wrapper method
for check_junk flag
(camel_session_set_check_junk): ditto
* camel-session.h (struct _CamelSession): added check_junk flag
(if to check incoming mail for junk messages)
svn path=/trunk/; revision=23629
Diffstat (limited to 'camel/camel-session.h')
-rw-r--r-- | camel/camel-session.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/camel/camel-session.h b/camel/camel-session.h index 43abc614a8..e99d31a334 100644 --- a/camel/camel-session.h +++ b/camel/camel-session.h @@ -62,6 +62,7 @@ struct _CamelSession gboolean online; CamelJunkPlugin *junk_plugin; + gboolean check_junk; }; #ifdef ENABLE_THREADS @@ -179,6 +180,9 @@ CamelFilterDriver *camel_session_get_filter_driver (CamelSession *session, const char *type, CamelException *ex); +gboolean camel_session_check_junk (CamelSession *session); +void camel_session_set_check_junk (CamelSession *session, gboolean check_junk); + #ifdef ENABLE_THREADS struct _CamelSessionThreadOps { void (*receive)(CamelSession *session, struct _CamelSessionThreadMsg *m); |