MythTV  0.27pre
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
Typedefs | Functions
mythiowrapper.h File Reference

Go to the source code of this file.

Typedefs

typedef void(* callback_t )(void *)

Functions

void mythfile_open_register_callback (const char *pathname, void *object, callback_t func)
int mythfile_check (int fileID)
MTV_PUBLIC int mythfile_open (const char *pathname, int flags)
MTV_PUBLIC int mythfile_close (int fileID)
MTV_PUBLIC off64_t mythfile_seek (int fileID, off64_t offset, int whence)
MTV_PUBLIC off64_t mythfile_tell (int fileID)
MTV_PUBLIC ssize_t mythfile_read (int fileID, void *buf, size_t count)
MTV_PUBLIC ssize_t mythfile_write (int fileID, void *buf, size_t count)
MTV_PUBLIC int mythfile_stat (const char *path, struct stat *buf)
MTV_PUBLIC int mythfile_stat_fd (int fileID, struct stat *buf)
int mythfile_exists (const char *path, const char *file)
int mythdir_check (int fileID)
MTV_PUBLIC int mythdir_opendir (const char *dirname)
MTV_PUBLIC int mythdir_closedir (int dirID)
MTV_PUBLIC char * mythdir_readdir (int dirID)

Typedef Documentation

typedef void(* callback_t)(void *)

Definition at line 16 of file mythiowrapper.h.

Function Documentation

void mythfile_open_register_callback ( const char *  pathname,
void object,
callback_t  func 
)

Definition at line 89 of file mythiowrapper.cpp.

Referenced by BDRingBuffer::OpenFile().

int mythfile_check ( int  fileID)

Definition at line 126 of file mythiowrapper.cpp.

MTV_PUBLIC int mythfile_open ( const char *  pathname,
int  flags 
)

Definition at line 143 of file mythiowrapper.cpp.

Referenced by dvd_read_name(), and file_open().

MTV_PUBLIC int mythfile_close ( int  fileID)

Definition at line 230 of file mythiowrapper.cpp.

Referenced by dvd_read_name(), and file_close().

MTV_PUBLIC off64_t mythfile_seek ( int  fileID,
off64_t  offset,
int  whence 
)

Definition at line 270 of file mythiowrapper.cpp.

Referenced by dvd_read_name(), file_read(), and file_seek().

MTV_PUBLIC off64_t mythfile_tell ( int  fileID)

Definition at line 289 of file mythiowrapper.cpp.

MTV_PUBLIC ssize_t mythfile_read ( int  fileID,
void buf,
size_t  count 
)

Definition at line 311 of file mythiowrapper.cpp.

Referenced by dvd_read_name(), and file_read().

MTV_PUBLIC ssize_t mythfile_write ( int  fileID,
void buf,
size_t  count 
)

Definition at line 330 of file mythiowrapper.cpp.

MTV_PUBLIC int mythfile_stat ( const char *  path,
struct stat *  buf 
)
MTV_PUBLIC int mythfile_stat_fd ( int  fileID,
struct stat *  buf 
)

Definition at line 364 of file mythiowrapper.cpp.

int mythfile_exists ( const char *  path,
const char *  file 
)

Definition at line 381 of file mythiowrapper.cpp.

Referenced by findDirFile().

int mythdir_check ( int  fileID)

Definition at line 415 of file mythiowrapper.cpp.

MTV_PUBLIC int mythdir_opendir ( const char *  dirname)

Definition at line 430 of file mythiowrapper.cpp.

MTV_PUBLIC int mythdir_closedir ( int  dirID)

Definition at line 484 of file mythiowrapper.cpp.

MTV_PUBLIC char* mythdir_readdir ( int  dirID)

Definition at line 509 of file mythiowrapper.cpp.