NeoMutt  2021-10-29-225-gb9986f
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 
28 struct Email;
29 struct Mailbox;
30 
37 {
41 };
42 
43 void attach_init(void);
44 void attach_free(void);
45 
46 void mutt_attachments_reset (struct Mailbox *m);
47 int mutt_count_body_parts (struct Mailbox *m, struct Email *e, FILE *fp);
48 void mutt_parse_mime_message(struct Email *e, FILE *fp);
49 
50 #endif /* MUTT_ATTACH_ATTACHMENTS_H */
void mutt_attachments_reset(struct Mailbox *m)
Reset the attachment count for all Emails.
Definition: attachments.c:287
void mutt_parse_mime_message(struct Email *e, FILE *fp)
Parse a MIME email.
Definition: attachments.c:593
NotifyAttach
Attachments notification types.
Definition: attachments.h:37
@ NT_ATTACH_DELETE
Attachment regex has been deleted.
Definition: attachments.h:39
@ NT_ATTACH_DELETE_ALL
All Attachment regexes have been deleted.
Definition: attachments.h:40
@ NT_ATTACH_ADD
Attachment regex has been added.
Definition: attachments.h:38
void attach_free(void)
Free the attachments lists.
Definition: attachments.c:92
void attach_init(void)
Set up the attachments lists.
Definition: attachments.c:106
int mutt_count_body_parts(struct Mailbox *m, struct Email *e, FILE *fp)
Count the MIME Body parts.
Definition: attachments.c:253
The envelope/body of an email.
Definition: email.h:37
A mailbox.
Definition: mailbox.h:82