Mbox local mailbox type. More...
Go to the source code of this file.
Data Structures | |
struct | MboxAccountData |
Mbox-specific Account data -. More... | |
Macros | |
#define | MMDF_SEP "\001\001\001\001\n" |
Functions | |
enum MxStatus | mbox_check (struct Mailbox *m, struct stat *st, bool check_stats) |
enum MailboxType | mbox_path_probe (const char *path, const struct stat *st) |
Is this an mbox Mailbox? - Implements MxOps::path_probe() -. | |
void | mbox_reset_atime (struct Mailbox *m, struct stat *st) |
Reset the access time on the mailbox file. | |
Variables | |
const struct MxOps | MxMboxOps |
Mbox Mailbox - Implements MxOps -. | |
const struct MxOps | MxMmdfOps |
MMDF Mailbox - Implements MxOps -. | |
Mbox local mailbox type.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file lib.h.
void mbox_reset_atime | ( | struct Mailbox * | m, |
struct stat * | st | ||
) |
Reset the access time on the mailbox file.
m | Mailbox |
st | Timestamp |
if mailbox has at least 1 new message, sets mtime > atime of mailbox so mailbox check reports new mail
Definition at line 747 of file mbox.c.