view src/lib/unlink-old-files.h @ 9302:fc979053eaaa HEAD

autocreate: Fixed subscribe error message.
author Timo Sirainen <tss@iki.fi>
date Sun, 09 Aug 2009 14:58:22 -0400
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