view src/lib-storage/index/index-search-result.h @ 21604:fb8ef6e2c2fe

lib-storage: Add mail_sort_max_read_count setting. This controls how many slow mail accesses sorting can perform before it fails: a NO [LIMIT] Requested sort would have taken too long The SORT reply is still returned, but it's likely not correct.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Fri, 17 Feb 2017 19:07:53 +0200
parents b42ccb84887f
children
line wrap: on
line source

#ifndef INDEX_SEARCH_RESULT_H
#define INDEX_SEARCH_RESULT_H

int index_search_result_update_flags(struct mail_search_result *result,
				     const ARRAY_TYPE(seq_range) *uids);
int index_search_result_update_appends(struct mail_search_result *result,
				       unsigned int old_messages_count);
void index_search_results_update_expunges(struct mailbox *box,
					  const ARRAY_TYPE(seq_range) *expunges);

#endif