NeoMutt  2023-03-22-27-g3cb248
Teaching an old dog new tricks
DOXYGEN
attachments.h
Go to the documentation of this file.
1
23#ifndef MUTT_ATTACH_ATTACHMENTS_H
24#define MUTT_ATTACH_ATTACHMENTS_H
25
26#include <stdio.h>
27
28struct Email;
29struct Mailbox;
30
39{
43};
44
45void attach_init(void);
46void attach_free(void);
47
48void mutt_attachments_reset (struct Mailbox *m);
49int mutt_count_body_parts (const struct Mailbox *m, struct Email *e, FILE *fp);
50void mutt_parse_mime_message(struct Email *e, FILE *fp);
51
52#endif /* MUTT_ATTACH_ATTACHMENTS_H */
void mutt_attachments_reset(struct Mailbox *m)
Reset the attachment count for all Emails.
Definition: attachments.c:286
void mutt_parse_mime_message(struct Email *e, FILE *fp)
Parse a MIME email.
Definition: attachments.c:592
NotifyAttach
Attachments notification types.
Definition: attachments.h:39
@ NT_ATTACH_DELETE
Attachment regex has been deleted.
Definition: attachments.h:41
@ NT_ATTACH_DELETE_ALL
All Attachment regexes have been deleted.
Definition: attachments.h:42
@ NT_ATTACH_ADD
Attachment regex has been added.
Definition: attachments.h:40
void attach_free(void)
Free the attachments lists.
Definition: attachments.c:90
int mutt_count_body_parts(const struct Mailbox *m, struct Email *e, FILE *fp)
Count the MIME Body parts.
Definition: attachments.c:250
void attach_init(void)
Set up the attachments lists.
Definition: attachments.c:104
The envelope/body of an email.
Definition: email.h:37
A mailbox.
Definition: mailbox.h:79