From 1b7a997a7b368aa459dcd57ec23532fe4cdd6e0c Mon Sep 17 00:00:00 2001 From: Pranith K Date: Sat, 2 Oct 2010 04:12:51 +0000 Subject: mgmt/glusterd: print peer state names instead of state numbers Signed-off-by: Pranith Kumar K Signed-off-by: Vijay Bellur BUG: 1779 (print peer state names instead of state numbers) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1779 --- xlators/mgmt/glusterd/src/glusterd-sm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xlators/mgmt/glusterd/src/glusterd-sm.h') diff --git a/xlators/mgmt/glusterd/src/glusterd-sm.h b/xlators/mgmt/glusterd/src/glusterd-sm.h index 0ad89465b..72dca811e 100644 --- a/xlators/mgmt/glusterd/src/glusterd-sm.h +++ b/xlators/mgmt/glusterd/src/glusterd-sm.h @@ -165,4 +165,6 @@ glusterd_destroy_probe_ctx (glusterd_probe_ctx_t *ctx); void glusterd_destroy_friend_req_ctx (glusterd_friend_req_ctx_t *ctx); +char* +glusterd_friend_sm_state_name_get (glusterd_friend_sm_state_t state); #endif -- cgit