datastream: Add new LibRaw_proxy_datastream
The purpose of this new datastream type is to let the caller handle IO operations, using the C API, by implementing a series of simples callbacks. Caller must provide 7 procedures in order to get a complete datastream: read_proc, seek_proc, size_proc, eof_proc, close_proc, fname_proc and open_proc (for substream). get_char(), gets() and scanf() are build around provided read_proc.
Please register or sign in to comment