From 1aa4628f16b4c2ba4c8253fdd9c109b3ea874c5a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 24 Aug 2007 02:38:17 +0000 Subject: [PATCH] r24644: add a ctdb_fetch() function to the ctdb client code --- source/cluster/ctdb/include/ctdb.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/cluster/ctdb/include/ctdb.h b/source/cluster/ctdb/include/ctdb.h index a2b87401cab..04339b06663 100644 --- a/source/cluster/ctdb/include/ctdb.h +++ b/source/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,