DevIL Documentation Previous | IL | Next

 

ilSetRead

 

datatype ILHANDLE is passed to these functions when used, so any internal datatype used by the differing language (or file handle) can be used.

 

ILvoid ilSetRead(
  fOpenRProc Open, fCloseRProc Close, fEofProc Eof, fGetcProc Getc, fReadProc Read, fSeekRProc Seek, fTellRProc Tell );


Parameters

 
Open
Pointer to a function to open a file.
Close
Pointer to a function to close a file.
Eof
Pointer to a function that returns IL_TRUE if the end of file is reached.
Getc
Pointer to a function to return one byte from a file.
Read
Pointer to a function to read multiple bytes from a file.
Seek
Pointer to a function to change position in a file.
Tell
Pointer to a function to report the position in a file.


See Also

 
ilResetRead, ilResetWrite, ilSetWrite,