ldb: Add helper function ldb_schema_attribute_fill_with_syntax()
commit393b8f3c1d2552374bff1c5067bf5f86b09446b1
authorAndrew Bartlett <abartlet@samba.org>
Thu, 20 Oct 2016 03:01:42 +0000 (20 16:01 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 1 Dec 2016 04:54:23 +0000 (1 05:54 +0100)
treea420c95c9a532c3b5cdd7f6cc22921234293f778
parentd8ee92734b0fdaee52734f4b22315a31d15388ab
ldb: Add helper function ldb_schema_attribute_fill_with_syntax()

This will allow us to avoid calling ldb_schema_attribute_add_with_syntax()
in a tight loop.

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