From 2119b7dff04076dd433246b8dcfe1d18ba4c855c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 24 Aug 2007 02:38:17 +0000 Subject: r24644: add a ctdb_fetch() function to the ctdb client code (This used to be commit 1aa4628f16b4c2ba4c8253fdd9c109b3ea874c5a) --- source4/cluster/ctdb/include/ctdb.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/cluster') 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, -- cgit