summaryrefslogtreecommitdiff
path: root/source4/cluster/cluster_private.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-01-20 00:48:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:43:52 -0500
commitefc68d8bf6d5acc009285e8f34b30a3a5b252884 (patch)
treed84cca0cf2946c054f3f19ee8b50b77713952af4 /source4/cluster/cluster_private.h
parentd1b61b09aa542d64bf43abb3ad04611f46b57376 (diff)
downloadsamba-efc68d8bf6d5acc009285e8f34b30a3a5b252884.tar.gz
samba-efc68d8bf6d5acc009285e8f34b30a3a5b252884.tar.bz2
samba-efc68d8bf6d5acc009285e8f34b30a3a5b252884.zip
r20919: add a function cluster_tdb_tmp_open() which can be used in a cluster
environment for subsystems that have not yet been converted to use ctdb to get a shared temporary tdb (This used to be commit 0ed91384497aed6817b2220c31344bfcd45fd033)
Diffstat (limited to 'source4/cluster/cluster_private.h')
-rw-r--r--source4/cluster/cluster_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/cluster/cluster_private.h b/source4/cluster/cluster_private.h
index e5df10060f..12d57badd0 100644
--- a/source4/cluster/cluster_private.h
+++ b/source4/cluster/cluster_private.h
@@ -27,6 +27,8 @@ struct cluster_ops {
struct server_id (*cluster_id)(struct cluster_ops *ops, uint32_t id);
const char *(*cluster_id_string)(struct cluster_ops *ops,
TALLOC_CTX *, struct server_id );
+ struct tdb_wrap *(*cluster_tdb_tmp_open)(struct cluster_ops *,
+ TALLOC_CTX *, const char *, int);
void *private; /* backend state */
};