RT-AC66 3.0.0.4.374.130 core
[tomato.git] / release / src-rt-6.x / linux / linux-2.6 / scripts / squashfs / lzma / C / 7zip / Archive / 7z_C / 7zBuffer.h
blobafea3ca8e7fa50676c8a42e702818ba64fd6b290
1 /* 7zBuffer.h */
3 #ifndef __7Z_BUFFER_H
4 #define __7Z_BUFFER_H
6 #include <stddef.h>
7 #include "7zTypes.h"
9 typedef struct _CSzByteBuffer
11 size_t Capacity;
12 Byte *Items;
13 }CSzByteBuffer;
15 void SzByteBufferInit(CSzByteBuffer *buffer);
16 int SzByteBufferCreate(CSzByteBuffer *buffer, size_t newCapacity, void * (*allocFunc)(size_t size));
17 void SzByteBufferFree(CSzByteBuffer *buffer, void (*freeFunc)(void *));
19 #endif