Home

Dokumentation

Impressum

Dokumentation VDR
 

Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

videodir.h File Reference

#include <stdlib.h>

Include dependency graph for videodir.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Functions

int OpenVideoFile (const char *FileName, int Flags)
int CloseVideoFile (int FileHandle)
bool RenameVideoFile (const char *OldName, const char *NewName)
bool RemoveVideoFile (const char *FileName)
bool VideoFileSpaceAvailable (int SizeMB)
int VideoDiskSpace (int *FreeMB=NULL, int *UsedMB=NULL)
const char * PrefixVideoFileName (const char *FileName, char Prefix)
void RemoveEmptyVideoDirectories (void)

Variables

const char * VideoDirectory


Function Documentation

int CloseVideoFile int    FileHandle
 

Definition at line 146 of file videodir.c.

Referenced by cFileName::Close().

int OpenVideoFile const char *    FileName,
int    Flags
 

Definition at line 105 of file videodir.c.

References cVideoDirectory::Adjust(), esyslog, FreeDiskSpaceMB(), cVideoDirectory::FreeMB(), cVideoDirectory::IsDistributed(), LOG_ERROR_STR, MakeDirs(), cVideoDirectory::Name(), cVideoDirectory::Next(), cVideoDirectory::Store(), and cVideoDirectory::Stored().

Referenced by cFileName::Open().

const char* PrefixVideoFileName const char *    FileName,
char    Prefix
 

Definition at line 200 of file videodir.c.

Referenced by cRecording::PrefixFileName().

void RemoveEmptyVideoDirectories void   
 

Definition at line 224 of file videodir.c.

References cVideoDirectory::Name(), cVideoDirectory::Next(), and RemoveEmptyDirectories().

Referenced by RemoveDeletedRecordings().

bool RemoveVideoFile const char *    FileName
 

Definition at line 164 of file videodir.c.

References RemoveFileOrDir().

Referenced by cRecording::Delete(), cRecording::Remove(), cCutter::Start(), and cCutter::Stop().

bool RenameVideoFile const char *    OldName,
const char *    NewName
 

Definition at line 152 of file videodir.c.

References LOG_ERROR_STR.

Referenced by cRecording::Delete().

int VideoDiskSpace int *    FreeMB = NULL,
int *    UsedMB = NULL
 

Definition at line 184 of file videodir.c.

References cVideoDirectory::FreeMB(), and cVideoDirectory::Next().

Referenced by cMenuMain::Set().

bool VideoFileSpaceAvailable int    SizeMB
 

Definition at line 169 of file videodir.c.

References cVideoDirectory::FreeMB(), cVideoDirectory::IsDistributed(), and cVideoDirectory::Next().

Referenced by AssertFreeDiskSpace().


Variable Documentation

const char* VideoDirectory
 

videodir.h: Functions to maintain a distributed video directory

See the main source file 'vdr.c' for copyright information and how to reach the author.

Id
videodir.h 1.4 2002/01/27 12:37:20 kls Exp

Definition at line 15 of file videodir.h.

Referenced by cVideoDirectory::cVideoDirectory(), and cVideoDirectory::Name().


Generated on Wed Feb 5 23:31:00 2003 for VDR by doxygen1.3-rc2