MythTV  master
Typedefs | Functions
mythiowrapper.h File Reference
#include <cstring>
#include <strings.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "mythtvexp.h"
Include dependency graph for mythiowrapper.h:
This graph shows which files directly or indirectly include this file:

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)
 
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 Documentation

◆ callback_t

typedef void(* callback_t) (void *)

Definition at line 20 of file mythiowrapper.h.

Function Documentation

◆ MythFileOpenRegisterCallback()

void MythFileOpenRegisterCallback ( const char *  Pathname,
void *  Object,
callback_t  Func 
)

Definition at line 78 of file mythiowrapper.cpp.

Referenced by MythBDBuffer::OpenFile().

◆ MythFileCheck()

int MythFileCheck ( int  Id)

Definition at line 105 of file mythiowrapper.cpp.

◆ MythFileOpen()

MTV_PUBLIC int MythFileOpen ( const char *  Pathname,
int  Flags 
)

◆ MythfileClose()

MTV_PUBLIC int MythfileClose ( int  FileID)

◆ MythFileSeek()

MTV_PUBLIC off64_t MythFileSeek ( int  FileID,
off64_t  Offset,
int  Whence 
)

◆ MythFileTell()

MTV_PUBLIC off64_t MythFileTell ( int  FileID)

Definition at line 259 of file mythiowrapper.cpp.

Referenced by MythBDFileTell().

◆ MythFileRead()

MTV_PUBLIC ssize_t MythFileRead ( int  FileID,
void *  Buffer,
size_t  Count 
)

◆ MythFileWrite()

MTV_PUBLIC ssize_t MythFileWrite ( int  FileID,
void *  Buffer,
size_t  Count 
)

Definition at line 301 of file mythiowrapper.cpp.

Referenced by MythBDFileWrite().

◆ MythFileStat()

MTV_PUBLIC int MythFileStat ( const char *  Path,
struct stat *  Buf 
)

◆ MythFileStatFD()

MTV_PUBLIC int MythFileStatFD ( int  FileID,
struct stat *  Buf 
)

Definition at line 335 of file mythiowrapper.cpp.

◆ MythFileExists()

int MythFileExists ( const char *  Path,
const char *  File 
)

Definition at line 356 of file mythiowrapper.cpp.

◆ MythDirCheck()

int MythDirCheck ( int  DirID)

Definition at line 383 of file mythiowrapper.cpp.

◆ MythDirOpen()

MTV_PUBLIC int MythDirOpen ( const char *  DirName)

Definition at line 392 of file mythiowrapper.cpp.

Referenced by MythBDDirOpen().

◆ MythDirClose()

MTV_PUBLIC int MythDirClose ( int  DirID)

Definition at line 444 of file mythiowrapper.cpp.

Referenced by MythBDDirClose().

◆ MythDirRead()

MTV_PUBLIC char* MythDirRead ( int  DirID)

Definition at line 467 of file mythiowrapper.cpp.

Referenced by MythBDDirRead().