summaryrefslogtreecommitdiff
path: root/source3/tdb/tdb.h
AgeCommit message (Collapse)AuthorFilesLines
2000-01-02- added tdb_flags option to tdb_open()Andrew Tridgell1-1/+6
- added TDB_CLEAR_IF_FIRST flag to clear the database if this is the first attached process. Useful for non-persistent databases like our locking area (this will also make upgrades to new database layouts easier) - use lock_path() in a couple of places - leave connections database open while smbd running - cleaned up some tdb code a little, using macros for constants (This used to be commit 00e9da3ca577527db392aced62f02c69cfee8f4f)
1999-12-23fixed locking codeAndrew Tridgell1-1/+1
(This used to be commit 1f5dc924044fb54b10ac8884d4df1e15902de8be)
1999-12-21first cut at using the tdb code for the connections structure, theAndrew Tridgell1-0/+1
SWAT status page and smbstatus. It made the code _much_ simpler, I wish we'd done a database module a long time ago! (This used to be commit 4951755413c11d4c5b9af4699a6e622056d52433)
1999-12-21first pass at the database code for Samba. This also includes a testAndrew Tridgell1-0/+61
suite and a very simple tool for manuipulating the databases. the main code is in tdb/tdb.c and includes both mmap and file based IO. All databases auto-expand and allow multiple simultaneous writers. the next step is using this new capability in lots of places in Samba where we have existing ad-hoc databases (This used to be commit c89d29cc5e3b6d568928acace01144059f1668b3)