unlink-old-files.h revision 0791d5779d67da0983375dc01dadec4c749b6f38
0791d5779d67da0983375dc01dadec4c749b6f38Timo Sirainen/* Unlink all files from directory beginning with given prefix and having
0791d5779d67da0983375dc01dadec4c749b6f38Timo Sirainen ctime older than min_time. Returns -1 if there were some errors. */
0791d5779d67da0983375dc01dadec4c749b6f38Timo Sirainenint unlink_old_files(const char *dir, const char *prefix, time_t min_time);