1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Resources: added mb_move() to complement rmove() for memory blocks

This commit is contained in:
Maria Matejka
2021-03-30 16:03:33 +02:00
parent 4635314cef
commit a9938b1792
2 changed files with 16 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ extern pool root_pool;
void *mb_alloc(pool *, unsigned size);
void *mb_allocz(pool *, unsigned size);
void *mb_realloc(void *m, unsigned size);
void mb_move(void *, pool *);
void mb_free(void *);
/* Memory pools with linear allocation */