diff options
author | Daniel Stone <daniel@fooishbar.org> | 2005-01-28 19:15:39 +0000 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2005-01-28 19:15:39 +0000 |
commit | d1cfe2a6d4a392f64b6b9d9255ec329fb2a6a39a (patch) | |
tree | e4bb338fcce91a403d7ba6565c4fb06db2a649f3 | |
parent | 8f0babf8450aa8097e063e13c95b1581843b2dd8 (diff) |
Move _IceGetPeerName into the ICE public API as IceGetPeerName; bump ICEsco_port_update-baseXORG-6_8_99_7XORG-6_8_99_6XORG-6_8_99_5XORG-6_8_99_4XORG-6_8_99_3XORG-6_8_99_2XORG-6_8_99_1sco_port_update
soversion to 6.4 accordingly. Change SM's use to the public version.
The old version will be retained for compatibility.
-rw-r--r-- | include/X11/ICE/ICElib.h | 3 | ||||
-rw-r--r-- | 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 @@ -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)); +} |