diff options
author | Maria Matejka <mq@ucw.cz> | 2022-05-30 15:15:19 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-05-30 15:15:19 +0200 |
commit | 921344c3ba5a0e30f04511d2039dff79b6f82dd9 (patch) | |
tree | 64c496aa9c26c38cd0f5219c79e3d2863997d2c8 /lib/resource.h | |
parent | b4336b0880dee2a039ca55321f4344444512f97d (diff) | |
parent | 3a6eda995ecfcebff3130d86ee3baeab12a41335 (diff) |
Merge commit '3a6eda995ecfcebff3130d86ee3baeab12a41335' into haugesund
Diffstat (limited to 'lib/resource.h')
-rw-r--r-- | lib/resource.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/resource.h b/lib/resource.h index 313b01dc..ed9e109d 100644 --- a/lib/resource.h +++ b/lib/resource.h @@ -44,6 +44,7 @@ typedef struct pool pool; void resource_init(void); pool *rp_new(pool *, const char *); /* Create new pool */ +pool *rp_newf(pool *, const char *, ...); /* Create a new pool with a formatted string as its name */ void rfree(void *); /* Free single resource */ void rdump(void *); /* Dump to debug output */ struct resmem rmemsize(void *res); /* Return size of memory used by the resource */ @@ -59,7 +60,6 @@ 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 */ |