index-search-private.h revision e15b305e90c9834734ccf35ed78f0ad29d570ee9
#ifndef INDEX_SEARCH_PRIVATE_H
#define INDEX_SEARCH_PRIVATE_H
#include "mail-storage-private.h"
struct index_search_context {
struct mail_search_context mail_ctx;
struct mail_index_view *view;
struct index_mail *cur_imail;
struct mail_thread_context *thread_ctx;
unsigned int unused_mail_idx;
unsigned int max_mails;
struct timeval last_nonblock_timeval;
unsigned long long cost, next_time_check_cost;
unsigned int failed:1;
unsigned int sorted:1;
unsigned int have_seqsets:1;
unsigned int have_index_args:1;
unsigned int have_mailbox_args:1;
};
#endif