[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.14.5.180: ~ $
/*
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 B16;
    CARD16	client_major_version B16;
    CARD16	client_minor_version B16;
} xXagQueryVersionReq;
#define sz_xXagQueryVersionReq		8

typedef struct {
    BYTE	type;		/* X_Reply */
    BOOL	pad1;
    CARD16	sequence_number B16;
    CARD32	length B32;
    CARD16	server_major_version B16;
    CARD16	server_minor_version B16;
    CARD32	pad2 B32;
    CARD32	pad3 B32;
    CARD32	pad4 B32;
    CARD32	pad5 B32;
    CARD32	pad6 B32;
} 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 B16;
    XAppGroup	app_group B32;
    CARD32	attrib_mask B32; /* LISTofVALUE follows */
} xXagCreateReq;
#define sz_xXagCreateReq		12

typedef struct _XagDestroy {
    CARD8	reqType;	/* always XagReqCode */
    CARD8	xagReqType;	/* always X_XagDestroy */
    CARD16	length B16;
    XAppGroup	app_group  B32;
} xXagDestroyReq;
#define sz_xXagDestroyReq		8

typedef struct _XagGetAttr {
    CARD8	reqType;	/* always XagReqCode */
    CARD8	xagReqType;	/* always X_XagGetAttr */
    CARD16	length B16;
    XAppGroup	app_group B32;
} xXagGetAttrReq;
#define sz_xXagGetAttrReq		8

typedef struct {
    BYTE	type;		/* X_Reply */
    BOOL	pad1;
    CARD16	sequence_number B16;
    CARD32	length B32;
    Window	default_root B32;
    VisualID	root_visual B32;
    Colormap	default_colormap B32;
    CARD32	black_pixel B32;
    CARD32	white_pixel B32;
    BOOL	single_screen;
    BOOL	app_group_leader;
    CARD16	pad2 B16;
} xXagGetAttrReply;
#define sz_xXagGetAttrReply		32

typedef struct _XagQuery {
    CARD8	reqType;	/* always XagReqCode */
    CARD8	xagReqType;	/* always X_XagQuery */
    CARD16	length B16;
    CARD32	resource B32;
} xXagQueryReq;
#define sz_xXagQueryReq			8

typedef struct {
    BYTE	type;		/* X_Reply */
    BOOL	pad1;
    CARD16	sequence_number B16;
    CARD32	length B32;
    XAppGroup	app_group B32;
    CARD32	pad2 B32;
    CARD32	pad3 B32;
    CARD32	pad4 B32;
    CARD32	pad5 B32;
    CARD32	pad6 B32;
} xXagQueryReply;
#define sz_xXagQueryReply		32

typedef struct _XagCreateAssoc {
    CARD8	reqType;	/* always XagReqCode */
    CARD8	xagReqType;	/* always X_XagCreateAssoc */
    CARD16	length B16;
    Window	window B32;
    CARD16	window_type B16;
    CARD16	system_window_len B16; /* LISTofCARD8 follows */
} xXagCreateAssocReq;
#define sz_xXagCreateAssocReq		12

typedef struct _XagDestroyAssoc {
    CARD8	reqType;	/* always XagReqCode */
    CARD8	xagReqType;	/* always X_XagDestroyAssoc */
    CARD16	length B16;
    Window	window B32;
} 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_ */


Filemanager

Name Type Size Permission Actions
EVI.h File 1.53 KB 0644
EVIproto.h File 3.03 KB 0644
XI.h File 9.59 KB 0644
XI2.h File 10.29 KB 0644
XI2proto.h File 36.64 KB 0644
XIproto.h File 41.62 KB 0644
XKB.h File 27.58 KB 0644
XKBgeom.h File 15.45 KB 0644
XKBproto.h File 30.17 KB 0644
XKBsrv.h File 27.37 KB 0644
XKBstr.h File 19.18 KB 0644
XResproto.h File 5.37 KB 0644
Xeviestr.h File 180 B 0755
Xv.h File 2.96 KB 0644
XvMC.h File 3.54 KB 0644
XvMCproto.h File 4.77 KB 0644
Xvproto.h File 12.81 KB 0644
ag.h File 1.67 KB 0644
agproto.h File 5.06 KB 0644
bigreqsproto.h File 1.91 KB 0644
bigreqstr.h File 187 B 0644
composite.h File 3.06 KB 0644
compositeproto.h File 5.49 KB 0644
cup.h File 1.32 KB 0644
cupproto.h File 3.12 KB 0644
damageproto.h File 3.64 KB 0644
damagewire.h File 1.85 KB 0644
dbe.h File 2.11 KB 0644
dbeproto.h File 7.32 KB 0644
dmx.h File 2.32 KB 0644
dmxproto.h File 13.62 KB 0644
dpmsconst.h File 1.67 KB 0644
dpmsproto.h File 4.78 KB 0644
dri2proto.h File 8.68 KB 0644
dri2tokens.h File 2.41 KB 0644
dri3proto.h File 6.34 KB 0644
evieproto.h File 4.14 KB 0755
ge.h File 1.74 KB 0644
geproto.h File 2.36 KB 0644
lbx.h File 2.18 KB 0644
lbxproto.h File 25.22 KB 0644
mitmiscconst.h File 1.47 KB 0644
mitmiscproto.h File 2.22 KB 0644
multibufconst.h File 2.51 KB 0644
multibufproto.h File 8.79 KB 0644
panoramiXproto.h File 5.6 KB 0644
presentproto.h File 5.62 KB 0644
presenttokens.h File 3.51 KB 0644
randr.h File 6.75 KB 0644
randrproto.h File 27.1 KB 0644
recordconst.h File 2.02 KB 0644
recordproto.h File 7.71 KB 0644
recordstr.h File 258 B 0644
render.h File 6.77 KB 0644
renderproto.h File 13.66 KB 0644
saver.h File 1.86 KB 0644
saverproto.h File 5.14 KB 0644
secur.h File 2.09 KB 0644
securproto.h File 3.24 KB 0644
shapeconst.h File 1.83 KB 0644
shapeproto.h File 6.87 KB 0644
shapestr.h File 252 B 0644
shm.h File 1.61 KB 0644
shmproto.h File 6.2 KB 0644
shmstr.h File 2.07 KB 0644
syncconst.h File 6.59 KB 0644
syncproto.h File 11.26 KB 0644
syncstr.h File 5.48 KB 0644
vldXvMC.h File 5.29 KB 0644
xcmiscproto.h File 3.1 KB 0644
xcmiscstr.h File 185 B 0644
xf86bigfont.h File 414 B 0644
xf86bigfproto.h File 2.59 KB 0644
xf86bigfstr.h File 191 B 0644
xf86dga.h File 369 B 0644
xf86dga1const.h File 931 B 0644
xf86dga1proto.h File 4.74 KB 0644
xf86dga1str.h File 191 B 0644
xf86dgaconst.h File 2.48 KB 0644
xf86dgaproto.h File 7.55 KB 0644
xf86dgastr.h File 188 B 0644
xf86misc.h File 3.81 KB 0644
xf86mscstr.h File 6.36 KB 0644
xf86vm.h File 2.06 KB 0644
xf86vmproto.h File 16.51 KB 0644
xf86vmstr.h File 185 B 0644
xfixesproto.h File 13.12 KB 0644
xfixeswire.h File 5.27 KB 0644
xtestconst.h File 1.36 KB 0644
xtestext1const.h File 5.31 KB 0644
xtestext1proto.h File 7.68 KB 0644
xtestproto.h File 3.31 KB 0644