[dovecot-cvs] dovecot/src/lib-storage mail-search.h,1.16,1.17

tss at dovecot.org tss at dovecot.org
Sun May 13 16:23:06 EEST 2007


Update of /var/lib/cvs/dovecot/src/lib-storage
In directory talvi:/tmp/cvs-serv12374/lib-storage

Modified Files:
	mail-search.h 
Log Message:
Parse search dates already in IMAP code.



Index: mail-search.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/mail-search.h,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- mail-search.h	20 Dec 2006 21:26:36 -0000	1.16
+++ mail-search.h	13 May 2007 13:23:04 -0000	1.17
@@ -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;



More information about the dovecot-cvs mailing list