From a9044f92c9f6eb74c5f7cb56f43a6f8ea25ccb2a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 6 Apr 2007 04:43:54 +0000 Subject: r22098: merged from bzr tree (This used to be commit a57af1ff8234ab590ebf28b3316953bec880005c) --- source4/cluster/ctdb/include/ctdb_private.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/cluster/ctdb/include/ctdb_private.h') diff --git a/source4/cluster/ctdb/include/ctdb_private.h b/source4/cluster/ctdb/include/ctdb_private.h index 66a9a6e244..9c93466e19 100644 --- a/source4/cluster/ctdb/include/ctdb_private.h +++ b/source4/cluster/ctdb/include/ctdb_private.h @@ -155,11 +155,16 @@ enum ctdb_operation { CTDB_REQ_MESSAGE = 6 }; +#define CTDB_MAGIC 0x43544442 /* CTDB */ +#define CTDB_VERSION 1 + /* packet structures */ struct ctdb_req_header { uint32_t length; + uint32_t ctdb_magic; + uint32_t ctdb_version; uint32_t operation; uint32_t destnode; uint32_t srcnode; -- cgit