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