diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2000-07-29 15:21:42 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2000-07-29 15:21:42 +0200 |
commit | 0f2099b4f2528f1aa9846d889e0ccde47f5eb1aa (patch) | |
tree | 8ba3132387c2eda4bb1fb6ac4b8f5354c61fed25 /tools.h | |
parent | 92096e097a5cb6b90fb982d90b16012682d67ccf (diff) | |
download | vdr-0f2099b4f2528f1aa9846d889e0ccde47f5eb1aa.tar.gz vdr-0f2099b4f2528f1aa9846d889e0ccde47f5eb1aa.tar.bz2 |
Support for more than one video directory
Diffstat (limited to 'tools.h')
-rw-r--r-- | tools.h | 7 |
1 files changed, 4 insertions, 3 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.11 2000/07/28 13:02:05 kls Exp $ + * $Id: tools.h 1.12 2000/07/29 10:56:00 kls Exp $ */ #ifndef __TOOLS_H @@ -43,9 +43,10 @@ char *skipspace(char *s); int time_ms(void); void delay_ms(int ms); bool isnumber(const char *s); -bool DirectoryOk(const char *DirName); +uint FreeDiskSpaceMB(const char *Directory); +bool DirectoryOk(const char *DirName, bool LogErrors = false); bool MakeDirs(const char *FileName, bool IsDirectory = false); -bool RemoveFileOrDir(const char *FileName); +bool RemoveFileOrDir(const char *FileName, bool FollowSymlinks = false); bool CheckProcess(pid_t pid); void KillProcess(pid_t pid, int Timeout = MAXPROCESSTIMEOUT); |