From 75b063d76d78b5d1e0e53a1be37dc5ad9200f7b2 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Tue, 7 Nov 2017 00:07:12 +0530 Subject: rpc/*: auth-header changes Introduce another authentication header which can now send more data. This is useful because this data can be common for all the fops, and we don't need to change all the signatures. As part of this, made rpc-clnt.c little more modular to support multiple authentication structures. stack.h changes are placeholder for the ctime etc, can be moved later based on need. updates #384 Change-Id: I6111c13cfd2ec92e2b4e9295896bf62a8a33b2c7 Signed-off-by: Amar Tumballi --- libglusterfs/src/stack.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libglusterfs/src/stack.h') diff --git a/libglusterfs/src/stack.h b/libglusterfs/src/stack.h index 251a5c25e85..4a3a788f5ee 100644 --- a/libglusterfs/src/stack.h +++ b/libglusterfs/src/stack.h @@ -117,6 +117,11 @@ struct _call_stack { struct timespec tv; xlator_t *err_xl; int32_t error; + + uint32_t flags; /* use it wisely, think of it as a mechanism to + send information over the wire too */ + struct timespec ctime; /* timestamp, most probably set at + creation of stack. */ }; -- cgit