From f7548d6d28c313cf80e6f3ef89aed16a19815df1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 11:51:24 +0200 Subject: Adding upstream version 1:2.3.19.1+dfsg1. Signed-off-by: Daniel Baumann --- src/lib-storage/index/imapc/imapc-search.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/lib-storage/index/imapc/imapc-search.h (limited to 'src/lib-storage/index/imapc/imapc-search.h') diff --git a/src/lib-storage/index/imapc/imapc-search.h b/src/lib-storage/index/imapc/imapc-search.h new file mode 100644 index 0000000..0966569 --- /dev/null +++ b/src/lib-storage/index/imapc/imapc-search.h @@ -0,0 +1,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 -- cgit v1.2.3