summaryrefslogtreecommitdiff
path: root/source3/include/util_tdb.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-03-13 19:05:38 +0100
committerVolker Lendecke <vl@samba.org>2010-03-13 20:20:37 +0100
commitcfc44d244152609e17a26db85bbbf827955958a7 (patch)
tree4c01b3f7ec585f7d06895b69b50164de16041b9d /source3/include/util_tdb.h
parent5eeb1fc44737a3b788fb84945966ded108caf3cf (diff)
downloadsamba-cfc44d244152609e17a26db85bbbf827955958a7.tar.gz
samba-cfc44d244152609e17a26db85bbbf827955958a7.tar.bz2
samba-cfc44d244152609e17a26db85bbbf827955958a7.zip
s3: Make tdb_wrap_open more robust
This hides the use of talloc_reference from the caller, making it impossible to wrongly call talloc_free() on the result.
Diffstat (limited to 'source3/include/util_tdb.h')
-rw-r--r--source3/include/util_tdb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/include/util_tdb.h b/source3/include/util_tdb.h
index 80b95921d7..9666fc979a 100644
--- a/source3/include/util_tdb.h
+++ b/source3/include/util_tdb.h
@@ -28,8 +28,6 @@
struct tdb_wrap {
struct tdb_context *tdb;
- const char *name;
- struct tdb_wrap *next, *prev;
};
int tdb_chainlock_with_timeout( struct tdb_context *tdb, TDB_DATA key,