24 #ifndef MUTT_RECVATTACH_H 25 #define MUTT_RECVATTACH_H 48 const char *
attach_format_str(
char *buf,
size_t buflen,
size_t col,
int cols,
char op,
const char *src,
const char *prec,
const char *if_str,
const char *else_str, intptr_t data,
MuttFormatFlags flags);
void mutt_generate_recvattach_list(struct AttachCtx *actx, struct Email *e, struct Body *parts, FILE *fp, int parent_type, int level, bool decrypted)
Create a list of attachments.
The envelope/body of an email.
char * C_AttachSep
Config: Separator to add between saved/printed/piped attachments.
void dlg_select_attachment(struct Email *e)
Show the attachments in a Menu.
char * C_MessageFormat
Config: printf-like format string for listing attached messages.
char * C_AttachSaveDir
Config: Default directory where attachments are saved.
const char * attach_format_str(char *buf, size_t buflen, size_t col, int cols, char op, const char *src, const char *prec, const char *if_str, const char *else_str, intptr_t data, MuttFormatFlags flags)
Format a string for the attachment menu - Implements format_t.
bool C_AttachSplit
Config: Save/print/pipe tagged messages individually.
bool C_DigestCollapse
Config: Hide the subparts of a multipart/digest.
char * C_AttachSaveWithoutPrompting
Config: If true, then don't prompt to save.
void mutt_update_tree(struct AttachCtx *actx)
Refresh the list of attachments.
void mutt_attach_init(struct AttachCtx *actx)
Create a new Attachment context.