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 14 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(), file_open(), and file_open_mythiowrapper().

MTV_PUBLIC int mythfile_close ( int  fileID  ) 

Definition at line 230 of file mythiowrapper.cpp.

Referenced by dvd_read_name(), file_close(), and file_close_mythiowrapper().

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(), file_seek(), and file_seek_mythiowrapper().

MTV_PUBLIC off64_t mythfile_tell ( int  fileID  ) 

Definition at line 289 of file mythiowrapper.cpp.

Referenced by file_tell_mythiowrapper().

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(), file_read(), and file_read_mythiowrapper().

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

Definition at line 330 of file mythiowrapper.cpp.

Referenced by file_write_mythiowrapper().

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.

Referenced by file_stat_mythiowrapper().

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.

Referenced by dir_open_mythiowrapper().

MTV_PUBLIC int mythdir_closedir ( int  dirID  ) 

Definition at line 484 of file mythiowrapper.cpp.

Referenced by dir_close_mythiowrapper().

MTV_PUBLIC char* mythdir_readdir ( int  dirID  ) 

Definition at line 509 of file mythiowrapper.cpp.

Referenced by dir_read_mythiowrapper().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Sun May 27 06:41:46 2012 for MythTV by  doxygen 1.6.3