Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/X11/ICE
File: ICEproto.h
/******************************************************************************
[0] Fix | Delete
[1] Fix | Delete
[2] Fix | Delete
Copyright 1993, 1998 The Open Group
[3] Fix | Delete
[4] Fix | Delete
Permission to use, copy, modify, distribute, and sell this software and its
[5] Fix | Delete
documentation for any purpose is hereby granted without fee, provided that
[6] Fix | Delete
the above copyright notice appear in all copies and that both that
[7] Fix | Delete
copyright notice and this permission notice appear in supporting
[8] Fix | Delete
documentation.
[9] Fix | Delete
[10] Fix | Delete
The above copyright notice and this permission notice shall be included in
[11] Fix | Delete
all copies or substantial portions of the Software.
[12] Fix | Delete
[13] Fix | Delete
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
[14] Fix | Delete
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
[15] Fix | Delete
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
[16] Fix | Delete
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
[17] Fix | Delete
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
[18] Fix | Delete
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
[19] Fix | Delete
[20] Fix | Delete
Except as contained in this notice, the name of The Open Group shall not be
[21] Fix | Delete
used in advertising or otherwise to promote the sale, use or other dealings
[22] Fix | Delete
in this Software without prior written authorization from The Open Group.
[23] Fix | Delete
[24] Fix | Delete
Author: Ralph Mor, X Consortium
[25] Fix | Delete
******************************************************************************/
[26] Fix | Delete
[27] Fix | Delete
#ifndef _ICEPROTO_H_
[28] Fix | Delete
#define _ICEPROTO_H_
[29] Fix | Delete
[30] Fix | Delete
#include <X11/Xmd.h>
[31] Fix | Delete
[32] Fix | Delete
typedef struct {
[33] Fix | Delete
CARD8 majorOpcode;
[34] Fix | Delete
CARD8 minorOpcode;
[35] Fix | Delete
CARD8 data[2];
[36] Fix | Delete
CARD32 length B32;
[37] Fix | Delete
} iceMsg;
[38] Fix | Delete
[39] Fix | Delete
typedef struct {
[40] Fix | Delete
CARD8 majorOpcode;
[41] Fix | Delete
CARD8 minorOpcode;
[42] Fix | Delete
CARD16 errorClass B16;
[43] Fix | Delete
CARD32 length B32;
[44] Fix | Delete
CARD8 offendingMinorOpcode;
[45] Fix | Delete
CARD8 severity;
[46] Fix | Delete
CARD16 unused B16;
[47] Fix | Delete
CARD32 offendingSequenceNum B32;
[48] Fix | Delete
/* n varying values */
[49] Fix | Delete
/* p p = pad (n, 8) */
[50] Fix | Delete
} iceErrorMsg;
[51] Fix | Delete
[52] Fix | Delete
typedef struct {
[53] Fix | Delete
CARD8 majorOpcode;
[54] Fix | Delete
CARD8 minorOpcode;
[55] Fix | Delete
CARD8 byteOrder;
[56] Fix | Delete
CARD8 unused;
[57] Fix | Delete
CARD32 length B32;
[58] Fix | Delete
} iceByteOrderMsg;
[59] Fix | Delete
[60] Fix | Delete
typedef struct {
[61] Fix | Delete
CARD8 majorOpcode;
[62] Fix | Delete
CARD8 minorOpcode;
[63] Fix | Delete
CARD8 versionCount;
[64] Fix | Delete
CARD8 authCount;
[65] Fix | Delete
CARD32 length B32;
[66] Fix | Delete
CARD8 mustAuthenticate;
[67] Fix | Delete
CARD8 unused[7];
[68] Fix | Delete
/* i STRING vendor */
[69] Fix | Delete
/* j STRING release */
[70] Fix | Delete
/* k LIST of STRING authentication-protocol-names */
[71] Fix | Delete
/* m LIST of VERSION version-list */
[72] Fix | Delete
/* p p = pad (i+j+k+m, 8) */
[73] Fix | Delete
} iceConnectionSetupMsg;
[74] Fix | Delete
[75] Fix | Delete
typedef struct {
[76] Fix | Delete
CARD8 majorOpcode;
[77] Fix | Delete
CARD8 minorOpcode;
[78] Fix | Delete
CARD8 authIndex;
[79] Fix | Delete
CARD8 unused1;
[80] Fix | Delete
CARD32 length B32;
[81] Fix | Delete
CARD16 authDataLength B16;
[82] Fix | Delete
CARD8 unused2[6];
[83] Fix | Delete
/* n varying data */
[84] Fix | Delete
/* p p = pad (n, 8) */
[85] Fix | Delete
} iceAuthRequiredMsg;
[86] Fix | Delete
[87] Fix | Delete
typedef struct {
[88] Fix | Delete
CARD8 majorOpcode;
[89] Fix | Delete
CARD8 minorOpcode;
[90] Fix | Delete
CARD8 unused1[2];
[91] Fix | Delete
CARD32 length B32;
[92] Fix | Delete
CARD16 authDataLength B16;
[93] Fix | Delete
CARD8 unused2[6];
[94] Fix | Delete
/* n varying data */
[95] Fix | Delete
/* p p = pad (n, 8) */
[96] Fix | Delete
} iceAuthReplyMsg;
[97] Fix | Delete
[98] Fix | Delete
typedef struct {
[99] Fix | Delete
CARD8 majorOpcode;
[100] Fix | Delete
CARD8 minorOpcode;
[101] Fix | Delete
CARD8 unused1[2];
[102] Fix | Delete
CARD32 length B32;
[103] Fix | Delete
CARD16 authDataLength B16;
[104] Fix | Delete
CARD8 unused2[6];
[105] Fix | Delete
/* n varying data */
[106] Fix | Delete
/* p p = pad (n, 8) */
[107] Fix | Delete
} iceAuthNextPhaseMsg;
[108] Fix | Delete
[109] Fix | Delete
typedef struct {
[110] Fix | Delete
CARD8 majorOpcode;
[111] Fix | Delete
CARD8 minorOpcode;
[112] Fix | Delete
CARD8 versionIndex;
[113] Fix | Delete
CARD8 unused;
[114] Fix | Delete
CARD32 length B32;
[115] Fix | Delete
/* i STRING vendor */
[116] Fix | Delete
/* j STRING release */
[117] Fix | Delete
/* p p = pad (i+j, 8) */
[118] Fix | Delete
} iceConnectionReplyMsg;
[119] Fix | Delete
[120] Fix | Delete
typedef struct {
[121] Fix | Delete
CARD8 majorOpcode;
[122] Fix | Delete
CARD8 minorOpcode;
[123] Fix | Delete
CARD8 protocolOpcode;
[124] Fix | Delete
CARD8 mustAuthenticate;
[125] Fix | Delete
CARD32 length B32;
[126] Fix | Delete
CARD8 versionCount;
[127] Fix | Delete
CARD8 authCount;
[128] Fix | Delete
CARD8 unused[6];
[129] Fix | Delete
/* i STRING protocol-name */
[130] Fix | Delete
/* j STRING vendor */
[131] Fix | Delete
/* k STRING release */
[132] Fix | Delete
/* m LIST of STRING authentication-protocol-names */
[133] Fix | Delete
/* n LIST of VERSION version-list */
[134] Fix | Delete
/* p p = pad (i+j+k+m+n, 8) */
[135] Fix | Delete
} iceProtocolSetupMsg;
[136] Fix | Delete
[137] Fix | Delete
typedef struct {
[138] Fix | Delete
CARD8 majorOpcode;
[139] Fix | Delete
CARD8 minorOpcode;
[140] Fix | Delete
CARD8 versionIndex;
[141] Fix | Delete
CARD8 protocolOpcode;
[142] Fix | Delete
CARD32 length B32;
[143] Fix | Delete
/* i STRING vendor */
[144] Fix | Delete
/* j STRING release */
[145] Fix | Delete
/* p p = pad (i+j, 8) */
[146] Fix | Delete
} iceProtocolReplyMsg;
[147] Fix | Delete
[148] Fix | Delete
typedef iceMsg icePingMsg;
[149] Fix | Delete
typedef iceMsg icePingReplyMsg;
[150] Fix | Delete
typedef iceMsg iceWantToCloseMsg;
[151] Fix | Delete
typedef iceMsg iceNoCloseMsg;
[152] Fix | Delete
[153] Fix | Delete
[154] Fix | Delete
/*
[155] Fix | Delete
* SIZEOF values. These better be multiples of 8.
[156] Fix | Delete
*/
[157] Fix | Delete
[158] Fix | Delete
#define sz_iceMsg 8
[159] Fix | Delete
#define sz_iceErrorMsg 16
[160] Fix | Delete
#define sz_iceByteOrderMsg 8
[161] Fix | Delete
#define sz_iceConnectionSetupMsg 16
[162] Fix | Delete
#define sz_iceAuthRequiredMsg 16
[163] Fix | Delete
#define sz_iceAuthReplyMsg 16
[164] Fix | Delete
#define sz_iceAuthNextPhaseMsg 16
[165] Fix | Delete
#define sz_iceConnectionReplyMsg 8
[166] Fix | Delete
#define sz_iceProtocolSetupMsg 16
[167] Fix | Delete
#define sz_iceProtocolReplyMsg 8
[168] Fix | Delete
#define sz_icePingMsg 8
[169] Fix | Delete
#define sz_icePingReplyMsg 8
[170] Fix | Delete
#define sz_iceWantToCloseMsg 8
[171] Fix | Delete
#define sz_iceNoCloseMsg 8
[172] Fix | Delete
[173] Fix | Delete
#endif /* _ICEPROTO_H_ */
[174] Fix | Delete
[175] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function