447 struct KeyEvent event = { OP_NULL, OP_NULL };
bool cs_subset_bool(const struct ConfigSubset *sub, const char *name)
Get a boolean config item by name.
Convenience wrapper for the config headers.
Convenience wrapper for the core headers.
struct KeyEvent mutt_getch(void)
Read a character from the input buffer.
void mutt_beep(bool force)
Irritate the user.
void mutt_set_header_color(struct Mailbox *m, struct Email *e)
Select a colour for a message.
Structs that make up an email.
void mutt_set_flag_update(struct Mailbox *m, struct Email *e, enum MessageType flag, bool bf, bool upd_mbox)
Set a flag on an email.
void mutt_emails_set_flag(struct Mailbox *m, struct EmailList *el, enum MessageType flag, bool bf)
Set flag on messages.
int mutt_change_flag(struct Mailbox *m, struct EmailList *el, bool bf)
Change the flag on a Message.
int mutt_thread_set_flag(struct Mailbox *m, struct Email *e, enum MessageType flag, bool bf, bool subthread)
Set a flag on an entire thread.
Convenience wrapper for the gui headers.
GUI manage the main index (list of emails)
@ NT_MAILBOX_CHANGE
Mailbox has been changed.
#define MUTT_ACL_DELETE
Delete a message.
#define MUTT_ACL_WRITE
Write to a message (for flagging or linking threads)
@ MUTT_IMAP
'IMAP' Mailbox type
@ MUTT_MAILDIR
'Maildir' Mailbox type
#define MUTT_ACL_SEEN
Change the 'seen' status of a message.
struct MuttWindow * msgwin_get_window(void)
Get the Message Window pointer.
void msgwin_clear_text(void)
Clear the text in the Message Window.
Convenience wrapper for the library headers.
bool notify_send(struct Notify *notify, enum NotifyType event_type, int event_subtype, void *event_data)
Send out a notification message.
Many unsorted constants and some structs.
MessageType
To set flags or match patterns.
@ MUTT_READ
Messages that have been read.
@ MUTT_PURGE
Messages to be purged (bypass trash)
@ MUTT_TAG
Tagged messages.
@ MUTT_FLAG
Flagged messages.
@ MUTT_DELETE
Messages to be deleted.
@ MUTT_REPLIED
Messages that have been replied to.
enum MuttCursorState mutt_curses_set_cursor(enum MuttCursorState state)
Set the cursor state.
MuttCursorState
Cursor states for mutt_curses_set_cursor()
@ MUTT_CURSOR_VISIBLE
Display a normal cursor.
Create/manipulate threading in emails.
#define mutt_using_threads()
void window_redraw(struct MuttWindow *win)
Reflow, recalc and repaint a tree of Windows.
struct MuttWindow * window_set_focus(struct MuttWindow *win)
Set the Window focus.
void mutt_window_clrtoeol(struct MuttWindow *win)
Clear to the end of the line.
int mutt_window_mvprintw(struct MuttWindow *win, int col, int row, const char *fmt,...)
Move the cursor and write a formatted string to a Window.
@ NT_MAILBOX
Mailbox has changed, NotifyMailbox, EventMailbox.
All user-callable functions.
Prototypes for many functions.
#define mutt_set_flag(m, e, flag, bf)
#define STAILQ_FOREACH(var, head, field)
#define STAILQ_EMPTY(head)
struct Email * email
Email in the list.
The envelope/body of an email.
bool searched
Email has been searched.
bool purge
Skip trash folder when deleting.
bool old
Email is seen, but unread.
bool changed
Email has been edited.
bool flagged
Marked important?
bool replied
Email has been replied to.
bool deleted
Email is deleted.
bool trash
Message is marked as trashed on disk (used by the maildir_trash option)
bool tagged
Email is tagged.
struct MuttThread * thread
Thread of Emails.
An Event that happened to a Mailbox.
An event such as a keypress.
int op
Function opcode, e.g. OP_HELP.
bool changed
Mailbox has been modified.
int msg_new
Number of new messages.
AclFlags rights
ACL bits, see AclFlags.
enum MailboxType type
Mailbox type.
struct Notify * notify
Notifications: NotifyMailbox, EventMailbox.
int msg_deleted
Number of deleted messages.
int msg_flagged
Number of flagged messages.
bool readonly
Don't allow changes to the mailbox.
int msg_tagged
How many messages are tagged?
int msg_unread
Number of unread messages.
struct MuttThread * parent
Parent of this Thread.
struct MuttThread * child
Child of this Thread.
struct Email * message
Email this Thread refers to.
struct MuttThread * next
Next sibling Thread.
Container for Accounts, Notifications.
struct ConfigSubset * sub
Inherited config items.