summaryrefslogtreecommitdiff
path: root/source4/cluster
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-08-24 02:38:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:02:30 -0500
commit2119b7dff04076dd433246b8dcfe1d18ba4c855c (patch)
tree149c796d488018e384887abe3363aee839e2647b /source4/cluster
parenta87df7009e336f39aa26ae51c9202321663dcb10 (diff)
downloadsamba-2119b7dff04076dd433246b8dcfe1d18ba4c855c.tar.gz
samba-2119b7dff04076dd433246b8dcfe1d18ba4c855c.tar.bz2
samba-2119b7dff04076dd433246b8dcfe1d18ba4c855c.zip
r24644: add a ctdb_fetch() function to the ctdb client code
(This used to be commit 1aa4628f16b4c2ba4c8253fdd9c109b3ea874c5a)
Diffstat (limited to 'source4/cluster')
-rw-r--r--source4/cluster/ctdb/include/ctdb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/cluster/ctdb/include/ctdb.h b/source4/cluster/ctdb/include/ctdb.h
index a2b87401ca..04339b0666 100644
--- a/source4/cluster/ctdb/include/ctdb.h
+++ b/source4/cluster/ctdb/include/ctdb.h
@@ -214,6 +214,9 @@ struct ctdb_record_handle *ctdb_fetch_lock(struct ctdb_db_context *ctdb_db, TALL
int ctdb_record_store(struct ctdb_record_handle *h, TDB_DATA data);
+int ctdb_fetch(struct ctdb_db_context *ctdb_db, TALLOC_CTX *mem_ctx,
+ TDB_DATA key, TDB_DATA *data);
+
int ctdb_register_message_handler(struct ctdb_context *ctdb,
TALLOC_CTX *mem_ctx,
uint64_t srvid,