23#ifndef MUTT_MH_SEQUENCE_H
24#define MUTT_MH_SEQUENCE_H
32#define MH_SEQ_NO_FLAGS 0
33#define MH_SEQ_UNSEEN (1 << 0)
34#define MH_SEQ_REPLIED (1 << 1)
35#define MH_SEQ_FLAGGED (1 << 2)
void mh_seq_add_one(struct Mailbox *m, int n, bool unseen, bool flagged, bool replied)
Update the flags for one sequence.
MhSeqFlags mh_seq_check(struct MhSequences *mhs, int i)
Get the flags for a given sequence.
void mh_seq_free(struct MhSequences *mhs)
Free some sequences.
int mh_seq_changed(struct Mailbox *m)
Has the mailbox changed.
uint8_t MhSeqFlags
Flags, e.g. MH_SEQ_UNSEEN.
void mh_seq_update(struct Mailbox *m)
Update sequence numbers.
int mh_seq_read(struct MhSequences *mhs, const char *path)
Read a set of MH sequences.
Set of MH sequence numbers.
MhSeqFlags * flags
Flags for each email.
int max
Number of flags stored.