24#ifndef MUTT_ATTACH_RECVATTACH_H
25#define MUTT_ATTACH_RECVATTACH_H
44const 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);
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 -.
void dlg_select_attachment(struct ConfigSubset *sub, struct MailboxView *mv, struct Email *e, FILE *fp)
Show the attachments in a Menu.
void mutt_update_recvattach_menu(struct AttachCtx *actx, struct Menu *menu, bool init)
Update the Attachment Menu.
struct AttachPtr * current_attachment(struct AttachCtx *actx, struct Menu *menu)
Get the current attachment.
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.
void mutt_attach_init(struct AttachCtx *actx)
Create a new Attachment context.
void mutt_update_tree(struct AttachCtx *actx)
Refresh the list of attachments.
void recvattach_edit_content_type(struct AttachCtx *actx, struct Menu *menu, struct Email *e)
Edit the content type of an attachment.
int ba_add_tagged(struct BodyArray *ba, struct AttachCtx *actx, struct Menu *menu)
Get an array of tagged Attachments.
An email to which things will be attached.
A set of inherited config items.
The envelope/body of an email.