diff options
author | Peter Williams <peterw@src.gnome.org> | 2000-08-15 03:07:06 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2000-08-15 03:07:06 +0800 |
commit | 1f10ac10737d23e1e2a1243b4baccb5839f02e5d (patch) | |
tree | cef44eb2f4cc9422460abc176e1a09f8fdfa4790 /camel/camel-folder-search.h | |
parent | a22313c0a44338909cb84ca2b262d8b8217d65bc (diff) | |
download | gsoc2013-evolution-1f10ac10737d23e1e2a1243b4baccb5839f02e5d.tar gsoc2013-evolution-1f10ac10737d23e1e2a1243b4baccb5839f02e5d.tar.gz gsoc2013-evolution-1f10ac10737d23e1e2a1243b4baccb5839f02e5d.tar.bz2 gsoc2013-evolution-1f10ac10737d23e1e2a1243b4baccb5839f02e5d.tar.lz gsoc2013-evolution-1f10ac10737d23e1e2a1243b4baccb5839f02e5d.tar.xz gsoc2013-evolution-1f10ac10737d23e1e2a1243b4baccb5839f02e5d.tar.zst gsoc2013-evolution-1f10ac10737d23e1e2a1243b4baccb5839f02e5d.zip |
Infrastructure for date-based queries
svn path=/trunk/; revision=4838
Diffstat (limited to 'camel/camel-folder-search.h')
-rw-r--r-- | camel/camel-folder-search.h | 9 |
1 files changed, 9 insertions, 0 deletions
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); |