Mercurial > dovecot > original-hg > dovecot-1.2
diff src/lib-storage/mail-storage.h @ 7642:077bb84e9e77 HEAD
Make mail_search_args an independent structure that can be used for multiple
separate searches.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 04 Jun 2008 00:51:58 +0300 |
parents | 5d3b6a766032 |
children | 879208fdc7e3 |
line wrap: on
line diff
--- a/src/lib-storage/mail-storage.h Sun Mar 16 12:10:57 2008 +0200 +++ b/src/lib-storage/mail-storage.h Wed Jun 04 00:51:58 2008 +0300 @@ -158,7 +158,7 @@ struct message_part; struct mail_namespace; struct mail_storage; -struct mail_search_arg; +struct mail_search_args; struct mail_keywords; struct mail_save_context; struct mailbox; @@ -376,7 +376,7 @@ returned in the requested order, otherwise from first to last. */ struct mail_search_context * mailbox_search_init(struct mailbox_transaction_context *t, - const char *charset, struct mail_search_arg *args, + struct mail_search_args *args, const enum mail_sort_type *sort_program); /* Deinitialize search request. */ int mailbox_search_deinit(struct mail_search_context **ctx);