summaryrefslogtreecommitdiffstats
path: root/transport/socket/src/name.h
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2010-01-27 06:57:16 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-01-28 06:11:41 -0800
commit2d85ef645f3048419d905cfc9da10a28885a6775 (patch)
treea59e601206554d8cd20555812d45a646a2b0a848 /transport/socket/src/name.h
parent6b8435359140cb08f9580a4a304ab4a070452f8f (diff)
transport/socket: guess an appropriate address family when it is not specified in configuration.v2.0.10rc1
Signed-off-by: Raghavendra G <raghavendra@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 561 (with address family set to 'inet-sdp', transport/socket doesn't work correctly) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=561
Diffstat (limited to 'transport/socket/src/name.h')
-rw-r--r--transport/socket/src/name.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/transport/socket/src/name.h b/transport/socket/src/name.h
index 019f988dd91..886d728704b 100644
--- a/transport/socket/src/name.h
+++ b/transport/socket/src/name.h
@@ -27,21 +27,15 @@ client_bind (transport_t *this,
struct sockaddr *sockaddr,
socklen_t *sockaddr_len,
int sock);
-int32_t
-client_fill_address_family (transport_t *this, sa_family_t *sa_family);
-
-int32_t
-server_fill_address_family (transport_t *this, sa_family_t *sa_family);
int32_t
-socket_client_get_remote_sockaddr (transport_t *this,
- struct sockaddr *sockaddr,
- socklen_t *sockaddr_len);
+socket_client_get_remote_sockaddr (transport_t *this, struct sockaddr *sockaddr,
+ socklen_t *sockaddr_len,
+ sa_family_t *sa_family);
int32_t
-socket_server_get_local_sockaddr (transport_t *this,
- struct sockaddr *addr,
- socklen_t *addr_len);
+socket_server_get_local_sockaddr (transport_t *this, struct sockaddr *addr,
+ socklen_t *addr_len, sa_family_t *sa_family);
int32_t
get_transport_identifiers (transport_t *this);