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 "libmythtv/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)
 
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 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 81 of file mythiowrapper.cpp.

Referenced by MythBDBuffer::OpenFile().

◆ MythFileCheck()

int MythFileCheck ( int  Id)

Definition at line 108 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 262 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 304 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 338 of file mythiowrapper.cpp.

◆ MythFileExists()

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

Definition at line 359 of file mythiowrapper.cpp.

◆ MythDirCheck()

int MythDirCheck ( int  DirID)

Definition at line 386 of file mythiowrapper.cpp.

◆ MythDirOpen()

MTV_PUBLIC int MythDirOpen ( const char *  DirName)

Definition at line 395 of file mythiowrapper.cpp.

Referenced by MythBDDirOpen().

◆ MythDirClose()

MTV_PUBLIC int MythDirClose ( int  DirID)

Definition at line 447 of file mythiowrapper.cpp.

Referenced by MythBDDirClose().

◆ MythDirRead()

MTV_PUBLIC char* MythDirRead ( int  DirID)

Definition at line 470 of file mythiowrapper.cpp.

Referenced by MythBDDirRead().