NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
message.h
Go to the documentation of this file.
1
23#ifndef MUTT_MAILDIR_MESSAGE_H
24#define MUTT_MAILDIR_MESSAGE_H
25
26#include <stdbool.h>
27
28struct Email;
29struct Mailbox;
30struct Message;
31
32int maildir_msg_close (struct Mailbox *m, struct Message *msg);
33int maildir_msg_commit (struct Mailbox *m, struct Message *msg);
34bool maildir_msg_open_new (struct Mailbox *m, struct Message *msg, const struct Email *e);
35bool maildir_msg_open (struct Mailbox *m, struct Message *msg, struct Email *e);
36int maildir_msg_save_hcache(struct Mailbox *m, struct Email *e);
37
38#endif /* MUTT_MAILDIR_MESSAGE_H */
int maildir_msg_close(struct Mailbox *m, struct Message *msg)
Close an email - Implements MxOps::msg_close() -.
Definition: message.c:614
int maildir_msg_commit(struct Mailbox *m, struct Message *msg)
Save changes to an email - Implements MxOps::msg_commit() -.
Definition: message.c:604
bool maildir_msg_open_new(struct Mailbox *m, struct Message *msg, const struct Email *e)
Open a new message in a Mailbox - Implements MxOps::msg_open_new() -.
Definition: message.c:532
bool maildir_msg_open(struct Mailbox *m, struct Message *msg, struct Email *e)
Open an email message in a Mailbox - Implements MxOps::msg_open() -.
Definition: message.c:505
int maildir_msg_save_hcache(struct Mailbox *m, struct Email *e)
Save message to the header cache - Implements MxOps::msg_save_hcache() -.
Definition: message.c:622
The envelope/body of an email.
Definition: email.h:39
A mailbox.
Definition: mailbox.h:79
A local copy of an email.
Definition: message.h:34