23#ifndef MUTT_EXTERNAL_H
24#define MUTT_EXTERNAL_H
bool mutt_select_sort(bool reverse)
Ask the user for a sort method.
void mutt_print_message(struct Mailbox *m, struct EmailList *el)
Print a message.
void index_bounce_message(struct Mailbox *m, struct EmailList *el)
Bounce an email.
MessageTransformOpt
Message transformation option.
@ TRANSFORM_NONE
No transformation.
@ TRANSFORM_DECODE
Decode message.
@ TRANSFORM_DECRYPT
Decrypt message.
void mutt_enter_command(void)
Enter a neomutt command.
int mutt_save_message(struct Mailbox *m, struct EmailList *el, enum MessageSaveOpt, enum MessageTransformOpt transform_opt)
Save an email.
int mutt_save_message_ctx(struct Mailbox *m_src, struct Email *e, enum MessageSaveOpt save_opt, enum MessageTransformOpt transform_opt, struct Mailbox *m_dst)
Save a message to a given mailbox.
bool mutt_shell_escape(void)
Invoke a command in a subshell.
MessageSaveOpt
Message save option.
@ SAVE_MOVE
Move message to another mailbox, removing the original.
@ SAVE_COPY
Copy message, making a duplicate in another mailbox.
bool mutt_edit_content_type(struct Email *e, struct Body *b, FILE *fp)
Edit the content type of an attachment.
bool mutt_check_traditional_pgp(struct Mailbox *m, struct EmailList *el)
Check if a message has inline PGP content.
void commands_cleanup(void)
Clean up commands globals.
void mutt_pipe_message(struct Mailbox *m, struct EmailList *el)
Pipe a message.
void mutt_display_address(struct Envelope *env)
Display the address of a message.
The envelope/body of an email.