Mercurial > dovecot > core-2.2
view src/lib/unlink-old-files.h @ 23017:c1d36f2575c7 default tip
lib-imap: Fix "Don't accept strings with NULs" cherry-pick
author | Timo Sirainen <timo.sirainen@open-xchange.com> |
---|---|
date | Thu, 29 Aug 2019 09:55:25 +0300 |
parents | 091b9f49f24f |
children |
line wrap: on
line source
#ifndef UNLINK_OLD_FILES_H #define UNLINK_OLD_FILES_H /* Unlink all files from directory beginning with given prefix and having ctime older than min_time. Makes sure that the directory's atime is updated. Returns -1 if there were some errors. */ int unlink_old_files(const char *dir, const char *prefix, time_t min_time); #endif