diff options
Diffstat (limited to 'ctdb/include')
-rw-r--r-- | ctdb/include/ctdb_private.h | 3 | ||||
-rw-r--r-- | ctdb/include/ctdb_protocol.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index 7d16c425881..6c7dd7941b7 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -634,6 +634,9 @@ bool ctdb_db_all_frozen(struct ctdb_context *ctdb); void ctdb_start_keepalive(struct ctdb_context *ctdb); void ctdb_stop_keepalive(struct ctdb_context *ctdb); +void ctdb_request_keepalive(struct ctdb_context *ctdb, + struct ctdb_req_header *hdr); + /* from server/ctdb_lock.c */ struct lock_request; diff --git a/ctdb/include/ctdb_protocol.h b/ctdb/include/ctdb_protocol.h index 2fb3b6d0dca..52ecc456947 100644 --- a/ctdb/include/ctdb_protocol.h +++ b/ctdb/include/ctdb_protocol.h @@ -130,6 +130,8 @@ struct ctdb_reply_control_old { struct ctdb_req_keepalive_old { struct ctdb_req_header hdr; + uint32_t version; + uint32_t uptime; }; /* |