aboutsummaryrefslogtreecommitdiffstats
path: root/common/dlm-protocol.h
diff options
context:
space:
mode:
authorDamian Hobson-Garcia <dhobsong@igel.co.jp>2021-02-19 04:12:16 +0000
committerDamian Hobson-Garcia <dhobsong@igel.co.jp>2021-04-06 15:58:47 +0900
commit165bb55a61361306ded5b35aace4f660f99714be (patch)
treebb7c19e1c3ef2c83cdf3569d15596fbfaa95f4e0 /common/dlm-protocol.h
parentabb27e7774e3cd12bd3cfe3d4858bbe590e59be0 (diff)
Move lease fd send/receive to dlm-protocol
Collect all protocol related functionality in the same place instead of spreading it around across different modules. Bug-AGL: SPEC-3862 Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp> Change-Id: I169a200401e4feaa289d53240a7f5467d6a88bd3
Diffstat (limited to 'common/dlm-protocol.h')
-rw-r--r--common/dlm-protocol.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/dlm-protocol.h b/common/dlm-protocol.h
index 44785e5..c7e1327 100644
--- a/common/dlm-protocol.h
+++ b/common/dlm-protocol.h
@@ -29,4 +29,6 @@ struct dlm_client_request {
bool receive_dlm_client_request(int socket, struct dlm_client_request *request);
bool send_dlm_client_request(int socket, struct dlm_client_request *request);
+int receive_lease_fd(int socket);
+bool send_lease_fd(int socket, int lease);
#endif