annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/X11/ICE/ICE.h @ 69:33d812a61356

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 17:55:14 -0400
parents
children
rev   line source
jpayne@69 1 /******************************************************************************
jpayne@69 2
jpayne@69 3
jpayne@69 4 Copyright 1993, 1998 The Open Group
jpayne@69 5
jpayne@69 6 Permission to use, copy, modify, distribute, and sell this software and its
jpayne@69 7 documentation for any purpose is hereby granted without fee, provided that
jpayne@69 8 the above copyright notice appear in all copies and that both that
jpayne@69 9 copyright notice and this permission notice appear in supporting
jpayne@69 10 documentation.
jpayne@69 11
jpayne@69 12 The above copyright notice and this permission notice shall be included in
jpayne@69 13 all copies or substantial portions of the Software.
jpayne@69 14
jpayne@69 15 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
jpayne@69 16 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
jpayne@69 17 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
jpayne@69 18 OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
jpayne@69 19 AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
jpayne@69 20 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
jpayne@69 21
jpayne@69 22 Except as contained in this notice, the name of The Open Group shall not be
jpayne@69 23 used in advertising or otherwise to promote the sale, use or other dealings
jpayne@69 24 in this Software without prior written authorization from The Open Group.
jpayne@69 25
jpayne@69 26 Author: Ralph Mor, X Consortium
jpayne@69 27
jpayne@69 28 ******************************************************************************/
jpayne@69 29
jpayne@69 30 #ifndef _ICE_H_
jpayne@69 31 #define _ICE_H_
jpayne@69 32
jpayne@69 33 /*
jpayne@69 34 * Protocol Version
jpayne@69 35 */
jpayne@69 36
jpayne@69 37 #define IceProtoMajor 1
jpayne@69 38 #define IceProtoMinor 0
jpayne@69 39
jpayne@69 40
jpayne@69 41 /*
jpayne@69 42 * Byte Order
jpayne@69 43 */
jpayne@69 44
jpayne@69 45 #define IceLSBfirst 0
jpayne@69 46 #define IceMSBfirst 1
jpayne@69 47
jpayne@69 48
jpayne@69 49 /*
jpayne@69 50 * ICE minor opcodes
jpayne@69 51 */
jpayne@69 52
jpayne@69 53 #define ICE_Error 0
jpayne@69 54 #define ICE_ByteOrder 1
jpayne@69 55 #define ICE_ConnectionSetup 2
jpayne@69 56 #define ICE_AuthRequired 3
jpayne@69 57 #define ICE_AuthReply 4
jpayne@69 58 #define ICE_AuthNextPhase 5
jpayne@69 59 #define ICE_ConnectionReply 6
jpayne@69 60 #define ICE_ProtocolSetup 7
jpayne@69 61 #define ICE_ProtocolReply 8
jpayne@69 62 #define ICE_Ping 9
jpayne@69 63 #define ICE_PingReply 10
jpayne@69 64 #define ICE_WantToClose 11
jpayne@69 65 #define ICE_NoClose 12
jpayne@69 66
jpayne@69 67
jpayne@69 68 /*
jpayne@69 69 * Error severity
jpayne@69 70 */
jpayne@69 71
jpayne@69 72 #define IceCanContinue 0
jpayne@69 73 #define IceFatalToProtocol 1
jpayne@69 74 #define IceFatalToConnection 2
jpayne@69 75
jpayne@69 76
jpayne@69 77 /*
jpayne@69 78 * ICE error classes that are common to all protocols
jpayne@69 79 */
jpayne@69 80
jpayne@69 81 #define IceBadMinor 0x8000
jpayne@69 82 #define IceBadState 0x8001
jpayne@69 83 #define IceBadLength 0x8002
jpayne@69 84 #define IceBadValue 0x8003
jpayne@69 85
jpayne@69 86
jpayne@69 87 /*
jpayne@69 88 * ICE error classes that are specific to the ICE protocol
jpayne@69 89 */
jpayne@69 90
jpayne@69 91 #define IceBadMajor 0
jpayne@69 92 #define IceNoAuth 1
jpayne@69 93 #define IceNoVersion 2
jpayne@69 94 #define IceSetupFailed 3
jpayne@69 95 #define IceAuthRejected 4
jpayne@69 96 #define IceAuthFailed 5
jpayne@69 97 #define IceProtocolDuplicate 6
jpayne@69 98 #define IceMajorOpcodeDuplicate 7
jpayne@69 99 #define IceUnknownProtocol 8
jpayne@69 100
jpayne@69 101 #endif /* _ICE_H_ */