diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-09-25 13:49:31 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-09-25 13:49:31 +0200 |
commit | c3a76dfef6b62a003f159f2ec1ef0ca6d2290db7 (patch) | |
tree | 852a9b9177f3ec7c666ab4e6c01976bfcd41bf0a /tools.h | |
parent | f2183f9ff56f6f0024d9c55df6472f37f638adc0 (diff) | |
download | vdr-c3a76dfef6b62a003f159f2ec1ef0ca6d2290db7.tar.gz vdr-c3a76dfef6b62a003f159f2ec1ef0ca6d2290db7.tar.bz2 |
The '.update' file in the video directory is now touched when a recording is added or deleted
Diffstat (limited to 'tools.h')
-rw-r--r-- | tools.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |