42_malloc/src/chunk_manager.h
2024-07-30 19:16:15 +02:00

8 lines
281 B
C

#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);