From 1f10ac10737d23e1e2a1243b4baccb5839f02e5d Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Mon, 14 Aug 2000 19:07:06 +0000 Subject: Infrastructure for date-based queries svn path=/trunk/; revision=4838 --- camel/camel-folder-search.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'camel/camel-folder-search.h') diff --git a/camel/camel-folder-search.h b/camel/camel-folder-search.h index d1f165d842..aca9ff27f7 100644 --- a/camel/camel-folder-search.h +++ b/camel/camel-folder-search.h @@ -75,6 +75,15 @@ 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); + + /* (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); + + /* (get-received-date) Retrieve the date that the message was received on as a time_t */ + ESExpResult * (*get_received_date)(struct _ESExp *f, int argc, struct _ESExpResult **argv, CamelFolderSearch *s); + + /* (get-current-date) Retrieve 'now' as a time_t */ + ESExpResult * (*get_current_date)(struct _ESExp *f, int argc, struct _ESExpResult **argv, CamelFolderSearch *s); }; guint camel_folder_search_get_type (void); -- cgit v1.2.3