lvqcl wrote: > Found this code: ftp://ftp.samba.org/pub/unpacked/ntdb/lib/ccan/ilog/ilog.c The canonical location is at CCAN: http://ccodearchive.net/info/ilog.html Note that the code is licensed LGPL. On the other hand, the author is Xiph.org's Timothy Terryberry, so he might be willing to relicense. Ulrich