A simple database APIhttps://tdb.samba.org/
This is a simple database API. It was inspired by the realisation that in Samba we have several ad-hoc bits of code that essentially implement small databases for sharing structures between parts of Samba.
The interface is based on gdbm. gdbm couldn't be use as we needed to be able to have multiple writers to the databases at one time.