diff src/lib-storage/mail-search.h @ 5599:6789ba80419b HEAD

Parse search dates already in IMAP code.
author Timo Sirainen <tss@iki.fi>
date Sun, 13 May 2007 16:23:02 +0300
parents b382b21409b5
children e4eb71ae8e96
line wrap: on
line diff
--- a/src/lib-storage/mail-search.h	Sun May 13 15:17:09 2007 +0300
+++ b/src/lib-storage/mail-search.h	Sun May 13 16:23:02 2007 +0300
@@ -20,10 +20,10 @@
 
 	/* dates */
 	SEARCH_BEFORE,
-	SEARCH_ON,
+	SEARCH_ON, /* time must point to beginning of the day */
 	SEARCH_SINCE,
 	SEARCH_SENTBEFORE,
-	SEARCH_SENTON,
+	SEARCH_SENTON, /* time must point to beginning of the day */
 	SEARCH_SENTSINCE,
 
 	/* sizes */
@@ -54,6 +54,7 @@
 		struct mail_search_arg *subargs;
                 struct mail_search_seqset *seqset;
 		const char *str;
+		time_t time;
 	} value;
 
         void *context;