/usr/include/dovecot/index-search-private.h is in dovecot-dev 1:2.2.22-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | #ifndef INDEX_SEARCH_PRIVATE_H
#define INDEX_SEARCH_PRIVATE_H
#include "mail-storage-private.h"
#include <sys/time.h>
struct index_search_context {
struct mail_search_context mail_ctx;
struct mail_index_view *view;
struct mailbox *box;
uint32_t pvt_uid, pvt_seq;
enum mail_fetch_field extra_wanted_fields;
struct mailbox_header_lookup_ctx *extra_wanted_headers;
uint32_t seq1, seq2;
struct mail *cur_mail;
struct index_mail *cur_imail;
struct mail_thread_context *thread_ctx;
ARRAY(struct mail *) mails;
unsigned int unused_mail_idx;
unsigned int max_mails;
struct timeval search_start_time, last_notify;
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;
};
struct mail *index_search_get_mail(struct index_search_context *ctx);
#endif
|