misc/libphysfs/lzma/C/IStream.h
author Wuzzy <almikes@aol.com>
Wed, 04 Oct 2017 16:09:28 +0200
changeset 12643 5bc6fb5da42f
parent 12213 bb5522e88ab2
permissions -rw-r--r--
Add README files to explain the tests directory

/* IStream.h */

#ifndef __C_ISTREAM_H
#define __C_ISTREAM_H

#include "Types.h"

typedef struct _ISeqInStream
{
  HRes (*Read)(void *object, void *data, UInt32 size, UInt32 *processedSize);
} ISeqInStream;

typedef struct _ISzAlloc
{
  void *(*Alloc)(size_t size);
  void (*Free)(void *address); /* address can be 0 */
} ISzAlloc;

#endif