NeoMutt  2022-04-29-215-gc12b98
Teaching an old dog new tricks
DOXYGEN
mdemail.h
Go to the documentation of this file.
1
23#ifndef MUTT_MAILDIR_MDEMAIL_H
24#define MUTT_MAILDIR_MDEMAIL_H
25
26#include <stdbool.h>
27#include <sys/types.h>
28#include "mutt/lib.h"
29
33struct MdEmail
34{
35 struct Email *email;
37 bool header_parsed : 1;
38 ino_t inode;
39};
40ARRAY_HEAD(MdEmailArray, struct MdEmail *);
41
42void maildir_entry_free(struct MdEmail **ptr);
43struct MdEmail *maildir_entry_new(void);
44void maildirarray_clear(struct MdEmailArray *mda);
45
46#endif /* MUTT_MAILDIR_MDEMAIL_H */
ARRAY_HEAD(MdEmailArray, struct MdEmail *)
void maildir_entry_free(struct MdEmail **ptr)
Free a Maildir object.
Definition: mdemail.c:48
struct MdEmail * maildir_entry_new(void)
Create a new Maildir entry.
Definition: mdemail.c:39
void maildirarray_clear(struct MdEmailArray *mda)
Free a Maildir array.
Definition: mdemail.c:64
Convenience wrapper for the library headers.
The envelope/body of an email.
Definition: email.h:37
A Maildir Email helper.
Definition: mdemail.h:34
bool header_parsed
Definition: mdemail.h:37
char * canon_fname
Definition: mdemail.h:36
struct Email * email
Definition: mdemail.h:35
ino_t inode
Definition: mdemail.h:38