From d1cfe2a6d4a392f64b6b9d9255ec329fb2a6a39a Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Fri, 28 Jan 2005 19:15:39 +0000 Subject: Move _IceGetPeerName into the ICE public API as IceGetPeerName; bump ICE soversion to 6.4 accordingly. Change SM's use to the public version. The old version will be retained for compatibility. --- include/X11/ICE/ICElib.h | 3 +++ src/misc.c | 12 ++++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/include/X11/ICE/ICElib.h b/include/X11/ICE/ICElib.h index 200cd19..eb7a3aa 100644 --- a/include/X11/ICE/ICElib.h +++ b/include/X11/ICE/ICElib.h @@ -408,6 +408,9 @@ extern IceIOErrorHandler IceSetIOErrorHandler ( IceIOErrorHandler /* handler */ ); +extern char *IceGetPeerName ( + IceConn /* iceConn */ +); /* * Multithread Routines diff --git a/src/misc.c b/src/misc.c index e174b60..0ed9bc3 100644 --- a/src/misc.c +++ b/src/misc.c @@ -614,10 +614,14 @@ int myOpcode; char * -_IceGetPeerName (iceConn) - -IceConn iceConn; - +IceGetPeerName (IceConn iceConn) { return (_IceTransGetPeerNetworkId (iceConn->trans_conn)); } + + +char * +_IceGetPeerName (IceConn iceConn) +{ + return (IceGetPeerName(iceConn)); +} -- cgit v1.2.3