From 2e7daeffef05c6100cbcc39f1be62935711db3eb Mon Sep 17 00:00:00 2001 From: Samikshan Bairagya Date: Mon, 31 Jul 2017 10:51:21 +0530 Subject: glusterd: Add geo-replication session details to get-state output This commit adds support to the get-state CLI to capture details on geo-replication session as obtained in `gluster volume geo-replication status detail` in its output. Fixes: #291 Change-Id: I2fbcba70bfdaf439522637234805545194777ed4 Signed-off-by: Samikshan Bairagya Reviewed-on: https://review.gluster.org/17941 Smoke: Gluster Build System Reviewed-by: Shubhendu Tripathi CentOS-regression: Gluster Build System Reviewed-by: Atin Mukherjee --- libglusterfs/src/common-utils.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libglusterfs/src/common-utils.h') diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h index 4470bb25f25..eb3a8f3ac77 100644 --- a/libglusterfs/src/common-utils.h +++ b/libglusterfs/src/common-utils.h @@ -44,6 +44,7 @@ void trap (void); #include "iatt.h" #include "uuid.h" #include "libglusterfs-messages.h" +#include "protocol-common.h" #define STRINGIFY(val) #val #define TOSTRING(val) STRINGIFY(val) @@ -939,5 +940,7 @@ gf_getgrouplist (const char *user, gid_t group, gid_t **groups); int glusterfs_compute_sha256 (const unsigned char *content, size_t size, char *sha256_hash); +char* +get_struct_variable (int mem_num, gf_gsync_status_t *sts_val); #endif /* _COMMON_UTILS_H */ -- cgit