NeoMutt  2025-12-11-911-gd8d604
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
recvattach.h
Go to the documentation of this file.
1
22
23#ifndef MUTT_ATTACH_RECVATTACH_H
24#define MUTT_ATTACH_RECVATTACH_H
25
26#include <stdbool.h>
27#include <stdio.h>
28
29struct AttachCtx;
30struct AttachPtrArray;
31struct Body;
32struct BodyArray;
33struct ConfigSubset;
34struct Email;
35struct MailboxView;
36struct Menu;
37
38void mutt_attach_init(struct AttachCtx *actx);
39void mutt_update_tree(struct AttachCtx *actx);
40
41void dlg_attach(struct ConfigSubset *sub, struct MailboxView *mv, struct Email *e, FILE *fp, bool attach_msg);
42
43void mutt_generate_recvattach_list(struct AttachCtx *actx, struct Email *e, struct Body *parts, FILE *fp, int parent_type, int level, bool decrypted);
44struct AttachPtr *current_attachment(struct AttachCtx *actx, struct Menu *menu);
45void mutt_update_recvattach_menu(struct AttachCtx *actx, struct Menu *menu, bool init);
46void recvattach_edit_content_type(struct AttachCtx *actx, struct Menu *menu, struct Email *e);
47
48int aa_add_selection(struct AttachPtrArray *aa, struct AttachCtx *actx, struct Menu *menu, bool use_tagged, int count);
49int ba_add_selection(struct BodyArray *ba, struct AttachCtx *actx, struct Menu *menu, bool use_tagged, int count);
50
51#endif /* MUTT_ATTACH_RECVATTACH_H */
void dlg_attach(struct ConfigSubset *sub, struct MailboxView *mv, struct Email *e, FILE *fp, bool attach_msg)
Show the attachments in a Menu -.
Definition dlg_attach.c:208
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.
Definition recvattach.c:71
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.
Definition recvattach.c:116
int aa_add_selection(struct AttachPtrArray *aa, struct AttachCtx *actx, struct Menu *menu, bool use_tagged, int count)
Build a working set of Attachments for an action.
Definition selection.c:125
int ba_add_selection(struct BodyArray *ba, struct AttachCtx *actx, struct Menu *menu, bool use_tagged, int count)
Build a working set of attachment bodies for an action.
Definition selection.c:164
void recvattach_edit_content_type(struct AttachCtx *actx, struct Menu *menu, struct Email *e)
Edit the content type of an attachment.
Definition recvattach.c:887
A set of attachments.
Definition attach.h:65
An email to which things will be attached.
Definition attach.h:36
The body of an email.
Definition body.h:36
A set of inherited config items.
Definition subset.h:46
The envelope/body of an email.
Definition email.h:39
View of a Mailbox.
Definition mview.h:40
Definition lib.h:86
struct ConfigSubset * sub
Inherited config items.
Definition lib.h:95