2000-07-29 15:21:42 +02:00
|
|
|
/*
|
|
|
|
* 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.
|
|
|
|
*
|
2000-12-28 12:57:16 +01:00
|
|
|
* $Id: videodir.h 1.2 2000/12/24 12:41:10 kls Exp $
|
2000-07-29 15:21:42 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __VIDEODIR_H
|
|
|
|
#define __VIDEODIR_H
|
|
|
|
|
|
|
|
extern const char *VideoDirectory;
|
|
|
|
|
|
|
|
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(unsigned int SizeMB);
|
2000-12-28 12:57:16 +01:00
|
|
|
const char *PrefixVideoFileName(const char *FileName, char Prefix);
|
2000-07-29 15:21:42 +02:00
|
|
|
|
|
|
|
#endif //__VIDEODIR_H
|