summaryrefslogtreecommitdiff
path: root/source4/cluster/cluster.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.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.h')
-rw-r--r--source4/cluster/cluster.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/cluster/cluster.h b/source4/cluster/cluster.h
index 54dfec6259..f56a8e9bb6 100644
--- a/source4/cluster/cluster.h
+++ b/source4/cluster/cluster.h
@@ -31,6 +31,7 @@
/* prototypes */
struct server_id cluster_id(uint32_t id);
const char *cluster_id_string(TALLOC_CTX *mem_ctx, struct server_id id);
+struct tdb_wrap *cluster_tdb_tmp_open(TALLOC_CTX *mem_ctx, const char *dbname, int flags);
void *cluster_private(void);
#endif