#pragma once #include "chunk.h" void chunk_iter(chunk_t *root, void (*f)(chunk_t*)); void chunk_merge(chunk_t *first, chunk_t *second); int get_append_unused_chunk(void *root, size_t size, chunk_t *result, size_t new_block_size); int chunk_split(chunk_t *chunk, size_t new_size);