summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-05-04 10:28:15 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-05-06 07:51:24 +0200
commit14750139639b3531e57a3ca3f9e481d6e458dc06 (patch)
tree3aa3e6b64b0131b5c37700546411f0e0f18a01b8 /source3/include
parentf455772b99dec88ae0eafc3206d42d88de89461d (diff)
downloadsamba-14750139639b3531e57a3ca3f9e481d6e458dc06.tar.gz
samba-14750139639b3531e57a3ca3f9e481d6e458dc06.tar.bz2
samba-14750139639b3531e57a3ca3f9e481d6e458dc06.zip
lib/util Move source3 tdb_wrap_open() into the common code.
This #if _SAMBA_BUILD == 3 is very unfortunate, as it means that in the top level build, these options are not available for these databases. However, having two different tdb_wrap lists is a worse fate, so this will do for now. Andrew Bartlett
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/util_tdb.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/include/util_tdb.h b/source3/include/util_tdb.h
index 3bdb6977d8..a6144ba44d 100644
--- a/source3/include/util_tdb.h
+++ b/source3/include/util_tdb.h
@@ -26,10 +26,6 @@
#include "../libcli/util/ntstatus.h" /* for map_nt_error_from_tdb() */
#include "../../lib/util/util_tdb.h"
-struct tdb_wrap {
- struct tdb_context *tdb;
-};
-
int tdb_chainlock_with_timeout( struct tdb_context *tdb, TDB_DATA key,
unsigned int timeout);
int tdb_lock_bystring_with_timeout(struct tdb_context *tdb, const char *keyval,
@@ -51,10 +47,6 @@ bool tdb_pack_append(TALLOC_CTX *mem_ctx, uint8 **buf, size_t *len,
struct tdb_context *tdb_open_log(const char *name, int hash_size,
int tdb_flags, int open_flags, mode_t mode);
-struct tdb_wrap *tdb_wrap_open(TALLOC_CTX *mem_ctx,
- const char *name, int hash_size, int tdb_flags,
- int open_flags, mode_t mode);
-
NTSTATUS map_nt_error_from_tdb(enum TDB_ERROR err);
int tdb_data_cmp(TDB_DATA t1, TDB_DATA t2);