blob: 0966569ca55826221e10ef88aeb70ac479b5a80d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef IMAPC_SEARCH_H
#define IMAPC_SEARCH_H
struct mail_search_context *
imapc_search_init(struct mailbox_transaction_context *t,
struct mail_search_args *args,
const enum mail_sort_type *sort_program,
enum mail_fetch_field wanted_fields,
struct mailbox_header_lookup_ctx *wanted_headers);
bool imapc_search_next_update_seq(struct mail_search_context *ctx);
int imapc_search_deinit(struct mail_search_context *ctx);
void imapc_search_reply_search(const struct imap_arg *args,
struct imapc_mailbox *mbox);
void imapc_search_reply_esearch(const struct imap_arg *args,
struct imapc_mailbox *mbox);
#endif
|