|
vdr
1.7.31
|
Go to the source code of this file.
Classes | |
| class | cVideoDiskUsage |
Functions | |
| void | SetVideoDirectory (const char *Directory) |
| cUnbufferedFile * | OpenVideoFile (const char *FileName, int Flags) |
| int | CloseVideoFile (cUnbufferedFile *File) |
| bool | RenameVideoFile (const char *OldName, const char *NewName) |
| bool | RemoveVideoFile (const char *FileName) |
| bool | HardLinkVideoFile (const char *OldName, const char *NewName) |
| bool | VideoFileSpaceAvailable (int SizeMB) |
| int | VideoDiskSpace (int *FreeMB=NULL, int *UsedMB=NULL) |
| cString | PrefixVideoFileName (const char *FileName, char Prefix) |
| cString | NewVideoFileName (const char *FileName, const char *NewDirName) |
| void | RemoveEmptyVideoDirectories (const char *IgnoreFiles[]=NULL) |
| bool | IsOnVideoDirectoryFileSystem (const char *FileName) |
Variables | |
| const char * | VideoDirectory |
| int CloseVideoFile | ( | cUnbufferedFile * | File | ) |
Definition at line 155 of file videodir.c.
References cUnbufferedFile::Close().
| bool HardLinkVideoFile | ( | const char * | OldName, |
| const char * | NewName | ||
| ) |
Definition at line 193 of file videodir.c.
References cVideoDirectory::Adjust(), esyslog, cVideoDirectory::IsDistributed(), isyslog, LOG_ERROR_STR, MakeDirs(), cVideoDirectory::Next(), ReadLink(), StatNearestDir(), cVideoDirectory::Store(), and VideoDirectory.
| bool IsOnVideoDirectoryFileSystem | ( | const char * | FileName | ) |
Definition at line 373 of file videodir.c.
References EntriesOnSameFileSystem(), cVideoDirectory::Name(), and cVideoDirectory::Next().
| cString NewVideoFileName | ( | const char * | FileName, |
| const char * | NewDirName | ||
| ) |
Definition at line 349 of file videodir.c.
References ExchangeChars(), cString::sprintf(), and VideoDirectory.
| cUnbufferedFile* OpenVideoFile | ( | const char * | FileName, |
| int | Flags | ||
| ) |
Definition at line 114 of file videodir.c.
References cVideoDirectory::Adjust(), cUnbufferedFile::Create(), esyslog, FreeDiskSpaceMB(), cVideoDirectory::FreeMB(), cVideoDirectory::IsDistributed(), LOG_ERROR_STR, MakeDirs(), cVideoDirectory::Name(), cVideoDirectory::Next(), cVideoDirectory::Store(), cVideoDirectory::Stored(), and VideoDirectory.
| cString PrefixVideoFileName | ( | const char * | FileName, |
| char | Prefix | ||
| ) |
Definition at line 329 of file videodir.c.
| void RemoveEmptyVideoDirectories | ( | const char * | IgnoreFiles[] = NULL | ) |
Definition at line 365 of file videodir.c.
References cVideoDirectory::Name(), cVideoDirectory::Next(), and RemoveEmptyDirectories().
| bool RemoveVideoFile | ( | const char * | FileName | ) |
Definition at line 174 of file videodir.c.
References RemoveFileOrDir().
| bool RenameVideoFile | ( | const char * | OldName, |
| const char * | NewName | ||
| ) |
Definition at line 162 of file videodir.c.
References LOG_ERROR_STR.
| void SetVideoDirectory | ( | const char * | Directory | ) |
Definition at line 27 of file videodir.c.
References VideoDirectory.
| int VideoDiskSpace | ( | int * | FreeMB = NULL, |
| int * | UsedMB = NULL |
||
| ) |
Definition at line 308 of file videodir.c.
References DeletedRecordings, cVideoDirectory::FreeMB(), cVideoDirectory::Next(), and cRecordings::TotalFileSizeMB().
| bool VideoFileSpaceAvailable | ( | int | SizeMB | ) |
Definition at line 293 of file videodir.c.
References cVideoDirectory::FreeMB(), cVideoDirectory::IsDistributed(), and cVideoDirectory::Next().
| const char* VideoDirectory |
Definition at line 25 of file videodir.c.
1.8.1.2