2 Interface definitions for bget.c, the memory management package.
6 void bpool(void *buffer
, bufsize len
);
7 void *bget(bufsize size
);
8 void *bgetz(bufsize size
);
9 void *bgetr(void *buffer
, bufsize newsize
);
11 void bectl(int (*compact
)(bufsize sizereq
, int sequence
), void *(*acquire
)(bufsize size
), void (*release
)(void *buf
), bufsize pool_incr
);
12 void bstats(bufsize
*curalloc
, bufsize
*totfree
, bufsize
*maxfree
, unsigned long *nget
, unsigned long *nrel
);
13 void bstatse(bufsize
*pool_incr
, long *npool
, unsigned long *npget
, unsigned long *nprel
, unsigned long *ndget
, unsigned long *ndrel
);
14 void bufdump(void *buf
);
15 void bpoold(void *pool
, int dumpalloc
, int dumpfree
);
16 int bpoolv(void *pool
);
17 bufsize
bstatsmaxget(void);