summaryrefslogtreecommitdiff
path: root/malloc/block_allocator/utils.h
blob: 757394597dc4fbebbd881f4fc89d7f8a5152298c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef UTILS_H
#define UTILS_H

#include "allocator.h"

/*
 * Print datas the `meta` block contains.
 */
void read_data(struct blk_meta *meta);

/*
 * Write `data` in the `meta` block.
 */
void write_data(struct blk_meta *meta, char *data, size_t n);

#endif /* !UTILS_H  */