mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-08 16:29:01 +00:00
19 lines
437 B
C
19 lines
437 B
C
/* 7zBuffer.h */
|
|
|
|
#ifndef __7Z_BUFFER_H
|
|
#define __7Z_BUFFER_H
|
|
|
|
#include <stddef.h>
|
|
#include "7zTypes.h"
|
|
|
|
typedef struct _CSzByteBuffer
|
|
{
|
|
size_t Capacity;
|
|
Byte *Items;
|
|
}CSzByteBuffer;
|
|
|
|
void SzByteBufferInit(CSzByteBuffer *buffer);
|
|
int SzByteBufferCreate(CSzByteBuffer *buffer, size_t newCapacity, void * (*allocFunc)(size_t size));
|
|
void SzByteBufferFree(CSzByteBuffer *buffer, void (*freeFunc)(void *));
|
|
|
|
#endif
|