IStream.h 340 B

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