67 #define mutt_set_flag(m, e, flag, bf) mutt_set_flag_update(m, e, flag, bf, true) 76 char ***files,
int *numfiles,
struct EnterState *state);
84 #ifndef HAVE_WCSCASECMP 85 int wcscasecmp(
const wchar_t *a,
const wchar_t *b);
int mutt_complete(char *buf, size_t buflen)
Attempt to complete a partial pathname.
enum MailboxType type
Mailbox type.
int mutt_num_postponed(struct Mailbox *m, bool force)
Return the number of postponed messages.
int mutt_reply_observer(struct NotifyCallback *nc)
Listen for config changes to "reply_regex" - Implements observer_t.
The envelope/body of an email.
Data passed to a notification function.
int mutt_get_postponed(struct Context *ctx, struct Email *hdr, struct Email **cur, struct Buffer *fcc)
Recall a postponed message.
uint16_t CompletionFlags
Flags for mutt_enter_string_full(), e.g. MUTT_ALIAS.
MenuType
Types of GUI selections.
int mutt_is_quote_line(char *buf, regmatch_t *pmatch)
Is a line of message text a quote?
String manipulation buffer.
int mutt_enter_string(char *buf, size_t buflen, int col, CompletionFlags flags)
Ask the user for a string.
void mutt_help(enum MenuType menu, int wraplan)
Display the help menu.
uint16_t SecurityFlags
Flags, e.g. SEC_ENCRYPT.
int mutt_thread_set_flag(struct Email *e, int flag, bool bf, bool subthread)
Set a flag on an entire thread.
void mutt_signal_init(void)
Initialise the signal handling.
Many unsorted constants and some structs.
EvMessage
Edit or View a message.
int mutt_ev_message(struct Mailbox *m, struct EmailList *el, enum EvMessage action)
Edit or view a message.
Keep our place when entering a string.
XdgType
XDG variable types.
int wcscasecmp(const wchar_t *a, const wchar_t *b)
Compare two wide-character strings, ignoring case.
API for encryption/signing of emails.
int mutt_change_flag(struct Mailbox *m, struct EmailList *el, bool bf)
Change the flag on a Message.
void mutt_update_num_postponed(void)
Force the update of the number of postponed messages.
int mutt_enter_string_full(char *buf, size_t buflen, int col, CompletionFlags flags, bool multiple, char ***files, int *numfiles, struct EnterState *state)
Ask the user for a string.
int mutt_set_xdg_path(enum XdgType type, struct Buffer *buf)
Find an XDG path or its fallback.
void mutt_set_flag_update(struct Mailbox *m, struct Email *e, int flag, bool bf, bool upd_mbox)
Set a flag on an email.
SecurityFlags mutt_parse_crypt_hdr(const char *p, bool set_empty_signas, SecurityFlags crypt_app)
Parse a crypto header string.
Convenience wrapper for the library headers.
XDG system dir: /etc/xdg.
int mutt_prepare_template(FILE *fp, struct Mailbox *m, struct Email *e_new, struct Email *e, bool resend)
Prepare a message template.
int mutt_system(const char *cmd)
Run an external command.
void mutt_emails_set_flag(struct Mailbox *m, struct EmailList *el, int flag, bool bf)
Set flag on messages.