Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../usr/include/X11/extensio...
File: securproto.h
/*
[0] Fix | Delete
Copyright 1996, 1998 The Open Group
[1] Fix | Delete
[2] Fix | Delete
Permission to use, copy, modify, distribute, and sell this software and its
[3] Fix | Delete
documentation for any purpose is hereby granted without fee, provided that
[4] Fix | Delete
the above copyright notice appear in all copies and that both that
[5] Fix | Delete
copyright notice and this permission notice appear in supporting
[6] Fix | Delete
documentation.
[7] Fix | Delete
[8] Fix | Delete
The above copyright notice and this permission notice shall be included
[9] Fix | Delete
in all copies or substantial portions of the Software.
[10] Fix | Delete
[11] Fix | Delete
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
[12] Fix | Delete
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
[13] Fix | Delete
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
[14] Fix | Delete
IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
[15] Fix | Delete
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
[16] Fix | Delete
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
[17] Fix | Delete
OTHER DEALINGS IN THE SOFTWARE.
[18] Fix | Delete
[19] Fix | Delete
Except as contained in this notice, the name of The Open Group shall
[20] Fix | Delete
not be used in advertising or otherwise to promote the sale, use or
[21] Fix | Delete
other dealings in this Software without prior written authorization
[22] Fix | Delete
from The Open Group.
[23] Fix | Delete
*/
[24] Fix | Delete
[25] Fix | Delete
#ifndef _SECURPROTO_H
[26] Fix | Delete
#define _SECURPROTO_H
[27] Fix | Delete
[28] Fix | Delete
#include <X11/extensions/secur.h>
[29] Fix | Delete
[30] Fix | Delete
#define X_SecurityQueryVersion 0
[31] Fix | Delete
#define X_SecurityGenerateAuthorization 1
[32] Fix | Delete
#define X_SecurityRevokeAuthorization 2
[33] Fix | Delete
[34] Fix | Delete
typedef struct {
[35] Fix | Delete
CARD8 reqType;
[36] Fix | Delete
CARD8 securityReqType;
[37] Fix | Delete
CARD16 length;
[38] Fix | Delete
CARD16 majorVersion;
[39] Fix | Delete
CARD16 minorVersion;
[40] Fix | Delete
} xSecurityQueryVersionReq;
[41] Fix | Delete
#define sz_xSecurityQueryVersionReq 8
[42] Fix | Delete
[43] Fix | Delete
typedef struct {
[44] Fix | Delete
CARD8 type;
[45] Fix | Delete
CARD8 pad0;
[46] Fix | Delete
CARD16 sequenceNumber;
[47] Fix | Delete
CARD32 length;
[48] Fix | Delete
CARD16 majorVersion;
[49] Fix | Delete
CARD16 minorVersion;
[50] Fix | Delete
CARD32 pad1;
[51] Fix | Delete
CARD32 pad2;
[52] Fix | Delete
CARD32 pad3;
[53] Fix | Delete
CARD32 pad4;
[54] Fix | Delete
CARD32 pad5;
[55] Fix | Delete
} xSecurityQueryVersionReply;
[56] Fix | Delete
#define sz_xSecurityQueryVersionReply 32
[57] Fix | Delete
[58] Fix | Delete
typedef struct {
[59] Fix | Delete
CARD8 reqType;
[60] Fix | Delete
CARD8 securityReqType;
[61] Fix | Delete
CARD16 length;
[62] Fix | Delete
CARD16 nbytesAuthProto;
[63] Fix | Delete
CARD16 nbytesAuthData;
[64] Fix | Delete
CARD32 valueMask;
[65] Fix | Delete
/* auth protocol name padded to 4 bytes */
[66] Fix | Delete
/* auth protocol data padded to 4 bytes */
[67] Fix | Delete
/* list of CARD32 values, if any */
[68] Fix | Delete
} xSecurityGenerateAuthorizationReq;
[69] Fix | Delete
#define sz_xSecurityGenerateAuthorizationReq 12
[70] Fix | Delete
[71] Fix | Delete
typedef struct {
[72] Fix | Delete
CARD8 type;
[73] Fix | Delete
CARD8 pad0;
[74] Fix | Delete
CARD16 sequenceNumber;
[75] Fix | Delete
CARD32 length;
[76] Fix | Delete
CARD32 authId;
[77] Fix | Delete
CARD16 dataLength;
[78] Fix | Delete
CARD16 pad1;
[79] Fix | Delete
CARD32 pad2;
[80] Fix | Delete
CARD32 pad3;
[81] Fix | Delete
CARD32 pad4;
[82] Fix | Delete
CARD32 pad5;
[83] Fix | Delete
} xSecurityGenerateAuthorizationReply;
[84] Fix | Delete
#define sz_xSecurityGenerateAuthorizationReply 32
[85] Fix | Delete
[86] Fix | Delete
typedef struct {
[87] Fix | Delete
CARD8 reqType;
[88] Fix | Delete
CARD8 securityReqType;
[89] Fix | Delete
CARD16 length;
[90] Fix | Delete
CARD32 authId;
[91] Fix | Delete
} xSecurityRevokeAuthorizationReq;
[92] Fix | Delete
#define sz_xSecurityRevokeAuthorizationReq 8
[93] Fix | Delete
[94] Fix | Delete
typedef struct _xSecurityAuthorizationRevokedEvent {
[95] Fix | Delete
BYTE type;
[96] Fix | Delete
BYTE detail;
[97] Fix | Delete
CARD16 sequenceNumber;
[98] Fix | Delete
CARD32 authId;
[99] Fix | Delete
CARD32 pad0;
[100] Fix | Delete
CARD32 pad1;
[101] Fix | Delete
CARD32 pad2;
[102] Fix | Delete
CARD32 pad3;
[103] Fix | Delete
CARD32 pad4;
[104] Fix | Delete
CARD32 pad5;
[105] Fix | Delete
} xSecurityAuthorizationRevokedEvent;
[106] Fix | Delete
#define sz_xSecurityAuthorizationRevokedEvent 32
[107] Fix | Delete
[108] Fix | Delete
#endif /* _SECURPROTO_H */
[109] Fix | Delete
[110] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function