summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-utils.h
diff options
context:
space:
mode:
authorCsaba Henk <csaba@redhat.com>2012-05-29 17:21:34 +0530
committerAnand Avati <avati@redhat.com>2012-05-31 14:23:47 -0700
commitcd88d3db0f48c4354711a606937a2f0b9ba7f87a (patch)
tree4de5753420dde7847aa26e53f9e3dded47333b9c /xlators/mgmt/glusterd/src/glusterd-utils.h
parentf2a3291c2fe5a00bca1e4a77a37560ec30cc24bf (diff)
glusterd: cut out a standalone socket path calculation routine
Change-Id: If5f196c9154ea59e37b83d3e4cad445fee6e9d45 BUG: 826512 Signed-off-by: Csaba Henk <csaba@redhat.com> Reviewed-on: http://review.gluster.com/3490 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Pranith Kumar Karampuri <pranithk@gluster.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.h')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.h b/xlators/mgmt/glusterd/src/glusterd-utils.h
index 0297d9a..0990ae5 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.h
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.h
@@ -195,6 +195,9 @@ glusterd_shd_start ();
int32_t
glusterd_shd_stop ();
+void
+glusterd_set_socket_filepath (char *sock_filepath, char *sockpath, size_t len);
+
int32_t
glusterd_nodesvc_set_socket_filepath (char *rundir, uuid_t uuid,
char *socketpath, int len);