Author: tridge Date: 2007-08-24 02:38:17 +0000 (Fri, 24 Aug 2007) New Revision: 24644
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24644 Log: add a ctdb_fetch() function to the ctdb client code Modified: branches/SAMBA_4_0/source/cluster/ctdb/include/ctdb.h Changeset: Modified: branches/SAMBA_4_0/source/cluster/ctdb/include/ctdb.h =================================================================== --- branches/SAMBA_4_0/source/cluster/ctdb/include/ctdb.h 2007-08-24 02:38:09 UTC (rev 24643) +++ branches/SAMBA_4_0/source/cluster/ctdb/include/ctdb.h 2007-08-24 02:38:17 UTC (rev 24644) @@ -214,6 +214,9 @@ 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,
