/usr/include/dovecot/unlink-old-files.h is in dovecot-dev 1:2.2.9-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 | #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
|