ldb: Add ldb_dn_set_casefolded so that a DN can marked as already casefolded
authorMatthieu Patou <mat@matws.net>
Fri, 14 Dec 2012 09:02:00 +0000 (01:02 -0800)
committerMatthieu Patou <mat@matws.net>
Wed, 27 May 2015 05:01:37 +0000 (22:01 -0700)
commit1c8ca6e46fd6c3fc2269fe30ae14b28b9a368f80
tree15dcbeaebc1a4fb589ec4d6585c0835a218c8d67
parent3f8d7dd7697e06a431dc21e793d2838cea9576b5
ldb: Add ldb_dn_set_casefolded so that a DN can marked as already casefolded

This is intended for internal use in the indexing code when index
entries are DN stored already case folded.
This function will skip all the costly case folding calls and just mark
the DN as casefolded. The cf_name and cf_value of each componenent will
point to their counter part (name and value).
lib/ldb/common/ldb_dn.c
lib/ldb/include/ldb_private.h