summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2011-09-14tdb2: unify tdb1_firstkey/tdb1_nextkey into tdb_firstkey/tdb_nextkey.Rusty Russell3-4/+26
2011-09-14tdb2: unify tdb1_check and tdb1_summary into tdb_check and tdb_summary.Rusty Russell12-40/+62
2011-09-14tdb2: unify tdb1_transaction_start etc. into tdb_transaction_start.Rusty Russell10-30/+50
2011-09-14tdb2: unify tdb1_parse_record into tdb_parse_recordRusty Russell6-44/+32
2011-09-14tdb2: unify tdb1_chainlock et al. into tdb_chainlockRusty Russell11-71/+57
2011-09-14tdb2: unify tdb1_traverse into tdb_traverseRusty Russell9-26/+40
2011-09-14tdb2: unify tdb1_store into tdb_storeRusty Russell5-6/+10
2011-09-14tdb2: unify tdb1_delete into tdb_delete.Rusty Russell8-10/+16
2011-09-14tdb2: unify tdb1_append into tdb_appendRusty Russell5-4/+11
2011-09-14tdb2: unify tdb1_fetch into tdb_fetchRusty Russell11-30/+32
2011-09-14tdb2: unify tdb1_store into tdb_storeRusty Russell20-37/+47
2011-09-14tdb2: unify tdb1_open into tdb_openRusty Russell30-524/+400
2011-09-14tdb2: disallow SEED attribute with TDB_VERSION1.Rusty Russell2-1/+27
2011-09-14tdb2: add TDB_ATTRIBUTE_TDB1_HASHSIZERusty Russell27-94/+286
2011-09-14tdb2: make tdb1_open use attributes for logging, hash function.Rusty Russell25-210/+229
2011-09-14tdb2: make jenkins_hash function non-static, rename to tdb_jenkins_hash.Rusty Russell5-16/+20
2011-09-14tdb2: remove double-open detection for TDB1 databases.Rusty Russell1-38/+0
2011-09-14tdb2: merge tdb1_context into tdb_context.Rusty Russell44-913/+848
2011-09-14tdb2: use tdb->flags & TDB_RDONLY instead of tdb->read_only for TDB1 code.Rusty Russell10-20/+23
2011-09-14tdb2: Make TDB1 use the same tdb_hash() wrapper as TDB2Rusty Russell12-43/+58
2011-09-14tdb2: don't cancel transactions on lock failures in tdb1 backend.Rusty Russell1-5/+3
2011-09-14tdb2: suppress tdb1 backend logging when locking returns EINTR or EAGAINRusty Russell2-9/+17
2011-09-14tdb2: make tdb1 use same low-level lock functions.Rusty Russell6-335/+136
2011-09-14tdb2: Make tdb1 use the tdb_file structure.Rusty Russell12-202/+206
2011-09-14tdb2: add TDB_VERSION1 flag.Rusty Russell2-1/+2
2011-09-14tdb2: Make TDB1 code use TDB2's open flags.Rusty Russell24-165/+67
2011-09-14tdb2: approximate INCOMPATIBLE_HASH flag with tdb1_incompatible_hash()Rusty Russell6-48/+72
2011-09-14tdb2: Make tdb1 share tdb_store flags, struct tdb_data and TDB_MAGIC_FOOD.Rusty Russell27-187/+168
2011-09-14tdb2: make TDB1 code use tdb2's TDB_ERROR and tdb_logerr()Rusty Russell23-397/+489
2011-09-14tdb2: make tdb1 headers include tdb2 headers.Rusty Russell2-29/+4
2011-09-14tdb2: rearrange tdb_context layout so tdb1_context can matchRusty Russell1-16/+16
2011-09-14tdb2: add tdb1 code to build.Rusty Russell1-1/+5
2011-09-14tdb2: remove TDB1 TDB_NO_FSYNC environment variable hack.Rusty Russell1-4/+0
2011-09-14tdb2: get rid of TDB1 mark and nonblock functions.Rusty Russell5-42/+19
2011-09-14tdb2: remove _PUBLIC_ in tdb1 functions.Rusty Russell9-41/+36
2011-09-14tdb2: Remove unused tdb1 functions.Rusty Russell17-710/+17
2011-09-14tdb2: test: import tdb1's tests.Rusty Russell33-0/+2102
2011-09-14tdb2: include tdb1 source in tests.Rusty Russell1-0/+11
2011-09-14tdb2: import TDB1 code.Rusty Russell15-0/+6787
2011-09-14tdb2: make tests include a single mega-header to simplify future patchesRusty Russell50-408/+60
2011-09-14tdb2: tdb_foreach()Rusty Russell3-0/+117
2011-09-14tdb2: keep link of every non-internal tdb.Rusty Russell2-25/+22
2011-09-14tdb2: save openhook, allow tdb_get_attribute() on it.Rusty Russell4-18/+21
2011-09-14tdb_compat: make tdb2s temporarily read-only for tdb_traverse_read()Rusty Russell2-2/+27
2011-09-14tdb2: add TDB_RDONLY flag, allow setting/unsetting it.Rusty Russell8-16/+170
2011-09-14tdb2: return TDB_ERR_RDONLY if trying to start a transaction on a R/O tdb.Rusty Russell1-2/+11
2011-09-14tdb2: save open_flags instead of mmap_flags.Rusty Russell3-5/+11
2011-09-14tdb_compat: adapt to tdb2 API change.Rusty Russell6-6/+16
2011-09-14tdb2: Hand error code to logging function.Rusty Russell10-15/+34
2011-09-14tdb2: move transaction lockRusty Russell1-2/+2