NeoMutt  2024-04-25-97-g7d2481
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
recvattach.h
Go to the documentation of this file.
1
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 Body;
31struct BodyArray;
32struct ConfigSubset;
33struct Email;
34struct MailboxView;
35struct Menu;
36
37void mutt_attach_init(struct AttachCtx *actx);
38void mutt_update_tree(struct AttachCtx *actx);
39
40void dlg_attachment(struct ConfigSubset *sub, struct MailboxView *mv, struct Email *e, FILE *fp, bool attach_msg);
41
42void mutt_generate_recvattach_list(struct AttachCtx *actx, struct Email *e, struct Body *parts, FILE *fp, int parent_type, int level, bool decrypted);
43struct AttachPtr *current_attachment(struct AttachCtx *actx, struct Menu *menu);
44void mutt_update_recvattach_menu(struct AttachCtx *actx, struct Menu *menu, bool init);
45void recvattach_edit_content_type(struct AttachCtx *actx, struct Menu *menu, struct Email *e);
46
47int ba_add_tagged(struct BodyArray *ba, struct AttachCtx *actx, struct Menu *menu);
48
49#endif /* MUTT_ATTACH_RECVATTACH_H */
void dlg_attachment(struct ConfigSubset *sub, struct MailboxView *mv, struct Email *e, FILE *fp, bool attach_msg)
Show the attachments in a Menu -.
Definition: dlg_attach.c:539
void mutt_update_recvattach_menu(struct AttachCtx *actx, struct Menu *menu, bool init)
Update the Attachment Menu.
Definition: recvattach.c:1214
struct AttachPtr * current_attachment(struct AttachCtx *actx, struct Menu *menu)
Get the current attachment.
Definition: recvattach.c:77
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.
Definition: recvattach.c:1091
void mutt_attach_init(struct AttachCtx *actx)
Create a new Attachment context.
Definition: recvattach.c:1189
void mutt_update_tree(struct AttachCtx *actx)
Refresh the list of attachments.
Definition: recvattach.c:122
void recvattach_edit_content_type(struct AttachCtx *actx, struct Menu *menu, struct Email *e)
Edit the content type of an attachment.
Definition: recvattach.c:932
int ba_add_tagged(struct BodyArray *ba, struct AttachCtx *actx, struct Menu *menu)
Get an array of tagged Attachments.
Definition: recvattach.c:1241
A set of attachments.
Definition: attach.h:65
An email to which things will be attached.
Definition: attach.h:37
The body of an email.
Definition: body.h:36
A set of inherited config items.
Definition: subset.h:47
The envelope/body of an email.
Definition: email.h:39
View of a Mailbox.
Definition: mview.h:40
Definition: lib.h:79
struct ConfigSubset * sub
Inherited config items.
Definition: lib.h:87