From 80a42f130003dabf7c70de35f446f4dbcf1ea3cf Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 11 Feb 2001 14:53:44 +0100 Subject: Removing empty directories --- tools.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools.h') diff --git a/tools.h b/tools.h index 539dba01..96d09826 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.23 2001/01/13 15:36:00 kls Exp $ + * $Id: tools.h 1.24 2001/02/11 13:39:40 kls Exp $ */ #ifndef __TOOLS_H @@ -48,6 +48,7 @@ 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 FollowSymlinks = false); +bool RemoveEmptyDirectories(const char *DirName, bool RemoveThis = false); char *ReadLink(const char *FileName); class cFile { -- cgit v1.2.3