X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=lzma%2FC%2FIStream.h;fp=lzma%2FC%2FIStream.h;h=582184872d839123f7ed9d71090ae874fa87d122;hb=1a2e54b98aaab3669eebd38facb83687c4ac7baf;hp=0000000000000000000000000000000000000000;hpb=0b9bdac28929054558b5d7f315403fe3399a1413;p=physicsfs diff --git a/lzma/C/IStream.h b/lzma/C/IStream.h new file mode 100644 index 0000000..5821848 --- /dev/null +++ b/lzma/C/IStream.h @@ -0,0 +1,19 @@ +/* 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