X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/19304f7c526fbe36ba0db2fb80bcaf3bd974d81d..b09ee204d1b5bdba9dbc99691a6caf08e5cc4af2:/buffy.h diff --git a/buffy.h b/buffy.h index 14f9517..d7ff3b4 100644 --- a/buffy.h +++ b/buffy.h @@ -22,7 +22,7 @@ typedef struct buffy_t { - char *path; + char path[_POSIX_PATH_MAX]; off_t size; struct buffy_t *next; short new; /* mailbox has new mail */ @@ -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);