NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
DOXYGEN
commands.h
Go to the documentation of this file.
1 
23 #ifndef MUTT_COMMANDS_H
24 #define MUTT_COMMANDS_H
25 
26 #include <stdbool.h>
27 #include <stdio.h>
28 
29 struct Body;
30 struct Email;
31 struct EmailList;
32 struct Envelope;
33 struct Mailbox;
34 struct MuttWindow;
35 
40 {
44 };
45 
50 {
51  SAVE_COPY = 0,
53 };
54 
55 void ci_bounce_message(struct Mailbox *m, struct EmailList *el);
56 void mutt_check_stats(struct Mailbox *m);
57 bool mutt_check_traditional_pgp(struct Mailbox *m, struct EmailList *el);
58 void mutt_commands_cleanup(void);
59 void mutt_display_address(struct Envelope *env);
60 int mutt_display_message(struct MuttWindow *win_index, struct MuttWindow *win_ibar, struct MuttWindow *win_pager, struct MuttWindow *win_pbar, struct Mailbox *m, struct Email *e);
61 bool mutt_edit_content_type(struct Email *e, struct Body *b, FILE *fp);
62 void mutt_enter_command(void);
63 void mutt_pipe_message(struct Mailbox *m, struct EmailList *el);
64 void mutt_print_message(struct Mailbox *m, struct EmailList *el);
65 int mutt_save_message(struct Mailbox *m, struct EmailList *el, enum MessageSaveOpt, enum MessageTransformOpt transform_opt);
66 int mutt_save_message_ctx(struct Mailbox *m_src, struct Email *e, enum MessageSaveOpt save_opt, enum MessageTransformOpt transform_opt, struct Mailbox *m_dst);
67 bool mutt_select_sort(bool reverse);
68 bool mutt_shell_escape(void);
69 
70 #endif /* MUTT_COMMANDS_H */
bool mutt_shell_escape(void)
invoke a command in a subshell
Definition: commands.c:943
Decrypt message.
Definition: commands.h:42
The envelope/body of an email.
Definition: email.h:37
void mutt_pipe_message(struct Mailbox *m, struct EmailList *el)
Pipe a message.
Definition: commands.c:760
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.
Definition: commands.c:1103
No transformation.
Definition: commands.h:41
bool mutt_select_sort(bool reverse)
Ask the user for a sort method.
Definition: commands.c:835
Copy message, making a duplicate in another mailbox.
Definition: commands.h:51
void mutt_display_address(struct Envelope *env)
Display the address of a message.
Definition: commands.c:1026
int mutt_display_message(struct MuttWindow *win_index, struct MuttWindow *win_ibar, struct MuttWindow *win_pager, struct MuttWindow *win_pbar, struct Mailbox *m, struct Email *e)
Display a message in the pager.
Definition: commands.c:207
The body of an email.
Definition: body.h:34
bool mutt_check_traditional_pgp(struct Mailbox *m, struct EmailList *el)
Check if a message has inline PGP content.
Definition: commands.c:1574
void mutt_commands_cleanup(void)
Clean up commands globals.
Definition: commands.c:95
void mutt_enter_command(void)
enter a neomutt command
Definition: commands.c:978
MessageTransformOpt
Message transformation option.
Definition: commands.h:39
void mutt_print_message(struct Mailbox *m, struct EmailList *el)
Print a message.
Definition: commands.c:791
A mailbox.
Definition: mailbox.h:81
bool mutt_edit_content_type(struct Email *e, struct Body *b, FILE *fp)
Edit the content type of an attachment.
Definition: commands.c:1433
void mutt_check_stats(struct Mailbox *m)
Forcibly update mailbox stats.
Definition: commands.c:1590
Move message to another mailbox, removing the original.
Definition: commands.h:52
void ci_bounce_message(struct Mailbox *m, struct EmailList *el)
Bounce an email.
Definition: commands.c:434
MessageSaveOpt
Message save option.
Definition: commands.h:49
Decode message.
Definition: commands.h:43
int mutt_save_message(struct Mailbox *m, struct EmailList *el, enum MessageSaveOpt, enum MessageTransformOpt transform_opt)
Save an email.
Definition: commands.c:1144
The header of an Email.
Definition: envelope.h:54