tdb and ldb

Volker Lendecke Volker.Lendecke at SerNet.DE
Sat Feb 4 00:47:24 MST 2012

On Fri, Feb 03, 2012 at 06:12:31PM -0500, simo wrote:
> If you want this to be really generic you should pass the void * pointer
> to all routines. When you use allocation pools you may need the pool
> also to do the expand and the free as the information about the pool may
> not be embedded in the pointer.

Right. I also like the idea of just ever using realloc.
Realloc with NULL as src is malloc, realloc with 0 as length
is free. But that's just taste.


SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen, mailto:kontakt at

More information about the samba-technical mailing list