summaryrefslogtreecommitdiff
path: root/source4/cluster/cluster_private.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2013-04-11 17:12:15 +0930
committerJeremy Allison <jra@samba.org>2013-04-12 14:59:42 -0700
commited6a4e04e1f8a0ca952e37577bfdc9731d6ef93d (patch)
tree535f9879418c3abddbc5f1b5f2b2e211c7ea576f /source4/cluster/cluster_private.h
parentc5bd2ae338c0b67304ee253e3b5139b50cc1d0e5 (diff)
downloadsamba-ed6a4e04e1f8a0ca952e37577bfdc9731d6ef93d.tar.gz
samba-ed6a4e04e1f8a0ca952e37577bfdc9731d6ef93d.tar.bz2
samba-ed6a4e04e1f8a0ca952e37577bfdc9731d6ef93d.zip
source4/cluster and source4/ntvfs: convert to dbwrap, add ntdb option.
This makes the code use dbwrap_local_open(), so it can handle NTDB. brlock.tdb, notify.tdb and openfiles.tdb can now be brlock.ntdb, notify.ntdb and openfiles.ntdb, if 'use ntdb' is set. Cc: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/cluster/cluster_private.h')
-rw-r--r--source4/cluster/cluster_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/cluster/cluster_private.h b/source4/cluster/cluster_private.h
index 6f68ad62bd..2b799228fb 100644
--- a/source4/cluster/cluster_private.h
+++ b/source4/cluster/cluster_private.h
@@ -24,8 +24,8 @@
struct cluster_ops {
struct server_id (*cluster_id)(struct cluster_ops *ops, uint64_t id, uint32_t id2);
- struct tdb_wrap *(*cluster_tdb_tmp_open)(struct cluster_ops *,
- TALLOC_CTX *,
+ struct db_context *(*cluster_db_tmp_open)(struct cluster_ops *,
+ TALLOC_CTX *,
struct loadparm_context *,
const char *, int);
void *(*backend_handle)(struct cluster_ops *);