dovecot-1.2: Code comments updated.

dovecot at dovecot.org dovecot at dovecot.org
Thu Feb 12 00:31:01 EET 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/cc6ac9aefca5
changeset: 8746:cc6ac9aefca5
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Feb 11 17:30:52 2009 -0500
description:
Code comments updated.

diffstat:

1 file changed, 5 insertions(+), 3 deletions(-)
src/imap/imap-search-args.h |    8 +++++---

diffs (20 lines):

diff -r 22d70947597c -r cc6ac9aefca5 src/imap/imap-search-args.h
--- a/src/imap/imap-search-args.h	Tue Feb 10 23:21:02 2009 -0500
+++ b/src/imap/imap-search-args.h	Wed Feb 11 17:30:52 2009 -0500
@@ -15,11 +15,13 @@ int imap_search_args_build(struct client
 			   struct mail_search_args **search_args_r);
 
 /* Returns -1 if set is invalid, 0 if we have to wait for unambiguity,
-   1 if we can continue. */
-int imap_search_get_seqset(struct client_command_context *cmd,
+   1 if we were successful. search_args_r is set to contain either a seqset
+   or uidset. */
+int imap_search_get_anyset(struct client_command_context *cmd,
 			   const char *set, bool uid,
 			   struct mail_search_args **search_args_r);
-int imap_search_get_anyset(struct client_command_context *cmd,
+/* Like imap_search_get_anyset(), but always returns a seqset. */
+int imap_search_get_seqset(struct client_command_context *cmd,
 			   const char *set, bool uid,
 			   struct mail_search_args **search_args_r);
 


More information about the dovecot-cvs mailing list