Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../usr/include/X11/SM
File: SMproto.h
/*
[0] Fix | Delete
[1] Fix | Delete
Copyright 1993, 1998 The Open Group
[2] Fix | Delete
[3] Fix | Delete
Permission to use, copy, modify, distribute, and sell this software and its
[4] Fix | Delete
documentation for any purpose is hereby granted without fee, provided that
[5] Fix | Delete
the above copyright notice appear in all copies and that both that
[6] Fix | Delete
copyright notice and this permission notice appear in supporting
[7] Fix | Delete
documentation.
[8] Fix | Delete
[9] Fix | Delete
The above copyright notice and this permission notice shall be included in
[10] Fix | Delete
all copies or substantial portions of the Software.
[11] Fix | Delete
[12] Fix | Delete
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
[13] Fix | Delete
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
[14] Fix | Delete
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
[15] Fix | Delete
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
[16] Fix | Delete
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
[17] Fix | Delete
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
[18] Fix | Delete
[19] Fix | Delete
Except as contained in this notice, the name of The Open Group shall not be
[20] Fix | Delete
used in advertising or otherwise to promote the sale, use or other dealings
[21] Fix | Delete
in this Software without prior written authorization from The Open Group.
[22] Fix | Delete
[23] Fix | Delete
*/
[24] Fix | Delete
[25] Fix | Delete
/*
[26] Fix | Delete
* Author: Ralph Mor, X Consortium
[27] Fix | Delete
*/
[28] Fix | Delete
[29] Fix | Delete
#ifndef _SMPROTO_H_
[30] Fix | Delete
#define _SMPROTO_H_
[31] Fix | Delete
[32] Fix | Delete
#include <X11/Xmd.h>
[33] Fix | Delete
[34] Fix | Delete
typedef struct {
[35] Fix | Delete
CARD8 majorOpcode;
[36] Fix | Delete
CARD8 minorOpcode;
[37] Fix | Delete
CARD8 unused[2];
[38] Fix | Delete
CARD32 length B32;
[39] Fix | Delete
/* n ARRAY8 previousId */
[40] Fix | Delete
} smRegisterClientMsg;
[41] Fix | Delete
[42] Fix | Delete
typedef struct {
[43] Fix | Delete
CARD8 majorOpcode;
[44] Fix | Delete
CARD8 minorOpcode;
[45] Fix | Delete
CARD8 unused[2];
[46] Fix | Delete
CARD32 length B32;
[47] Fix | Delete
/* n ARRAY8 clientId */
[48] Fix | Delete
} smRegisterClientReplyMsg;
[49] Fix | Delete
[50] Fix | Delete
typedef struct {
[51] Fix | Delete
CARD8 majorOpcode;
[52] Fix | Delete
CARD8 minorOpcode;
[53] Fix | Delete
CARD8 unused1[2];
[54] Fix | Delete
CARD32 length B32;
[55] Fix | Delete
CARD8 saveType;
[56] Fix | Delete
CARD8 shutdown;
[57] Fix | Delete
CARD8 interactStyle;
[58] Fix | Delete
CARD8 fast;
[59] Fix | Delete
CARD8 unused2[4];
[60] Fix | Delete
} smSaveYourselfMsg;
[61] Fix | Delete
[62] Fix | Delete
typedef struct {
[63] Fix | Delete
CARD8 majorOpcode;
[64] Fix | Delete
CARD8 minorOpcode;
[65] Fix | Delete
CARD8 unused1[2];
[66] Fix | Delete
CARD32 length B32;
[67] Fix | Delete
CARD8 saveType;
[68] Fix | Delete
CARD8 shutdown;
[69] Fix | Delete
CARD8 interactStyle;
[70] Fix | Delete
CARD8 fast;
[71] Fix | Delete
CARD8 global;
[72] Fix | Delete
CARD8 unused2[3];
[73] Fix | Delete
} smSaveYourselfRequestMsg;
[74] Fix | Delete
[75] Fix | Delete
typedef struct {
[76] Fix | Delete
CARD8 majorOpcode;
[77] Fix | Delete
CARD8 minorOpcode;
[78] Fix | Delete
CARD8 dialogType;
[79] Fix | Delete
CARD8 unused;
[80] Fix | Delete
CARD32 length B32;
[81] Fix | Delete
} smInteractRequestMsg;
[82] Fix | Delete
[83] Fix | Delete
typedef struct {
[84] Fix | Delete
CARD8 majorOpcode;
[85] Fix | Delete
CARD8 minorOpcode;
[86] Fix | Delete
CARD8 unused[2];
[87] Fix | Delete
CARD32 length B32;
[88] Fix | Delete
} smInteractMsg;
[89] Fix | Delete
[90] Fix | Delete
typedef struct {
[91] Fix | Delete
CARD8 majorOpcode;
[92] Fix | Delete
CARD8 minorOpcode;
[93] Fix | Delete
CARD8 cancelShutdown;
[94] Fix | Delete
CARD8 unused;
[95] Fix | Delete
CARD32 length B32;
[96] Fix | Delete
} smInteractDoneMsg;
[97] Fix | Delete
[98] Fix | Delete
typedef struct {
[99] Fix | Delete
CARD8 majorOpcode;
[100] Fix | Delete
CARD8 minorOpcode;
[101] Fix | Delete
CARD8 success;
[102] Fix | Delete
CARD8 unused;
[103] Fix | Delete
CARD32 length B32;
[104] Fix | Delete
} smSaveYourselfDoneMsg;
[105] Fix | Delete
[106] Fix | Delete
typedef struct {
[107] Fix | Delete
CARD8 majorOpcode;
[108] Fix | Delete
CARD8 minorOpcode;
[109] Fix | Delete
CARD8 unused[2];
[110] Fix | Delete
CARD32 length B32;
[111] Fix | Delete
} smDieMsg;
[112] Fix | Delete
[113] Fix | Delete
typedef struct {
[114] Fix | Delete
CARD8 majorOpcode;
[115] Fix | Delete
CARD8 minorOpcode;
[116] Fix | Delete
CARD8 unused[2];
[117] Fix | Delete
CARD32 length B32;
[118] Fix | Delete
} smShutdownCancelledMsg;
[119] Fix | Delete
[120] Fix | Delete
typedef struct {
[121] Fix | Delete
CARD8 majorOpcode;
[122] Fix | Delete
CARD8 minorOpcode;
[123] Fix | Delete
CARD8 unused[2];
[124] Fix | Delete
CARD32 length B32;
[125] Fix | Delete
/* b LISTofARRAY8 reasons */
[126] Fix | Delete
} smCloseConnectionMsg;
[127] Fix | Delete
[128] Fix | Delete
typedef struct {
[129] Fix | Delete
CARD8 majorOpcode;
[130] Fix | Delete
CARD8 minorOpcode;
[131] Fix | Delete
CARD8 unused[2];
[132] Fix | Delete
CARD32 length B32;
[133] Fix | Delete
/* a LISTofPROPERTY properties */
[134] Fix | Delete
} smSetPropertiesMsg;
[135] Fix | Delete
[136] Fix | Delete
typedef struct {
[137] Fix | Delete
CARD8 majorOpcode;
[138] Fix | Delete
CARD8 minorOpcode;
[139] Fix | Delete
CARD8 unused[2];
[140] Fix | Delete
CARD32 length B32;
[141] Fix | Delete
/* a LISTofARRAY8 property names */
[142] Fix | Delete
} smDeletePropertiesMsg;
[143] Fix | Delete
[144] Fix | Delete
typedef struct {
[145] Fix | Delete
CARD8 majorOpcode;
[146] Fix | Delete
CARD8 minorOpcode;
[147] Fix | Delete
CARD8 unused[2];
[148] Fix | Delete
CARD32 length B32;
[149] Fix | Delete
} smGetPropertiesMsg;
[150] Fix | Delete
[151] Fix | Delete
typedef struct {
[152] Fix | Delete
CARD8 majorOpcode;
[153] Fix | Delete
CARD8 minorOpcode;
[154] Fix | Delete
CARD8 unused[2];
[155] Fix | Delete
CARD32 length B32;
[156] Fix | Delete
/* a LISTofPROPERTY properties */
[157] Fix | Delete
} smPropertiesReplyMsg;
[158] Fix | Delete
[159] Fix | Delete
typedef struct {
[160] Fix | Delete
CARD8 majorOpcode;
[161] Fix | Delete
CARD8 minorOpcode;
[162] Fix | Delete
CARD8 unused[2];
[163] Fix | Delete
CARD32 length B32;
[164] Fix | Delete
} smSaveYourselfPhase2RequestMsg;
[165] Fix | Delete
[166] Fix | Delete
typedef struct {
[167] Fix | Delete
CARD8 majorOpcode;
[168] Fix | Delete
CARD8 minorOpcode;
[169] Fix | Delete
CARD8 unused[2];
[170] Fix | Delete
CARD32 length B32;
[171] Fix | Delete
} smSaveYourselfPhase2Msg;
[172] Fix | Delete
[173] Fix | Delete
typedef struct {
[174] Fix | Delete
CARD8 majorOpcode;
[175] Fix | Delete
CARD8 minorOpcode;
[176] Fix | Delete
CARD8 unused[2];
[177] Fix | Delete
CARD32 length B32;
[178] Fix | Delete
} smSaveCompleteMsg;
[179] Fix | Delete
[180] Fix | Delete
[181] Fix | Delete
/*
[182] Fix | Delete
* SIZEOF values. These better be multiples of 8.
[183] Fix | Delete
*/
[184] Fix | Delete
[185] Fix | Delete
#define sz_smRegisterClientMsg 8
[186] Fix | Delete
#define sz_smRegisterClientReplyMsg 8
[187] Fix | Delete
#define sz_smSaveYourselfMsg 16
[188] Fix | Delete
#define sz_smSaveYourselfRequestMsg 16
[189] Fix | Delete
#define sz_smInteractRequestMsg 8
[190] Fix | Delete
#define sz_smInteractMsg 8
[191] Fix | Delete
#define sz_smInteractDoneMsg 8
[192] Fix | Delete
#define sz_smSaveYourselfDoneMsg 8
[193] Fix | Delete
#define sz_smDieMsg 8
[194] Fix | Delete
#define sz_smShutdownCancelledMsg 8
[195] Fix | Delete
#define sz_smCloseConnectionMsg 8
[196] Fix | Delete
#define sz_smSetPropertiesMsg 8
[197] Fix | Delete
#define sz_smDeletePropertiesMsg 8
[198] Fix | Delete
#define sz_smGetPropertiesMsg 8
[199] Fix | Delete
#define sz_smPropertiesReplyMsg 8
[200] Fix | Delete
#define sz_smSaveYourselfPhase2RequestMsg 8
[201] Fix | Delete
#define sz_smSaveYourselfPhase2Msg 8
[202] Fix | Delete
#define sz_smSaveCompleteMsg 8
[203] Fix | Delete
[204] Fix | Delete
#endif /* _SMPROTO_H_ */
[205] Fix | Delete
[206] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function