view src/lib/unlink-old-files.h @ 8590:b9faf4db2a9f HEAD

Updated copyright notices to include year 2009.
author Timo Sirainen <tss@iki.fi>
date Tue, 06 Jan 2009 09:25:38 -0500
parents d421f14ba797
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. Returns -1 if there were some errors. */
int unlink_old_files(const char *dir, const char *prefix, time_t min_time);

#endif