|
vdr
1.7.27
|
Go to the source code of this file.
Functions | |
| 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 (void) |
| bool | IsOnVideoDirectoryFileSystem (const char *FileName) |
Variables | |
| const char * | VideoDirectory |
| int CloseVideoFile | ( | cUnbufferedFile * | File | ) |
Definition at line 150 of file videodir.c.
References cUnbufferedFile::Close().
| bool HardLinkVideoFile | ( | const char * | OldName, |
| const char * | NewName | ||
| ) |
Definition at line 188 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 368 of file videodir.c.
References EntriesOnSameFileSystem(), cVideoDirectory::Name(), and cVideoDirectory::Next().
| cString NewVideoFileName | ( | const char * | FileName, |
| const char * | NewDirName | ||
| ) |
Definition at line 344 of file videodir.c.
References ExchangeChars(), cString::sprintf(), and VideoDirectory.
| cUnbufferedFile* OpenVideoFile | ( | const char * | FileName, |
| int | Flags | ||
| ) |
Definition at line 109 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 324 of file videodir.c.
| void RemoveEmptyVideoDirectories | ( | void | ) |
Definition at line 360 of file videodir.c.
References cVideoDirectory::Name(), cVideoDirectory::Next(), and RemoveEmptyDirectories().
| bool RemoveVideoFile | ( | const char * | FileName | ) |
Definition at line 169 of file videodir.c.
References RemoveFileOrDir().
| bool RenameVideoFile | ( | const char * | OldName, |
| const char * | NewName | ||
| ) |
Definition at line 157 of file videodir.c.
References LOG_ERROR_STR.
| int VideoDiskSpace | ( | int * | FreeMB = NULL, |
| int * | UsedMB = NULL |
||
| ) |
Definition at line 303 of file videodir.c.
References DeletedRecordings, cVideoDirectory::FreeMB(), cVideoDirectory::Next(), and cRecordings::TotalFileSizeMB().
| bool VideoFileSpaceAvailable | ( | int | SizeMB | ) |
Definition at line 288 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.0