From 978bfbefbb3386979d93c5ef7d6294edaf3dd97b Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 22 Feb 2001 23:32:34 +0000 Subject: Implement a pseudo-header "x-camel-mlist" which just looks up in the 2001-02-23 Not Zed * camel-filter-search.c (check_header): Implement a pseudo-header "x-camel-mlist" which just looks up in the message info for a match. * camel-folder-search.c (check_header): Add pseudo-header "x-camel-mlist" which can be used to match on mailing list. svn path=/trunk/; revision=8355 --- camel/camel-folder-search.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'camel/camel-folder-search.h') diff --git a/camel/camel-folder-search.h b/camel/camel-folder-search.h index ff24950e53..e085ddf188 100644 --- a/camel/camel-folder-search.h +++ b/camel/camel-folder-search.h @@ -102,6 +102,9 @@ struct _CamelFolderSearchClass { /* (get-current-date) Retrieve 'now' as a time_t */ ESExpResult * (*get_current_date)(struct _ESExp *f, int argc, struct _ESExpResult **argv, CamelFolderSearch *s); + + /* (mlist-matches "mlist" ...) True if one of the mailing list matches */ + ESExpResult * (*mlist_matches)(struct _ESExp *f, int argc, struct _ESExpResult **argv, CamelFolderSearch *s); }; guint camel_folder_search_get_type (void); -- cgit v1.2.3