extern public static String IceConnectionString(IceConn *iceConn);
// Read data from an ICE connection. public static bool IceReadData(IceConn *iceConn, int nbytes, byte[] data) { return (_IceRead(iceConn, (Xlib.Xulong)(uint)nbytes, data) != XStatus.Zero); }
extern public static XBool IceCheckShutdownNegotiation(IceConn *iceConn);
extern public static void _IceWrite (IceConn *iceConn, Xlib.Xulong nbytes, byte[] ptr);
extern public static void _IceErrorBadValue (IceConn *iceConn, Xlib.Xint majorOpcode, Xlib.Xint offendingMinor, Xlib.Xint offset, Xlib.Xint length, IntPtr value);
extern public static XBool IceSwapping(IceConn *iceConn);
extern public static XStatus _IceRead (IceConn *iceConn, Xlib.Xulong nbytes, byte[] ptr);
extern public static IntPtr IceAllocScratch (IceConn *iceConn, Xlib.Xulong size);
extern public static Xlib.Xint IceFlush(IceConn *iceConn);
extern public static Xlib.Xint IceProcessMessages (IceConn *iceConn, ref IceReplyWaitInfo replyWait, ref XBool replyReadyRet);
extern public static XStatus IcePing (IceConn *iceConn, IcePingReplyProc pingReplyProc, IntPtr clientData);
extern public static XStatus IceProtocolShutdown (IceConn *iceConn, Xlib.Xint majorOpcode);
extern public static Xlib.Xint IceProtocolSetup (IceConn *iceConn, Xlib.Xint myOpcode, IntPtr clientData, XBool mustAuthenticate, out Xlib.Xint majorVersionRet, out Xlib.Xint minorVersionRet, out IntPtr vendorRet, out IntPtr releaseRet, Xlib.Xint errorLength, byte[] errorStringRet);
extern public static Xlib.Xint IceCloseConnection(IceConn *iceConn);
extern public static Xlib.Xulong IceLastSentSequenceNumber(IceConn *iceConn);
extern public static Xlib.Xint IceGetInBufSize(IceConn *iceConn);
extern public static Xlib.Xulong IceLastReceivedSequenceNumber (IceConn *iceConn);
extern public static Xlib.Xint IceConnectionStatus(IceConn *iceConn);
extern public static void IceAppUnlockConn(IceConn *iceConn);
extern public static String IceVendor(IceConn *iceConn);
extern public static void _IceReadSkip (IceConn *iceConn, Xlib.Xulong nbytes);
extern public static String IceRelease(IceConn *iceConn);
extern public static void _IceErrorBadLength (IceConn *iceConn, Xlib.Xint majorOpcode, Xlib.Xint offendingMinor, Xlib.Xint severity);
extern public static Xlib.Xint IceProtocolRevision(IceConn *iceConn);
// Send data over an ICE connection. public static void IceSendData(IceConn *iceConn, int nbytes, byte[] data) { IceFlush(iceConn); _IceWrite(iceConn, (Xlib.Xulong)(uint)nbytes, data); }
extern public static Xlib.Xint IceConnectionNumber(IceConn *iceConn);
extern public static IntPtr IceGetConnectionContext(IceConn *iceConn);
extern public static void IceSetShutdownNegotiation (IceConn *iceConn, XBool negotiate);