summaryrefslogtreecommitdiff
path: root/src/modules/sparkler/chunker.h
blob: ac53cec3aa6c5d8ce8b22c4cf610264988099394 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef _CHUNKER_H
#define _CHUNKER_H

typedef struct chunker_t chunker_t;

chunker_t * chunker_new(unsigned chunk_size);
void * chunker_alloc(chunker_t *chunker, unsigned size);
void chunker_free(void *mem);
void chunker_free_chunker(chunker_t *chunker);

#endif
© All Rights Reserved