MythTV
master
|
#include <cstring>
#include <strings.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "libmythtv/mythtvexp.h"
Go to the source code of this file.
Typedefs | |
typedef void(* | callback_t) (void *) |
Functions | |
void | MythFileOpenRegisterCallback (const char *Pathname, void *Object, callback_t Func) |
int | MythFileCheck (int Id) |
MTV_PUBLIC int | MythFileOpen (const char *Pathname, int Flags) |
MTV_PUBLIC int | MythfileClose (int FileID) |
MTV_PUBLIC off64_t | MythFileSeek (int FileID, off64_t Offset, int Whence) |
MTV_PUBLIC off64_t | MythFileTell (int FileID) |
MTV_PUBLIC ssize_t | MythFileRead (int FileID, void *Buffer, size_t Count) |
MTV_PUBLIC ssize_t | MythFileWrite (int FileID, void *Buffer, size_t Count) |
MTV_PUBLIC int | MythFileStat (const char *Path, struct stat *Buf) |
MTV_PUBLIC int | MythFileStatFD (int FileID, struct stat *Buf) |
MTV_PUBLIC int | MythFileExists (const char *Path, const char *File) |
int | MythDirCheck (int DirID) |
MTV_PUBLIC int | MythDirOpen (const char *DirName) |
MTV_PUBLIC int | MythDirClose (int DirID) |
MTV_PUBLIC char * | MythDirRead (int DirID) |
typedef void(* callback_t) (void *) |
Definition at line 20 of file mythiowrapper.h.
void MythFileOpenRegisterCallback | ( | const char * | Pathname, |
void * | Object, | ||
callback_t | Func | ||
) |
Definition at line 81 of file mythiowrapper.cpp.
Referenced by MythBDBuffer::OpenFile().
int MythFileCheck | ( | int | Id | ) |
Definition at line 108 of file mythiowrapper.cpp.
MTV_PUBLIC int MythFileOpen | ( | const char * | Pathname, |
int | Flags | ||
) |
Definition at line 115 of file mythiowrapper.cpp.
Referenced by MythDVDInfo::GetNameAndSerialNum(), MythBDFileOpen(), MythBDInfo::MythBDInfo(), and MythBDBuffer::OpenFile().
MTV_PUBLIC int MythfileClose | ( | int | FileID | ) |
Definition at line 205 of file mythiowrapper.cpp.
Referenced by MythBDBuffer::Close(), MythDVDInfo::GetNameAndSerialNum(), MythBDFileClose(), and MythBDInfo::MythBDInfo().
MTV_PUBLIC off64_t MythFileSeek | ( | int | FileID, |
off64_t | Offset, | ||
int | Whence | ||
) |
MTV_PUBLIC off64_t MythFileTell | ( | int | FileID | ) |
Definition at line 262 of file mythiowrapper.cpp.
Referenced by MythBDFileTell().
MTV_PUBLIC ssize_t MythFileRead | ( | int | FileID, |
void * | Buffer, | ||
size_t | Count | ||
) |
Definition at line 285 of file mythiowrapper.cpp.
Referenced by BDRead(), MythDVDInfo::GetNameAndSerialNum(), MythBDFileRead(), and MythBDInfo::MythBDInfo().
MTV_PUBLIC ssize_t MythFileWrite | ( | int | FileID, |
void * | Buffer, | ||
size_t | Count | ||
) |
Definition at line 304 of file mythiowrapper.cpp.
Referenced by MythBDFileWrite().
MTV_PUBLIC int MythFileStat | ( | const char * | Path, |
struct stat * | Buf | ||
) |
Definition at line 323 of file mythiowrapper.cpp.
Referenced by MythDVDInfo::GetNameAndSerialNum(), MythFileOpen(), and MythFileStatFD().
MTV_PUBLIC int MythFileStatFD | ( | int | FileID, |
struct stat * | Buf | ||
) |
Definition at line 338 of file mythiowrapper.cpp.
MTV_PUBLIC int MythFileExists | ( | const char * | Path, |
const char * | File | ||
) |
Definition at line 359 of file mythiowrapper.cpp.
int MythDirCheck | ( | int | DirID | ) |
Definition at line 386 of file mythiowrapper.cpp.
MTV_PUBLIC int MythDirOpen | ( | const char * | DirName | ) |
Definition at line 395 of file mythiowrapper.cpp.
Referenced by MythBDDirOpen().
MTV_PUBLIC int MythDirClose | ( | int | DirID | ) |
Definition at line 447 of file mythiowrapper.cpp.
Referenced by MythBDDirClose().
MTV_PUBLIC char* MythDirRead | ( | int | DirID | ) |
Definition at line 470 of file mythiowrapper.cpp.
Referenced by MythBDDirRead().