X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/14c29200cb58d3c4a0830265f2433849781858d0..24d1372aec0208946117089a703451c458a4c09a:/buffy.h?ds=inline diff --git a/buffy.h b/buffy.h index b86d1aa..d7ff3b4 100644 --- a/buffy.h +++ b/buffy.h @@ -22,8 +22,8 @@ typedef struct buffy_t { - char *path; - long size; + char path[_POSIX_PATH_MAX]; + off_t size; struct buffy_t *next; short new; /* mailbox has new mail */ short notified; /* user has been notified */ @@ -39,3 +39,7 @@ extern time_t BuffyDoneTime; /* last time we knew for sure how much mail there w BUFFY *mutt_find_mailbox (const char *path); void mutt_update_mailbox (BUFFY * b); + +/* fixes up atime + mtime after mbox/mmdf mailbox was modified + according to stat() info taken before a modification */ +void mutt_buffy_cleanup (const char *buf, struct stat *st);