1/* IStream.h */ 2 3#ifndef __C_ISTREAM_H 4#define __C_ISTREAM_H 5 6#include "Types.h" 7 8typedef struct _ISeqInStream 9{ 10 HRes (*Read)(void *object, void *data, UInt32 size, UInt32 *processedSize); 11} ISeqInStream; 12 13typedef struct _ISzAlloc 14{ 15 void *(*Alloc)(size_t size); 16 void (*Free)(void *address); /* address can be 0 */ 17} ISzAlloc; 18 19#endif 20