diff options
Diffstat (limited to 'api/src/glfs.h')
-rw-r--r-- | api/src/glfs.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/api/src/glfs.h b/api/src/glfs.h index b073d8d1b17..d3bf1b4cdcc 100644 --- a/api/src/glfs.h +++ b/api/src/glfs.h @@ -164,12 +164,14 @@ int glfs_set_volfile (glfs_t *fs, const char *volfile) __THROW management daemon. Specifying NULL will result in the usage of the default (tcp) transport type. Permitted values are those what you specify as transport-type in a volume - specification file (e.g "tcp", "rdma" etc.) + specification file (e.g "tcp", "rdma", "unix" etc.) @host: String specifying the address where to find the management daemon. + Socket path, while using Unix domain socket as transport type. This would either be - - FQDN (e.g: "storage01.company.com") or - - ASCII (e.g: "192.168.22.1") + - FQDN (e.g : "storage01.company.com") or + - ASCII (e.g : "192.168.22.1") or + - Socket path (e.g : "/var/run/glusterd.socket") NOTE: This API is special, multiple calls to this function with different volfile servers, port or transport-type would create a list of volfile |