summaryrefslogtreecommitdiff
path: root/lib/ldb/ldb_tdb/ldb_search.c
AgeCommit message (Collapse)AuthorFilesLines
2012-11-01ldb: fixed callers for ldb_pack_data() and ldb_unpack_data()Andrew Tridgell1-2/+3
with ltdb_pack_data() and ltdb_unpack_data() now moved into common, we need to increase the minor version and fixup callers of the API Note that this relies on struct ldb_val being the same shape as TDB_DATA, in much the same way as we rely on ldb_val and DATA_BLOB being the same shape. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2012-10-31ldb: Change ltdb_unpack_data to take an ldb_contextAndrew Bartlett1-3/+3
It always de-references the module to find the ldb anyway. Andrew Bartlett
2012-08-10lib/ldb: Use tdb_parse_record and a callback rather than tdb_fetch()Andrew Bartlett1-16/+38
This avoid allocation at the tdb layer as we will allocate this with talloc right away anyway. Andrew Bartlett
2012-08-09lib/ldb: Use tdb_exists() rather than tdb_fetch()/talloc_free()Andrew Bartlett1-7/+7
This avoids pulling the record and doing an allocation when we just want to know if it exists. Andrew Bartlett
2012-06-19ldb: use tdb directly, not tdb_compat.Rusty Russell1-3/+3
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-07-05ldb: make ldb a top level library for Samba 4.0Andrew Bartlett1-0/+618
Signed-off-by: Andrew Tridgell <tridge@samba.org>