ldb_tdb: Add ltdb_idx_to_key() and use it in ltdb_index_filter()
authorAndrew Bartlett <abartlet@samba.org>
Wed, 16 Aug 2017 19:15:50 +0000 (07:15 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 22 Sep 2017 19:20:22 +0000 (21:20 +0200)
commite4562e58f9018198600b5a303d7d832cf8a475f0
tree073848e879a0b90f5eaa704a6ee7afeb6691c2ce
parentba762fac819eaefd980bd795de5227a04d2fbb2e
ldb_tdb: Add ltdb_idx_to_key() and use it in ltdb_index_filter()

This will allow a common point to parse index records into a TDB key,
allowing them to be a GUID or DN in the future

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
lib/ldb/ldb_tdb/ldb_index.c
lib/ldb/ldb_tdb/ldb_tdb.c
lib/ldb/ldb_tdb/ldb_tdb.h