summaryrefslogtreecommitdiffstats
path: root/lib/tdb_wrap
Commit message (Collapse)AuthorAgeFilesLines
* tdb_wrap: don't let tdb_wrap_open() segfault with name==NULLStefan Metzmacher2015-01-191-1/+7
| | | | | | | | | | Bug: https://bugzilla.samba.org/show_bug.cgi?id=11032 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Mon Jan 19 16:17:28 CET 2015 on sn-devel-104
* tdb_wrap: Make mutexes easier to useVolker Lendecke2014-11-201-0/+7
| | | | | | | | | This patch makes sure we work fine and open without mutexes if they are not supported. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* tdb_wrap: Standalone compile without includes.hMartin Schwenke2014-09-192-4/+5
| | | | | | | | | | | Compiling this generic code is confusing because it uses includes.h, which could come from source3, source4 or ctdb. Generic code should be independent of such things. Drop include of param.h since nothing from that file is used. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Volker Lendecke <vl@samba.org>
* tdb_wrap: tdb_wrap.h doesn't need struct loadparm_contextMartin Schwenke2014-09-191-2/+0
| | | | | | | Not since commit d6db35d7a564ee556b74131ef4c3a3cdb8097e14. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Volker Lendecke <vl@samba.org>
* tdb_wrap: Only pull in samba-debugVolker Lendecke2014-09-181-1/+1
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net>
* tdb_wrap: Remove tdb_wrap_open_ againVolker Lendecke2014-03-312-34/+4
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* lib: Add interim tdb_wrap_open_ without lp_ctxVolker Lendecke2014-03-312-21/+31
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* lib: Pull up lp_ctx use one levelVolker Lendecke2014-03-311-19/+19
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* tdb_util: Fix whitespaceVolker Lendecke2013-12-171-8/+8
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* tdb_util: Fix CID 1138343 Uninitialized scalar variableVolker Lendecke2013-12-171-0/+2
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* tdb_wrap: prevent tdbs called ".ntdb" or without extensions.Rusty Russell2013-02-201-0/+8
| | | | | | | | | This is another belt-and-braces check in case someone decides to turn on the fancy new .ntdb extension, and we haven't converted it to ntdb. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* lib/tdb_wrap: use tdb directly, not tdb_compat.Rusty Russell2012-06-193-4/+6
| | | | | Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* TDB2: make SAMBA use tdb1 again for the moment.Rusty Russell2012-06-191-28/+0
| | | | | | | Otherwise the following surgery will break the SAMBA build and testsuite. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb_wrap: Move to specific directory.Jelmer Vernooij2012-03-103-0/+265
It's a bit confusing to mix low-level and high-level libraries. We had multiple libraries in one directory, and there were have circular dependencies with other libraries outside that directory (in this case, samba-hostconfig). Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 10 23:13:01 CET 2012 on sn-devel-104