NeoMutt  2024-04-25-1-g3de005
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;
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:60
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
Time value with nanosecond precision.
Definition: file.h:51