
This is a mini-port of libdb-4.2 that I made just to add cache-support
to owfs after I ported to my MCF5206eC3 evaluation board. I was impossible
for me to use libdb since the binary didn't fit in my 1Mb flash, and it
was not even possible to start it with my original 4Mb RAM.

The binary size decreased from 518kb to 49kb on owfs after using my
libdb_mini, and all it does is to cache latest temperatures in the
fuse-filesystem.

All object that is inserted into the database are place in a simple
linked list. I haven't read any specs for the key/value formats, so I
just make memcmp() on the keys without any size-limits to find the values.

BUGS: db_mini doesn't leak any memory as far as I know.

Christian Magnusson
E-Mail: mag (at) mag.cx
