summaryrefslogtreecommitdiff
path: root/lib/util/wscript_build
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-06-22 09:44:41 +0930
committerRusty Russell <rusty@rustcorp.com.au>2012-06-22 07:35:17 +0200
commit735290f474a34986be4c66eb0bdf0b0ba14da970 (patch)
tree40df3d0abda9f8053e7b0160caa631bffde67db8 /lib/util/wscript_build
parent7c1d9fb3c12d20779afe8293b6a867bd2061077f (diff)
downloadsamba-735290f474a34986be4c66eb0bdf0b0ba14da970.tar.gz
samba-735290f474a34986be4c66eb0bdf0b0ba14da970.tar.bz2
samba-735290f474a34986be4c66eb0bdf0b0ba14da970.zip
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 <rusty@rustcorp.com.au>
Diffstat (limited to 'lib/util/wscript_build')
-rwxr-xr-xlib/util/wscript_build7
1 files changed, 7 insertions, 0 deletions
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,