/usr/share/cagefs-skeleton/usr/include/X11/extensions
/* Copyright 1996, 1998, 2001 The Open Group Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. The above copyright notice and this permission notice 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 NONINFRINGEMENT. IN NO EVENT SHALL THE OPEN GROUP 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. Except as contained in this notice, the name of The Open Group shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. */ #ifndef _AGPROTO_H_ /* { */ #define _AGPROTO_H_ #include <X11/extensions/ag.h> #define X_XagQueryVersion 0 #define X_XagCreate 1 #define X_XagDestroy 2 #define X_XagGetAttr 3 #define X_XagQuery 4 #define X_XagCreateAssoc 5 #define X_XagDestroyAssoc 6 #define XAppGroup CARD32 /* * Redefine some basic types used by structures defined herein. This allows * both the library and server to view communicated data as 32-bit entities, * thus preventing problems on 64-bit architectures where libXext sees this * data as 64 bits and the server sees it as 32 bits. */ #define Colormap CARD32 #define VisualID CARD32 #define Window CARD32 typedef struct _XagQueryVersion { CARD8 reqType; /* always XagReqCode */ CARD8 xagReqType; /* always X_XagQueryVersion */ CARD16 length; CARD16 client_major_version; CARD16 client_minor_version; } xXagQueryVersionReq; #define sz_xXagQueryVersionReq 8 typedef struct { BYTE type; /* X_Reply */ BOOL pad1; CARD16 sequence_number; CARD32 length; CARD16 server_major_version; CARD16 server_minor_version; CARD32 pad2; CARD32 pad3; CARD32 pad4; CARD32 pad5; CARD32 pad6; } xXagQueryVersionReply; #define sz_xXagQueryVersionReply 32 /* Set AppGroup Attributes masks */ #define XagSingleScreenMask 1 << 0 #define XagDefaultRootMask 1 << XagNdefaultRoot #define XagRootVisualMask 1 << XagNrootVisual #define XagDefaultColormapMask 1 << XagNdefaultColormap #define XagBlackPixelMask 1 << XagNblackPixel #define XagWhitePixelMask 1 << XagNwhitePixel #define XagAppGroupLeaderMask 1 << XagNappGroupLeader typedef struct _XagCreate { CARD8 reqType; /* always XagReqCode */ CARD8 xagReqType; /* always X_XagCreate */ CARD16 length; XAppGroup app_group; CARD32 attrib_mask; /* LISTofVALUE follows */ } xXagCreateReq; #define sz_xXagCreateReq 12 typedef struct _XagDestroy { CARD8 reqType; /* always XagReqCode */ CARD8 xagReqType; /* always X_XagDestroy */ CARD16 length; XAppGroup app_group; } xXagDestroyReq; #define sz_xXagDestroyReq 8 typedef struct _XagGetAttr { CARD8 reqType; /* always XagReqCode */ CARD8 xagReqType; /* always X_XagGetAttr */ CARD16 length; XAppGroup app_group; } xXagGetAttrReq; #define sz_xXagGetAttrReq 8 typedef struct { BYTE type; /* X_Reply */ BOOL pad1; CARD16 sequence_number; CARD32 length; Window default_root; VisualID root_visual; Colormap default_colormap; CARD32 black_pixel; CARD32 white_pixel; BOOL single_screen; BOOL app_group_leader; CARD16 pad2; } xXagGetAttrReply; #define sz_xXagGetAttrReply 32 typedef struct _XagQuery { CARD8 reqType; /* always XagReqCode */ CARD8 xagReqType; /* always X_XagQuery */ CARD16 length; CARD32 resource; } xXagQueryReq; #define sz_xXagQueryReq 8 typedef struct { BYTE type; /* X_Reply */ BOOL pad1; CARD16 sequence_number; CARD32 length; XAppGroup app_group; CARD32 pad2; CARD32 pad3; CARD32 pad4; CARD32 pad5; CARD32 pad6; } xXagQueryReply; #define sz_xXagQueryReply 32 typedef struct _XagCreateAssoc { CARD8 reqType; /* always XagReqCode */ CARD8 xagReqType; /* always X_XagCreateAssoc */ CARD16 length; Window window; CARD16 window_type; CARD16 system_window_len; /* LISTofCARD8 follows */ } xXagCreateAssocReq; #define sz_xXagCreateAssocReq 12 typedef struct _XagDestroyAssoc { CARD8 reqType; /* always XagReqCode */ CARD8 xagReqType; /* always X_XagDestroyAssoc */ CARD16 length; Window window; } xXagDestroyAssocReq; #define sz_xXagDestroyAssocReq 8 #undef XAppGroup /* * Cancel the previous redefinition of the basic types, thus restoring their * X.h definitions. */ #undef Window #undef Colormap #undef VisualID #endif /* } _AGPROTO_H_ */
.
Edit
..
Edit
EVI.h
Edit
EVIproto.h
Edit
XI.h
Edit
XI2.h
Edit
XI2proto.h
Edit
XIproto.h
Edit
XKB.h
Edit
XKBgeom.h
Edit
XKBproto.h
Edit
XKBsrv.h
Edit
XKBstr.h
Edit
XResproto.h
Edit
Xv.h
Edit
XvMC.h
Edit
XvMCproto.h
Edit
Xvproto.h
Edit
ag.h
Edit
agproto.h
Edit
bigreqsproto.h
Edit
bigreqstr.h
Edit
composite.h
Edit
compositeproto.h
Edit
cup.h
Edit
cupproto.h
Edit
damageproto.h
Edit
damagewire.h
Edit
dbe.h
Edit
dbeproto.h
Edit
dmx.h
Edit
dmxproto.h
Edit
dpmsconst.h
Edit
dpmsproto.h
Edit
dri2proto.h
Edit
dri2tokens.h
Edit
dri3proto.h
Edit
ge.h
Edit
geproto.h
Edit
lbx.h
Edit
lbxproto.h
Edit
mitmiscconst.h
Edit
mitmiscproto.h
Edit
multibufconst.h
Edit
multibufproto.h
Edit
panoramiXproto.h
Edit
presentproto.h
Edit
presenttokens.h
Edit
randr.h
Edit
randrproto.h
Edit
recordconst.h
Edit
recordproto.h
Edit
recordstr.h
Edit
render.h
Edit
renderproto.h
Edit
saver.h
Edit
saverproto.h
Edit
secur.h
Edit
securproto.h
Edit
shapeconst.h
Edit
shapeproto.h
Edit
shapestr.h
Edit
shm.h
Edit
shmproto.h
Edit
shmstr.h
Edit
syncconst.h
Edit
syncproto.h
Edit
syncstr.h
Edit
xcmiscproto.h
Edit
xcmiscstr.h
Edit
xf86bigfont.h
Edit
xf86bigfproto.h
Edit
xf86bigfstr.h
Edit
xf86dga.h
Edit
xf86dga1const.h
Edit
xf86dga1proto.h
Edit
xf86dga1str.h
Edit
xf86dgaconst.h
Edit
xf86dgaproto.h
Edit
xf86dgastr.h
Edit
xf86vm.h
Edit
xf86vmproto.h
Edit
xf86vmstr.h
Edit
xfixesproto.h
Edit
xfixeswire.h
Edit
xtestconst.h
Edit
xtestext1const.h
Edit
xtestext1proto.h
Edit
xtestproto.h
Edit
xwaylandproto.h
Edit