MythTV master
mythdvdio.cpp
Go to the documentation of this file.
1#include "dvdread/mythdvdio.h"
2
5
6MTV_PUBLIC int MythDVD_open(const char *Pathname, int Flags)
7{
8 return MythFileOpen(Pathname, Flags);
9}
10
12{
13 return MythfileClose(FileID);
14}
15
16MTV_PUBLIC off_t MythDVD_lseek(int FileID, off_t Offset, int Whence)
17{
18 return MythFileSeek(FileID, Offset, Whence);
19}
20
21MTV_PUBLIC ssize_t MythDVD_read(int FileID, void *Buffer, size_t Count)
22{
23 return MythFileRead(FileID, Buffer, Count);
24}
25
26MTV_PUBLIC int MythDVD_dvdstat(const char *Path, struct stat *Buf)
27{
28 return MythFileStat(Path, Buf);
29}
30
31MTV_PUBLIC int MythDVD_FileExists(const char *Path, const char *File)
32{
33 return MythFileExists(Path, File);
34}
IFSPoint * Buf
Definition: ifs.cpp:102
MTV_PUBLIC int MythDVD_FileExists(const char *Path, const char *File)
Definition: mythdvdio.cpp:31
MTV_PUBLIC ssize_t MythDVD_read(int FileID, void *Buffer, size_t Count)
Definition: mythdvdio.cpp:21
MTV_PUBLIC int MythDVD_dvdstat(const char *Path, struct stat *Buf)
Definition: mythdvdio.cpp:26
MTV_PUBLIC int MythDVD_close(int FileID)
Definition: mythdvdio.cpp:11
MTV_PUBLIC int MythDVD_open(const char *Pathname, int Flags)
Definition: mythdvdio.cpp:6
MTV_PUBLIC off_t MythDVD_lseek(int FileID, off_t Offset, int Whence)
Definition: mythdvdio.cpp:16
ssize_t MythFileRead(int FileID, void *Buffer, size_t Count)
int MythFileExists(const char *Path, const char *File)
off_t MythFileSeek(int FileID, off_t Offset, int Whence)
int MythfileClose(int FileID)
int MythFileOpen(const char *Pathname, int Flags)
int MythFileStat(const char *Path, struct stat *Buf)
#define MTV_PUBLIC
Definition: mythtvexp.h:8