-/* return values from mx_check_mailbox() */
-enum {
- M_NEW_MAIL = 1, /* new mail received in mailbox */
- M_LOCKED, /* couldn't lock the mailbox */
- M_REOPENED, /* mailbox was reopened */
- M_FLAGS /* nondestructive flags change (IMAP) */
-};
-
-typedef struct {
- FILE *fp; /* pointer to the message data */
- char *path; /* path to temp file */
- short magic; /* type of mailbox this message belongs to */
- short write; /* nonzero if message is open for writing */
- struct {
- unsigned read:1;
- unsigned flagged:1;
- unsigned replied:1;
- } flags;
- time_t received; /* the time at which this message was received */
-} MESSAGE;
-