#ifndef MEMAREA_H
#define MEMAREA_H
/* Create reference counted memory area. The callback is called when the
refcount drops to 0. */
struct memarea *
/* Returns an empty memory area. */
struct memarea *memarea_init_empty(void);
/* Free the memory area without calling the callback.
This is allowed only when refcount==1. */
/* free-callback that does nothing */
void memarea_free_callback_noop(void *context);
#endif