summaryrefslogtreecommitdiff
path: root/videodir.h
blob: 0716a284b09689c3d3710cc6af36a85c7b6a9853 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * 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.2 2000/12/24 12:41:10 kls Exp $
 */

#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);
const char *PrefixVideoFileName(const char *FileName, char Prefix);

#endif //__VIDEODIR_H