aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder-search.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-12-02 11:55:18 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-12-02 11:55:18 +0800
commit787d1833c052cc1acf54a1d7fae5c350bdec4f94 (patch)
treed6408ab60d0c3f876ce04f3570ffa1e35b92206f /camel/camel-folder-search.h
parentcd372acdcf941fa20889518a4ff90180ef4f0a64 (diff)
downloadgsoc2013-evolution-787d1833c052cc1acf54a1d7fae5c350bdec4f94.tar
gsoc2013-evolution-787d1833c052cc1acf54a1d7fae5c350bdec4f94.tar.gz
gsoc2013-evolution-787d1833c052cc1acf54a1d7fae5c350bdec4f94.tar.bz2
gsoc2013-evolution-787d1833c052cc1acf54a1d7fae5c350bdec4f94.tar.lz
gsoc2013-evolution-787d1833c052cc1acf54a1d7fae5c350bdec4f94.tar.xz
gsoc2013-evolution-787d1833c052cc1acf54a1d7fae5c350bdec4f94.tar.zst
gsoc2013-evolution-787d1833c052cc1acf54a1d7fae5c350bdec4f94.zip
Added system_flag to CamelFolderSearchClass
2000-12-01 Jeffrey Stedfast <fejj@helixcode.com> * camel-folder-search.h: Added system_flag to CamelFolderSearchClass * camel-folder-summary.c (camel_system_flag_get): Convenience function to return whether or not a flag is set using a string as the flag name. (camel_system_flag): Return the integer value of the flag string. * camel-folder-search.c (search_system_flag): New ESExp callback for allowing vfoldering on CamelMessageInfo flags. svn path=/trunk/; revision=6763
Diffstat (limited to 'camel/camel-folder-search.h')
-rw-r--r--camel/camel-folder-search.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/camel/camel-folder-search.h b/camel/camel-folder-search.h
index 3f04881fde..13f07ac71f 100644
--- a/camel/camel-folder-search.h
+++ b/camel/camel-folder-search.h
@@ -77,7 +77,10 @@ struct _CamelFolderSearchClass {
/* (user-tag "flagname") Returns the value of a user tag. Can only be used in match-all */
ESExpResult * (*user_tag)(struct _ESExp *f, int argc, struct _ESExpResult **argv, CamelFolderSearch *s);
-
+
+ /* (system-flag "flagname") Returns the value of a system flag. Can only be used in match-all */
+ ESExpResult * (*system_flag)(struct _ESExp *f, int argc, struct _ESExpResult **argv, CamelFolderSearch *s);
+
/* (get-sent-date) Retrieve the date that the message was sent on as a time_t */
ESExpResult * (*get_sent_date)(struct _ESExp *f, int argc, struct _ESExpResult **argv, CamelFolderSearch *s);