view src/lib-storage/mailbox-recent-flags.h @ 19604:c996bc091c6b

master: Do not close stdout if going foreground This lets one to use /dev/stdout for logging. Mainly useful for testing purposes where we can generate log output to stdout and use tee to write it to a file for later examination.
author Aki Tuomi <aki.tuomi@dovecot.fi>
date Mon, 18 Jan 2016 15:50:23 +0200
parents 4673b93b04c6
children 617f9489d849
line wrap: on
line source

#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);

#endif