NeoMutt  2024-11-14-34-g5aaf0d
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
mdata.h
Go to the documentation of this file.
1
23#ifndef MUTT_MH_MDATA_H
24#define MUTT_MH_MDATA_H
25
26#include <sys/types.h>
27#include <time.h>
28
29struct Mailbox;
30
35{
36 struct timespec mtime;
37 struct timespec mtime_seq;
38 mode_t umask;
39};
40
41void mh_mdata_free(void **ptr);
42struct MhMboxData *mh_mdata_get(struct Mailbox *m);
43struct MhMboxData *mh_mdata_new(void);
44
45#endif /* MUTT_MH_MDATA_H */
void mh_mdata_free(void **ptr)
Free the private Mailbox data - Implements Mailbox::mdata_free() -.
Definition: mdata.c:37
struct MhMboxData * mh_mdata_get(struct Mailbox *m)
Get the private data for this Mailbox.
Definition: mdata.c:59
struct MhMboxData * mh_mdata_new(void)
Create a new MhMboxData object.
Definition: mdata.c:49
A mailbox.
Definition: mailbox.h:79
Mh-specific Mailbox data -.
Definition: mdata.h:35
mode_t umask
umask to use when creating files
Definition: mdata.h:38
struct timespec mtime
Time Mailbox was last changed.
Definition: mdata.h:36
struct timespec mtime_seq
Time '.mh_sequences' was last changed.
Definition: mdata.h:37