1 /******************************************************************************
4 Copyright 1993, 1998 The Open Group
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
12 The above copyright notice and this permission notice shall be included in
13 all copies or substantial portions of the Software.
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.
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.
26 Author: Ralph Mor, X Consortium
27 ******************************************************************************/
44 CARD16 errorClass B16;
46 CARD8 offendingMinorOpcode;
49 CARD32 offendingSequenceNum B32;
50 /* n varying values */
51 /* p p = pad (n, 8) */
68 CARD8 mustAuthenticate;
71 /* j STRING release */
72 /* k LIST of STRING authentication-protocol-names */
73 /* m LIST of VERSION version-list */
74 /* p p = pad (i+j+k+m, 8) */
75 } iceConnectionSetupMsg;
83 CARD16 authDataLength B16;
86 /* p p = pad (n, 8) */
94 CARD16 authDataLength B16;
97 /* p p = pad (n, 8) */
105 CARD16 authDataLength B16;
108 /* p p = pad (n, 8) */
109 } iceAuthNextPhaseMsg;
117 /* i STRING vendor */
118 /* j STRING release */
119 /* p p = pad (i+j, 8) */
120 } iceConnectionReplyMsg;
125 CARD8 protocolOpcode;
126 CARD8 mustAuthenticate;
131 /* i STRING protocol-name */
132 /* j STRING vendor */
133 /* k STRING release */
134 /* m LIST of STRING authentication-protocol-names */
135 /* n LIST of VERSION version-list */
136 /* p p = pad (i+j+k+m+n, 8) */
137 } iceProtocolSetupMsg;
143 CARD8 protocolOpcode;
145 /* i STRING vendor */
146 /* j STRING release */
147 /* p p = pad (i+j, 8) */
148 } iceProtocolReplyMsg;
150 typedef iceMsg icePingMsg;
151 typedef iceMsg icePingReplyMsg;
152 typedef iceMsg iceWantToCloseMsg;
153 typedef iceMsg iceNoCloseMsg;
157 * SIZEOF values. These better be multiples of 8.
161 #define sz_iceErrorMsg 16
162 #define sz_iceByteOrderMsg 8
163 #define sz_iceConnectionSetupMsg 16
164 #define sz_iceAuthRequiredMsg 16
165 #define sz_iceAuthReplyMsg 16
166 #define sz_iceAuthNextPhaseMsg 16
167 #define sz_iceConnectionReplyMsg 8
168 #define sz_iceProtocolSetupMsg 16
169 #define sz_iceProtocolReplyMsg 8
170 #define sz_icePingMsg 8
171 #define sz_icePingReplyMsg 8
172 #define sz_iceWantToCloseMsg 8
173 #define sz_iceNoCloseMsg 8
175 #endif /* _ICEPROTO_H_ */