io_methods Struct Reference

#include <io.h>

List of all members.

Public Attributes

IOFileRef(* open )(const char *path, int mode)
int(* close )(IOFileRef f)
int(* seek )(IOFileRef f, off_t offset, int whence)
int(* read )(IOFileRef f, void *buf, size_t count)
off_t(* filesize )(IOFileRef f)
void *(* mmap )(IOFileRef f, size_t l, off_t offset)
int(* munmap )(IOFileRef f, void *addr, size_t l)


Detailed Description

IO methods for the IO subsystem.

Definition at line 38 of file io.h.


Member Data Documentation

int(* io_methods::close)(IOFileRef f)

close method

IOFileRef(* io_methods::open)(const char *path, int mode)

open method

Returns:
a descriptor

int(* io_methods::read)(IOFileRef f, void *buf, size_t count)

read method

int(* io_methods::seek)(IOFileRef f, off_t offset, int whence)

seek in the file


The documentation for this struct was generated from the following file:
Generated on Sat Jan 27 11:36:13 2007 for libopenraw by  doxygen 1.4.7