summaryrefslogtreecommitdiffstats
path: root/source/lib/dbwrap_tdb.c
Commit message (Collapse)AuthorAgeFilesLines
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-07-101-2/+1
|
* r23780: Find and fix more GPL2 -> GPL3.Jeremy Allison2007-07-091-1/+1
| | | | Jeremy.
* r23313: Janitor for tridge:Volker Lendecke2007-06-031-24/+13
| | | | | | we need to use tdb_wrap_open in both these backends to allow for multiple opens. This is done for notify.tdb. Otherwise we die when a 2nd share with notify is setup
* r23220: Add traverse_read to dbwrapVolker Lendecke2007-05-291-0/+41
|
* r23170: Add map_nt_error_from_tdb()Volker Lendecke2007-05-281-2/+8
|
* r22945: merge 22009 from SAMBA_3_0 + some warning fixes for new code:Stefan Metzmacher2007-05-161-5/+3
| | | | | | | | change TDB_DATA from char * to unsigned char * and fix all compiler warnings in the users metze
* r22890: Fix cast. Michael Adam2007-05-151-2/+2
| | | | (In 3_0_26, TDB_DATA.dptr is still char, not unsigned char.)
* r22775: For the cluster code I've developed a wrapper around tdb to put ↵Volker Lendecke2007-05-101-0/+227
different database backends in place dynamically. The main abstractions are db_context and db_record, it should be mainly self-describing, see include/dbwrap.h. You open the db just as you would open a tdb, this time with db_open(). If you want to fetch a record, just do the db->fetch() call, if you want to do operations on it, you need to get it with fetch_locked(). I added dbwrap_file.c (not heavily tested lately) as an example for what can be done with that abstraction, uses a file per key. So if anybody is willing to shape that up, we might have a chance on reiserfs again.... :-) This abstraction works fine for brlock.tdb, locking.tdb, connections.tdb and sessionid.tdb. It should work fine for the others as well, I just did not yet get around to convert them. If nobody loudly screams NO, then I will import the code that uses this soon. Volker