44#define _DONT_USE_CTYPE_INLINE_
52#ifdef HAVE_FGETS_UNLOCKED
53#define fgets fgets_unlocked
56#ifdef HAVE_FGETC_UNLOCKED
57#define fgetc fgetc_unlocked
bool StartupComplete
When the config has been read.
int mw_change_flag(struct Mailbox *m, struct EmailArray *ea, bool bf)
Change the flag on a Message -.
Many unsorted constants and some structs.
XdgType
XDG variable types.
@ XDG_CONFIG_HOME
XDG home dir: ~/.config.
@ XDG_CONFIG_DIRS
XDG system dir: /etc/xdg.
void mutt_set_flag(struct Mailbox *m, struct Email *e, enum MessageType flag, bool bf, bool upd_mbox)
Set a flag on an email.
int mutt_reply_observer(struct NotifyCallback *nc)
EvMessage
Edit or View a message.
@ EVM_VIEW
View the message.
@ EVM_EDIT
Edit the message.
void mutt_emails_set_flag(struct Mailbox *m, struct EmailArray *ea, enum MessageType flag, bool bf)
Set flag on messages.
short PostCount
Number of postponed (draft) emails.
void mutt_signal_init(void)
Initialise the signal handling.
int mutt_system(const char *cmd)
Run an external command.
int mutt_set_xdg_path(enum XdgType type, struct Buffer *buf)
Find an XDG path or its fallback.
int mutt_ev_message(struct Mailbox *m, struct EmailArray *ea, enum EvMessage action)
Edit or view 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.
void mutt_help(enum MenuType menu)
Display the Help Page.
MessageType
To set flags or match patterns.
@ MUTT_UNDELETE
Messages to be un-deleted.
@ MUTT_TRASH
Trashed messages.
@ MUTT_LIMIT
Messages in limited view.
@ MUTT_UNTAG
Messages to be un-tagged.
@ MUTT_SUPERSEDED
Superseded messages.
@ MUTT_EXPIRED
Expired messages.
@ MUTT_READ
Messages that have been read.
@ MUTT_PURGE
Messages to be purged (bypass trash)
@ MUTT_TAG
Tagged messages.
@ MUTT_FLAG
Flagged messages.
@ MUTT_DELETED
Deleted messages.
@ MUTT_DELETE
Messages to be deleted.
@ MUTT_UNREAD
Unread messages.
@ MUTT_REPLIED
Messages that have been replied to.
String manipulation buffer.
The envelope/body of an email.
Data passed to a notification function.
MenuType
Types of GUI selections.