📄 xieproto.h
字号:
/* $XConsortium: XIEproto.h,v 1.6 94/04/17 20:11:12 mor Exp $ *//******************************************************************************Copyright (c) 1993, 1994 X ConsortiumPermission is hereby granted, free of charge, to any person obtaininga copy of this software and associated documentation files (the"Software"), to deal in the Software without restriction, includingwithout limitation the rights to use, copy, modify, merge, publish,distribute, sublicense, and/or sell copies of the Software, and topermit persons to whom the Software is furnished to do so, subject tothe following conditions:The above copyright notice and this permission notice shall be includedin all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESSOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OFMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OROTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OROTHER DEALINGS IN THE SOFTWARE.Except as contained in this notice, the name of the X Consortium shallnot be used in advertising or otherwise to promote the sale, use orother dealings in this Software without prior written authorizationfrom the X Consortium. NOTICEThis software is being provided by AGE Logic, Inc. under thefollowing license. By obtaining, using and/or copying this software,you agree that you have read, understood, and will comply with theseterms and conditions: Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose and without fee or royalty and to grant others any or all rights granted herein is hereby granted, provided that you agree to comply with the following copyright notice and statements, including the disclaimer, and that the same appears on all copies and derivative works of the software and documentation you make. "Copyright 1993, 1994 by AGE Logic, Inc." THIS SOFTWARE IS PROVIDED "AS IS". AGE LOGIC MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. By way of example, but not limitation, AGE LOGIC MAKE NO REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE SOFTWARE DOES NOT INFRINGE THIRD-PARTY PROPRIETARY RIGHTS. AGE LOGIC SHALL BEAR NO LIABILITY FOR ANY USE OF THIS SOFTWARE. IN NO EVENT SHALL EITHER PARTY BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOSS OF PROFITS, REVENUE, DATA OR USE, INCURRED BY EITHER PARTY OR ANY THIRD PARTY, WHETHER IN AN ACTION IN CONTRACT OR TORT OR BASED ON A WARRANTY, EVEN IF AGE LOGIC LICENSEES HEREUNDER HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. The name of AGE Logic, Inc. may not be used in advertising or publicity pertaining to this software without specific, written prior permission from AGE Logic. Title to this software shall at all times remain with AGE Logic, Inc.******************************************************************************/#ifndef _XIEPROTO_H_#define _XIEPROTO_H_#include <X11/extensions/XIEprotost.h>#define Drawable CARD32#define Colormap CARD32#define GContext CARD32typedef struct { CARD8 reqType; CARD8 opcode; CARD16 length B16;} xieReq;typedef struct { CARD8 reqType; CARD8 opcode; CARD16 length B16; CARD16 majorVersion B16; CARD16 minorVersion B16;} xieQueryImageExtensionReq;typedef struct { CARD8 type; CARD8 data; CARD16 sequenceNum B16; CARD32 length B32; CARD16 majorVersion B16; CARD16 minorVersion B16; xieTypServiceClass serviceClass; xieTypAlignment alignment; CARD16 unconstrainedMantissa B16; INT32 unconstrainedMaxExp B32; INT32 unconstrainedMinExp B32; CARD8 pad2[8]; /* LISTofCARD32 (constrained-levels) */} xieQueryImageExtensionReply;typedef struct { CARD8 reqType; CARD8 opcode; CARD16 length B16; xieTypTechniqueGroup techniqueGroup; CARD8 pad[3];} xieQueryTechniquesReq;typedef struct { CARD8 type; CARD8 data; CARD16 sequenceNum B16; CARD32 length B32; CARD16 numTechniques B16; CARD8 pad[22]; /* LISTofTechniqueRec (numTechniques) */} xieQueryTechniquesReply;typedef struct { CARD8 reqType; CARD8 opcode; CARD16 length B16; xieTypColorList colorList B32; } xieCreateColorListReq;typedef struct { CARD8 reqType; CARD8 opcode; CARD16 length B16; xieTypColorList colorList B32; } xieDestroyColorListReq;typedef struct { CARD8 reqType; CARD8 opcode; CARD16 length B16; xieTypColorList colorList B32; } xiePurgeColorListReq;typedef struct { CARD8 reqType; CARD8 opcode; CARD16 length B16; xieTypColorList colorList B32; } xieQueryColorListReq;typedef struct { CARD8 type; CARD8 data; CARD16 sequenceNum B16; CARD32 length B32; Colormap colormap B32; CARD8 pad[20]; /* LISTofCARD32 (length) */} xieQueryColorListReply;typedef struct { CARD8 reqType; CARD8 opcode; CARD16 length B16; xieTypLUT lut B32;} xieCreateLUTReq;typedef struct { CARD8 reqType; CARD8 opcode; CARD16 length B16; xieTypLUT lut B32;} xieDestroyLUTReq;typedef struct { CARD8 reqType; CARD8 opcode; CARD16 length B16; xieTypPhotomap photomap B32;} xieCreatePhotomapReq;typedef struct { CARD8 reqType; CARD8 opcode; CARD16 length B16; xieTypPhotomap photomap B32;} xieDestroyPhotomapReq;typedef struct { CARD8 reqType; CARD8 opcode; CARD16 length B16; xieTypPhotomap photomap B32;} xieQueryPhotomapReq;typedef struct { CARD8 type; BOOL populated; CARD16 sequenceNum B16; CARD32 length B32; xieTypDataClass dataClass; xieTypDataType dataType; xieTypDecodeTechnique decodeTechnique B16; CARD32 width0 B32; CARD32 width1 B32; CARD32 width2 B32; CARD32 height0 B32; CARD32 height1 B32; CARD32 height2 B32; CARD32 levels0 B32; CARD32 levels1 B32; CARD32 levels2 B32;} xieQueryPhotomapReply;typedef struct { CARD8 reqType; CARD8 opcode; CARD16 length B16; xieTypROI roi B32;} xieCreateROIReq;typedef struct { CARD8 reqType; CARD8 opcode; CARD16 length B16; xieTypROI roi B32;} xieDestroyROIReq;typedef struct { CARD8 reqType; CARD8 opcode; CARD16 length B16; xieTypPhotospace nameSpace B32;} xieCreatePhotospaceReq;typedef struct { CARD8 reqType; CARD8 opcode; CARD16 length B16; xieTypPhotospace nameSpace B32;} xieDestroyPhotospaceReq;typedef struct { CARD8 reqType; CARD8 opcode; CARD16 length B16; xieTypPhotospace nameSpace B32; CARD32 floID B32; CARD16 numElements B16; BOOL notify; CARD8 pad; /* LISTofPhotoElement (numElements) */} xieExecuteImmediateReq; typedef struct { CARD8 reqType; CARD8 opcode; CARD16 length B16; xieTypPhotoflo floID B32; CARD16 numElements B16; CARD16 pad B16; /* LISTofPhotoElement (numElements) */} xieCreatePhotofloReq;typedef struct { CARD8 reqType; CARD8 opcode; CARD16 length B16; xieTypPhotoflo floID B32;} xieDestroyPhotofloReq;typedef struct { CARD8 reqType; CARD8 opcode; CARD16 length B16; xieTypPhotoflo floID B32; BOOL notify; CARD8 pad[3]; } xieExecutePhotofloReq;typedef struct { CARD8 reqType; CARD8 opcode; CARD16 length B16; xieTypPhotoflo floID B32; xieTypPhototag start B16; CARD16 numElements B16; /* LISTofPhotoElement (numElements) */} xieModifyPhotofloReq;typedef struct { CARD8 reqType; CARD8 opcode; CARD16 length B16; xieTypPhotoflo floID B32; CARD16 numElements B16; CARD16 pad B16; /* LISTofPhotoElement (numElements) */} xieRedefinePhotofloReq;typedef struct { CARD8 reqType; CARD8 opcode; CARD16 length B16; CARD32 nameSpace B32; CARD32 floID B32; xieTypPhototag element B16; BOOL final; CARD8 bandNumber; CARD32 byteCount B32; /* LISTofCARD8 (byteCount) */ /* pad (byteCount) */} xiePutClientDataReq;typedef struct { CARD8 reqType; CARD8 opcode; CARD16 length B16; CARD32 nameSpace B32; CARD32 floID B32; CARD32 maxBytes B32; xieTypPhototag element B16; BOOL terminate; CARD8 bandNumber;} xieGetClientDataReq;typedef struct { CARD8 type; CARD8 newState; CARD16 sequenceNum B16; CARD32 length B32; CARD32 byteCount B32; CARD8 pad[20]; /* LISTofCARD8 (byteCount) */ /* pad (byteCount) */} xieGetClientDataReply;typedef struct { CARD8 reqType;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -