NeoMutt  2024-03-23-147-g885fbc
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
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;
30struct MailboxView;
31
40{
44};
45
46void attach_init(void);
47void attach_cleanup(void);
48
49void mutt_attachments_reset (struct MailboxView *mv);
50int mutt_count_body_parts (const struct Mailbox *m, struct Email *e, FILE *fp);
51void mutt_parse_mime_message(struct Email *e, FILE *fp);
52
53#endif /* MUTT_ATTACH_ATTACHMENTS_H */
void mutt_parse_mime_message(struct Email *e, FILE *fp)
Parse a MIME email.
Definition: attachments.c:597
void mutt_attachments_reset(struct MailboxView *mv)
Reset the attachment count for all Emails.
Definition: attachments.c:289
NotifyAttach
Attachments notification types.
Definition: attachments.h:40
@ NT_ATTACH_DELETE
Attachment regex has been deleted.
Definition: attachments.h:42
@ NT_ATTACH_DELETE_ALL
All Attachment regexes have been deleted.
Definition: attachments.h:43
@ NT_ATTACH_ADD
Attachment regex has been added.
Definition: attachments.h:41
int mutt_count_body_parts(const struct Mailbox *m, struct Email *e, FILE *fp)
Count the MIME Body parts.
Definition: attachments.c:252
void attach_init(void)
Set up the attachments lists.
Definition: attachments.c:106
void attach_cleanup(void)
Free the attachments lists.
Definition: attachments.c:92
The envelope/body of an email.
Definition: email.h:39
View of a Mailbox.
Definition: mview.h:40
A mailbox.
Definition: mailbox.h:79