diff options
author | Gluster Ant <bugzilla-bot@gluster.org> | 2018-09-12 17:22:48 +0530 |
---|---|---|
committer | Nigel Babu <nigelb@redhat.com> | 2018-09-12 17:22:48 +0530 |
commit | 45a71c0548b6fd2c757aa2e7b7671a1411948894 (patch) | |
tree | 2a5a9b73bae47ab53a41166fd041a06612587f48 /xlators/mgmt/glusterd/src/glusterd-geo-rep.h | |
parent | be77dbbda692792335a8e9e7c02e0c281f003c40 (diff) |
Land clang-format changes
Change-Id: I6f5d8140a06f3c1b2d196849299f8d483028d33b
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-geo-rep.h')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-geo-rep.h | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-geo-rep.h b/xlators/mgmt/glusterd/src/glusterd-geo-rep.h index 8d08bcda50e..5f5fe344406 100644 --- a/xlators/mgmt/glusterd/src/glusterd-geo-rep.h +++ b/xlators/mgmt/glusterd/src/glusterd-geo-rep.h @@ -11,7 +11,7 @@ #define _GLUSTERD_GEO_REP_H_ #ifndef GSYNC_CONF_TEMPLATE -#define GSYNC_CONF_TEMPLATE GEOREP"/gsyncd_template.conf" +#define GSYNC_CONF_TEMPLATE GEOREP "/gsyncd_template.conf" #endif /* <slave host>::<slave volume> */ @@ -20,34 +20,33 @@ /* slave info format: * <master host uuid>:ssh://{<slave_user>@}<slave host>::<slave volume> \ * :<slave volume uuid> */ -#define VOLINFO_SLAVE_URL_MAX (LOGIN_NAME_MAX + (2*GF_UUID_BUF_SIZE) \ - + SLAVE_URL_INFO_MAX + 10) +#define VOLINFO_SLAVE_URL_MAX \ + (LOGIN_NAME_MAX + (2 * GF_UUID_BUF_SIZE) + SLAVE_URL_INFO_MAX + 10) typedef struct glusterd_gsync_status_temp { - dict_t *rsp_dict; - glusterd_volinfo_t *volinfo; - char *node; + dict_t *rsp_dict; + glusterd_volinfo_t *volinfo; + char *node; } glusterd_gsync_status_temp_t; typedef struct gsync_status_param { - int is_active; - glusterd_volinfo_t *volinfo; + int is_active; + glusterd_volinfo_t *volinfo; } gsync_status_param_t; int -gsync_status (char *master, char *slave, char *conf_path, - int *status, gf_boolean_t *is_template_in_use); +gsync_status(char *master, char *slave, char *conf_path, int *status, + gf_boolean_t *is_template_in_use); void -glusterd_check_geo_rep_configured (glusterd_volinfo_t *volinfo, - gf_boolean_t *flag); +glusterd_check_geo_rep_configured(glusterd_volinfo_t *volinfo, + gf_boolean_t *flag); int -_get_slave_status (dict_t *dict, char *key, data_t *value, void *data); +_get_slave_status(dict_t *dict, char *key, data_t *value, void *data); int -glusterd_check_geo_rep_running (gsync_status_param_t *param, char **op_errstr); +glusterd_check_geo_rep_running(gsync_status_param_t *param, char **op_errstr); int -glusterd_get_gsync_status_mst (glusterd_volinfo_t *volinfo, dict_t *rsp_dict, - char *node); +glusterd_get_gsync_status_mst(glusterd_volinfo_t *volinfo, dict_t *rsp_dict, + char *node); #endif - |