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