From c3a76dfef6b62a003f159f2ec1ef0ca6d2290db7 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 25 Sep 2005 13:49:31 +0200 Subject: The '.update' file in the video directory is now touched when a recording is added or deleted --- tools.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools.h') diff --git a/tools.h b/tools.h index 1ee69d32..7ad3e763 100644 --- a/tools.h +++ b/tools.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: tools.h 1.77 2005/09/17 15:33:40 kls Exp $ + * $Id: tools.h 1.78 2005/09/25 12:54:58 kls Exp $ */ #ifndef __TOOLS_H @@ -113,6 +113,7 @@ bool RemoveFileOrDir(const char *FileName, bool FollowSymlinks = false); bool RemoveEmptyDirectories(const char *DirName, bool RemoveThis = false); char *ReadLink(const char *FileName); ///< returns a new string allocated on the heap, which the caller must delete (or NULL in case of an error) bool SpinUpDisk(const char *FileName); +void TouchFile(const char *FileName); time_t LastModifiedTime(const char *FileName); cString WeekDayName(int WeekDay); cString WeekDayName(time_t t); -- cgit v1.2.3