/
usr
/
include
/
X11
/
extensions
/
/usr/include/X11/extensions
mkdir
upload
Name
Size
Mode
Actions
ag.h
1705
0644
edit
dl
rm
agproto.h
5005
0644
edit
dl
rm
bigreqsproto.h
1909
0644
edit
dl
rm
bigreqstr.h
187
0644
edit
dl
rm
composite.h
3130
0644
edit
dl
rm
compositeproto.h
5462
0644
edit
dl
rm
cup.h
1353
0644
edit
dl
rm
cupproto.h
3065
0644
edit
dl
rm
damageproto.h
3615
0644
edit
dl
rm
damagewire.h
1893
0644
edit
dl
rm
dbe.h
2159
0644
edit
dl
rm
dbeproto.h
7343
0644
edit
dl
rm
dmx.h
2373
0644
edit
dl
rm
dmxproto.h
13343
0644
edit
dl
rm
dpmsconst.h
1778
0644
edit
dl
rm
dpmsproto.h
5288
0644
edit
dl
rm
dri2proto.h
8318
0644
edit
dl
rm
dri2tokens.h
2468
0644
edit
dl
rm
dri3proto.h
6129
0644
edit
dl
rm
EVI.h
1563
0644
edit
dl
rm
EVIproto.h
3006
0644
edit
dl
rm
ge.h
1782
0644
edit
dl
rm
geproto.h
2351
0644
edit
dl
rm
lbx.h
2236
0644
edit
dl
rm
lbxproto.h
24782
0644
edit
dl
rm
mitmiscconst.h
1509
0644
edit
dl
rm
mitmiscproto.h
2229
0644
edit
dl
rm
multibufconst.h
2575
0644
edit
dl
rm
multibufproto.h
8600
0644
edit
dl
rm
panoramiXproto.h
5473
0644
edit
dl
rm
presentproto.h
5409
0644
edit
dl
rm
presenttokens.h
3597
0644
edit
dl
rm
randr.h
6909
0644
edit
dl
rm
randrproto.h
25751
0644
edit
dl
rm
recordconst.h
2064
0644
edit
dl
rm
recordproto.h
7634
0644
edit
dl
rm
recordstr.h
258
0644
edit
dl
rm
render.h
6933
0644
edit
dl
rm
renderproto.h
13218
0644
edit
dl
rm
saver.h
1900
0644
edit
dl
rm
saverproto.h
5132
0644
edit
dl
rm
secur.h
2141
0644
edit
dl
rm
securproto.h
3177
0644
edit
dl
rm
shapeconst.h
1878
0644
edit
dl
rm
shapeproto.h
6730
0644
edit
dl
rm
shapestr.h
252
0644
edit
dl
rm
shm.h
1645
0644
edit
dl
rm
shmproto.h
6045
0644
edit
dl
rm
shmstr.h
2123
0644
edit
dl
rm
syncconst.h
6750
0644
edit
dl
rm
syncproto.h
11001
0644
edit
dl
rm
syncstr.h
5606
0644
edit
dl
rm
xcmiscproto.h
3057
0644
edit
dl
rm
xcmiscstr.h
185
0644
edit
dl
rm
xf86bigfont.h
414
0644
edit
dl
rm
xf86bigfproto.h
2544
0644
edit
dl
rm
xf86bigfstr.h
191
0644
edit
dl
rm
xf86dga.h
369
0644
edit
dl
rm
xf86dga1const.h
931
0644
edit
dl
rm
xf86dga1proto.h
4506
0644
edit
dl
rm
xf86dga1str.h
191
0644
edit
dl
rm
xf86dgaconst.h
2533
0644
edit
dl
rm
xf86dgaproto.h
7106
0644
edit
dl
rm
xf86dgastr.h
188
0644
edit
dl
rm
xf86misc.h
3901
0644
edit
dl
rm
xf86mscstr.h
6104
0644
edit
dl
rm
xf86vm.h
2106
0644
edit
dl
rm
xf86vmproto.h
15700
0644
edit
dl
rm
xf86vmstr.h
185
0644
edit
dl
rm
xfixesproto.h
12752
0644
edit
dl
rm
xfixeswire.h
5396
0644
edit
dl
rm
XI.h
9823
0644
edit
dl
rm
XI2.h
10542
0644
edit
dl
rm
XI2proto.h
37577
0644
edit
dl
rm
XIproto.h
41010
0644
edit
dl
rm
XKB.h
28211
0644
edit
dl
rm
XKBgeom.h
15808
0644
edit
dl
rm
XKBproto.h
29105
0644
edit
dl
rm
XKBsrv.h
28018
0644
edit
dl
rm
XKBstr.h
19630
0644
edit
dl
rm
XResproto.h
5168
0644
edit
dl
rm
xtestconst.h
1392
0644
edit
dl
rm
xtestext1const.h
5439
0644
edit
dl
rm
xtestext1proto.h
7790
0644
edit
dl
rm
xtestproto.h
3254
0644
edit
dl
rm
Xv.h
3027
0644
edit
dl
rm
XvMC.h
3620
0644
edit
dl
rm
XvMCproto.h
4484
0644
edit
dl
rm
Xvproto.h
12109
0644
edit
dl
rm
Edit:
/usr/include/X11/extensions/dmxproto.h
(13343B)
/* * Copyright 2002-2004 Red Hat Inc., Durham, North Carolina. * * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation on the rights to use, copy, modify, merge, * publish, distribute, sublicense, and/or sell copies of the Software, * and to permit persons to whom the Software is furnished to do so, * subject to the following conditions: * * The above copyright notice and this permission notice (including the * next paragraph) shall be included in all copies or substantial * portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ /* * Authors: * Rickard E. (Rik) Faith <faith@redhat.com> * */ /** \file * This file describes the structures necessary to implement the wire * protocol for the DMX protocol extension. It should be included only * in files that implement the client-side (or server-side) part of the * protocol (i.e., client-side applications should \b not include this * file). */ #ifndef _DMXSTR_H_ #define _DMXSTR_H_ #define DMX_EXTENSION_NAME "DMX" #define DMX_EXTENSION_MAJOR 2 #define DMX_EXTENSION_MINOR 2 #define DMX_EXTENSION_PATCH 20040604 /* These values must be larger than LastExtensionError. The values in dmxext.h and dmxproto.h *MUST* match. */ #define DMX_BAD_XINERAMA 1001 #define DMX_BAD_VALUE 1002 #define X_DMXQueryVersion 0 #define X_DMXGetScreenCount 1 #define X_DMXGetScreenInformationDEPRECATED 2 #define X_DMXGetWindowAttributes 3 #define X_DMXGetInputCount 4 #define X_DMXGetInputAttributes 5 #define X_DMXForceWindowCreationDEPRECATED 6 #define X_DMXReconfigureScreenDEPRECATED 7 #define X_DMXSync 8 #define X_DMXForceWindowCreation 9 #define X_DMXGetScreenAttributes 10 #define X_DMXChangeScreensAttributes 11 #define X_DMXAddScreen 12 #define X_DMXRemoveScreen 13 #define X_DMXGetDesktopAttributes 14 #define X_DMXChangeDesktopAttributes 15 #define X_DMXAddInput 16 #define X_DMXRemoveInput 17 /** Wire-level description of DMXQueryVersion protocol request. */ typedef struct { CARD8 reqType; /* dmxcode */ CARD8 dmxReqType; /* X_DMXQueryVersion */ CARD16 length; } xDMXQueryVersionReq; #define sz_xDMXQueryVersionReq 4 /** Wire-level description of DMXQueryVersion protocol reply. */ typedef struct { BYTE type; /* X_Reply */ CARD8 ununsed; CARD16 sequenceNumber; CARD32 length; CARD32 majorVersion; CARD32 minorVersion; CARD32 patchVersion; CARD32 pad0; CARD32 pad1; CARD32 pad2; } xDMXQueryVersionReply; #define sz_xDMXQueryVersionReply 32 /** Wire-level description of DMXSync protocol request. */ typedef struct { CARD8 reqType; /* DMXCode */ CARD8 dmxReqType; /* X_DMXSync */ CARD16 length; } xDMXSyncReq; #define sz_xDMXSyncReq 4 /** Wire-level description of DMXSync protocol reply. */ typedef struct { BYTE type; /* X_Reply */ CARD8 unused; CARD16 sequenceNumber; CARD32 length; CARD32 status; CARD32 pad0; CARD32 pad1; CARD32 pad2; CARD32 pad3; CARD32 pad4; } xDMXSyncReply; #define sz_xDMXSyncReply 32 /** Wire-level description of DMXForceWindowCreation protocol request. */ typedef struct { CARD8 reqType; /* DMXCode */ CARD8 dmxReqType; /* X_DMXForceWindowCreation */ CARD16 length; CARD32 window; } xDMXForceWindowCreationReq; #define sz_xDMXForceWindowCreationReq 8 /** Wire-level description of DMXForceWindowCreation protocol reply. */ typedef struct { BYTE type; /* X_Reply */ CARD8 unused; CARD16 sequenceNumber; CARD32 length; CARD32 status; CARD32 pad0; CARD32 pad1; CARD32 pad2; CARD32 pad3; CARD32 pad4; } xDMXForceWindowCreationReply; #define sz_xDMXForceWindowCreationReply 32 /** Wire-level description of DMXGetScreenCount protocol request. */ typedef struct { CARD8 reqType; /* DMXCode */ CARD8 dmxReqType; /* X_DMXGetScreenCount */ CARD16 length; } xDMXGetScreenCountReq; #define sz_xDMXGetScreenCountReq 4 /** Wire-level description of DMXGetScreenCount protocol reply. */ typedef struct { BYTE type; /* X_Reply */ CARD8 unused; CARD16 sequenceNumber; CARD32 length; CARD32 screenCount; CARD32 pad0; CARD32 pad1; CARD32 pad2; CARD32 pad3; CARD32 pad4; } xDMXGetScreenCountReply; #define sz_xDMXGetScreenCountReply 32 /** Wire-level description of DMXGetScreenAttributes protocol request. */ typedef struct { CARD8 reqType; /* DMXCode */ CARD8 dmxReqType; /* X_DMXGetScreenAttributes */ CARD16 length; CARD32 physicalScreen; } xDMXGetScreenAttributesReq; #define sz_xDMXGetScreenAttributesReq 8 /** Wire-level description of DMXGetScreenAttributes protocol reply. */ typedef struct { BYTE type; /* X_Reply */ CARD8 unused; CARD16 sequenceNumber; CARD32 length; CARD32 displayNameLength; CARD32 logicalScreen; CARD16 screenWindowWidth; CARD16 screenWindowHeight; INT16 screenWindowXoffset; INT16 screenWindowYoffset; CARD16 rootWindowWidth; CARD16 rootWindowHeight; INT16 rootWindowXoffset; INT16 rootWindowYoffset; INT16 rootWindowXorigin; INT16 rootWindowYorigin; } xDMXGetScreenAttributesReply; #define sz_xDMXGetScreenAttributesReply 36 /** Wire-level description of DMXChangeScreensAttributes protocol request. */ typedef struct { CARD8 reqType; /* DMXCode */ CARD8 dmxReqType; /* X_DMXChangeScreensAttributes */ CARD16 length; CARD32 screenCount; CARD32 maskCount; } xDMXChangeScreensAttributesReq; #define sz_xDMXChangeScreensAttributesReq 12 /** Wire-level description of DMXChangeScreensAttributes protocol reply. */ typedef struct { BYTE type; /* X_Reply */ CARD8 unused; CARD16 sequenceNumber; CARD32 length; CARD32 status; CARD32 errorScreen; CARD32 pad0; CARD32 pad1; CARD32 pad2; CARD32 pad3; } xDMXChangeScreensAttributesReply; #define sz_xDMXChangeScreensAttributesReply 32 /** Wire-level description of DMXAddScreen protocol request. */ typedef struct { CARD8 reqType; /* DMXCode */ CARD8 dmxReqType; /* X_DMXAddScreen */ CARD16 length; CARD32 displayNameLength; CARD32 physicalScreen; CARD32 valueMask; } xDMXAddScreenReq; #define sz_xDMXAddScreenReq 16 /** Wire-level description of DMXAddScreen protocol reply. */ typedef struct { BYTE type; /* X_Reply */ CARD8 unused; CARD16 sequenceNumber; CARD32 length; CARD32 status; CARD32 physicalScreen; CARD32 pad0; CARD32 pad1; CARD32 pad2; CARD32 pad3; } xDMXAddScreenReply; #define sz_xDMXAddScreenReply 32 /** Wire-level description of DMXRemoveScreen protocol request. */ typedef struct { CARD8 reqType; /* DMXCode */ CARD8 dmxReqType; /* X_DMXRemoveScreen */ CARD16 length; CARD32 physicalScreen; } xDMXRemoveScreenReq; #define sz_xDMXRemoveScreenReq 8 /** Wire-level description of DMXRemoveScreen protocol reply. */ typedef struct { BYTE type; /* X_Reply */ CARD8 unused; CARD16 sequenceNumber; CARD32 length; CARD32 status; CARD32 pad0; CARD32 pad1; CARD32 pad2; CARD32 pad3; CARD32 pad4; } xDMXRemoveScreenReply; #define sz_xDMXRemoveScreenReply 32 /** Wire-level description of DMXGetWindowAttributes protocol request. */ typedef struct { CARD8 reqType; /* DMXCode */ CARD8 dmxReqType; /* X_DMXGetWindowAttributes */ CARD16 length; CARD32 window; } xDMXGetWindowAttributesReq; #define sz_xDMXGetWindowAttributesReq 8 /** Wire-level description of DMXGetWindowAttributes protocol reply. */ typedef struct { BYTE type; /* X_Reply */ CARD8 unused; CARD16 sequenceNumber; CARD32 length; CARD32 screenCount; CARD32 pad0; CARD32 pad1; CARD32 pad2; CARD32 pad3; CARD32 pad4; } xDMXGetWindowAttributesReply; #define sz_xDMXGetWindowAttributesReply 32 /** Wire-level description of DMXGetDesktopAttributes protocol request. */ typedef struct { CARD8 reqType; /* DMXCode */ CARD8 dmxReqType; /* X_DMXGetDesktopAttributes */ CARD16 length; } xDMXGetDesktopAttributesReq; #define sz_xDMXGetDesktopAttributesReq 4 /** Wire-level description of DMXGetDesktopAttributes protocol reply. */ typedef struct { BYTE type; /* X_Reply */ CARD8 unused; CARD16 sequenceNumber; CARD32 length; INT16 width; INT16 height; INT16 shiftX; INT16 shiftY; CARD32 pad0; CARD32 pad1; CARD32 pad2; CARD32 pad3; } xDMXGetDesktopAttributesReply; #define sz_xDMXGetDesktopAttributesReply 32 /** Wire-level description of DMXChangeDesktopAttributes protocol request. */ typedef struct { CARD8 reqType; /* DMXCode */ CARD8 dmxReqType; /* X_DMXChangeDesktopAttributes */ CARD16 length; CARD32 valueMask; } xDMXChangeDesktopAttributesReq; #define sz_xDMXChangeDesktopAttributesReq 8 /** Wire-level description of DMXChangeDesktopAttributes protocol reply. */ typedef struct { BYTE type; /* X_Reply */ CARD8 unused; CARD16 sequenceNumber; CARD32 length; CARD32 status; CARD32 pad0; CARD32 pad1; CARD32 pad2; CARD32 pad3; CARD32 pad4; } xDMXChangeDesktopAttributesReply; #define sz_xDMXChangeDesktopAttributesReply 32 /** Wire-level description of DMXGetInputCount protocol request. */ typedef struct { CARD8 reqType; /* DMXCode */ CARD8 dmxReqType; /* X_DMXGetInputCount */ CARD16 length; } xDMXGetInputCountReq; #define sz_xDMXGetInputCountReq 4 /** Wire-level description of DMXGetInputCount protocol reply. */ typedef struct { BYTE type; /* X_Reply */ CARD8 unused; CARD16 sequenceNumber; CARD32 length; CARD32 inputCount; CARD32 pad0; CARD32 pad1; CARD32 pad2; CARD32 pad3; CARD32 pad4; } xDMXGetInputCountReply; #define sz_xDMXGetInputCountReply 32 /** Wire-level description of DMXGetInputAttributes protocol request. */ typedef struct { CARD8 reqType; /* DMXCode */ CARD8 dmxReqType; /* X_DMXGetInputAttributes */ CARD16 length; CARD32 deviceId; } xDMXGetInputAttributesReq; #define sz_xDMXGetInputAttributesReq 8 /** Wire-level description of DMXGetInputAttributes protocol reply. */ typedef struct { BYTE type; /* X_Reply */ CARD8 unused; CARD16 sequenceNumber; CARD32 length; CARD32 inputType; CARD32 physicalScreen; CARD32 physicalId; CARD32 nameLength; BOOL isCore; BOOL sendsCore; BOOL detached; CARD8 pad0; CARD32 pad1; } xDMXGetInputAttributesReply; #define sz_xDMXGetInputAttributesReply 32 /** Wire-level description of DMXAddInput protocol request. */ typedef struct { CARD8 reqType; /* DMXCode */ CARD8 dmxReqType; /* X_DMXAddInput */ CARD16 length; CARD32 displayNameLength; CARD32 valueMask; } xDMXAddInputReq; #define sz_xDMXAddInputReq 12 /** Wire-level description of DMXAddInput protocol reply. */ typedef struct { BYTE type; /* X_Reply */ CARD8 unused; CARD16 sequenceNumber; CARD32 length; CARD32 status; CARD32 physicalId; CARD32 pad0; CARD32 pad1; CARD32 pad2; CARD32 pad3; } xDMXAddInputReply; #define sz_xDMXAddInputReply 32 /** Wire-level description of DMXRemoveInput protocol request. */ typedef struct { CARD8 reqType; /* DMXCode */ CARD8 dmxReqType; /* X_DMXRemoveInput */ CARD16 length; CARD32 physicalId; } xDMXRemoveInputReq; #define sz_xDMXRemoveInputReq 8 /** Wire-level description of DMXRemoveInput protocol reply. */ typedef struct { BYTE type; CARD8 unused; CARD16 sequenceNumber; CARD32 length; CARD32 status; CARD32 pad0; CARD32 pad1; CARD32 pad2; CARD32 pad3; CARD32 pad4; } xDMXRemoveInputReply; #define sz_xDMXRemoveInputReply 32 #endif
Save
cmd:
run