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/mailbox-recent-flags.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/lib-storage/mailbox-recent-flags.h (limited to 'src/lib-storage/mailbox-recent-flags.h') diff --git a/src/lib-storage/mailbox-recent-flags.h b/src/lib-storage/mailbox-recent-flags.h new file mode 100644 index 0000000..d0cf389 --- /dev/null +++ b/src/lib-storage/mailbox-recent-flags.h @@ -0,0 +1,19 @@ +#ifndef MAILBOX_RECENT_FLAGS +#define MAILBOX_RECENT_FLAGS + +struct mailbox; +struct mail_index_view; + +void mailbox_recent_flags_set_uid(struct mailbox *box, uint32_t uid); +void mailbox_recent_flags_set_uid_forced(struct mailbox *box, uint32_t uid); +void mailbox_recent_flags_set_seqs(struct mailbox *box, + struct mail_index_view *view, + uint32_t seq1, uint32_t seq2); +bool mailbox_recent_flags_have_uid(struct mailbox *box, uint32_t uid); +void mailbox_recent_flags_reset(struct mailbox *box); +unsigned int mailbox_recent_flags_count(struct mailbox *box); +void mailbox_recent_flags_expunge_seqs(struct mailbox *box, + uint32_t seq1, uint32_t seq2); +void mailbox_recent_flags_expunge_uid(struct mailbox *box, uint32_t uid); + +#endif -- cgit v1.2.3