From 735290f474a34986be4c66eb0bdf0b0ba14da970 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 22 Jun 2012 09:44:41 +0930 Subject: util: util_ntdb.c The first function is ntdb_new: this is preferred over ntdb_open, as it makes the ntdb_context returned (and all NTDB_DATA returned from ntdb_fetch) valid talloc pointers. The API is very similar to tdb_wrap_open(). Note that we handle $TDB_NO_FSYNC here, since ntdb doesn't do that hack (and it's great for speeding up testing!). Signed-off-by: Rusty Russell --- lib/util/wscript_build | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/util/wscript_build') diff --git a/lib/util/wscript_build b/lib/util/wscript_build index 92221b9494..a955ab6a48 100755 --- a/lib/util/wscript_build +++ b/lib/util/wscript_build @@ -45,6 +45,13 @@ bld.SAMBA_LIBRARY('util_tdb', private_library=True ) +bld.SAMBA_LIBRARY('util_ntdb', + source='util_ntdb.c', + local_include=False, + public_deps='ntdb talloc samba-util samba-hostconfig', + private_library=True + ) + bld.SAMBA_LIBRARY('tevent-util', source='tevent_unix.c tevent_ntstatus.c tevent_werror.c', local_include=False, -- cgit