1 /* $XConsortium: XIEproto.h,v 1.6 94/04/17 20:11:12 mor Exp $ */
2 /******************************************************************************
3 Copyright (c) 1993, 1994 X Consortium
5 Permission is hereby granted, free of charge, to any person obtaining
6 a copy of this software and associated documentation files (the
7 "Software"), to deal in the Software without restriction, including
8 without limitation the rights to use, copy, modify, merge, publish,
9 distribute, sublicense, and/or sell copies of the Software, and to
10 permit persons to whom the Software is furnished to do so, subject to
11 the following conditions:
13 The above copyright notice and this permission notice shall be included
14 in all copies or substantial portions of the Software.
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
17 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19 IN NO EVENT SHALL THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR
20 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22 OTHER DEALINGS IN THE SOFTWARE.
24 Except as contained in this notice, the name of the X Consortium shall
25 not be used in advertising or otherwise to promote the sale, use or
26 other dealings in this Software without prior written authorization
27 from the X Consortium.
32 This software is being provided by AGE Logic, Inc. under the
33 following license. By obtaining, using and/or copying this software,
34 you agree that you have read, understood, and will comply with these
37 Permission to use, copy, modify, distribute and sell this
38 software and its documentation for any purpose and without
39 fee or royalty and to grant others any or all rights granted
40 herein is hereby granted, provided that you agree to comply
41 with the following copyright notice and statements, including
42 the disclaimer, and that the same appears on all copies and
43 derivative works of the software and documentation you make.
45 "Copyright 1993, 1994 by AGE Logic, Inc."
47 THIS SOFTWARE IS PROVIDED "AS IS". AGE LOGIC MAKES NO
48 REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. By way of
49 example, but not limitation, AGE LOGIC MAKE NO
50 REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS
51 FOR ANY PARTICULAR PURPOSE OR THAT THE SOFTWARE DOES NOT
52 INFRINGE THIRD-PARTY PROPRIETARY RIGHTS. AGE LOGIC
53 SHALL BEAR NO LIABILITY FOR ANY USE OF THIS SOFTWARE. IN NO
54 EVENT SHALL EITHER PARTY BE LIABLE FOR ANY INDIRECT,
55 INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOSS
56 OF PROFITS, REVENUE, DATA OR USE, INCURRED BY EITHER PARTY OR
57 ANY THIRD PARTY, WHETHER IN AN ACTION IN CONTRACT OR TORT OR
58 BASED ON A WARRANTY, EVEN IF AGE LOGIC LICENSEES
59 HEREUNDER HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH
62 The name of AGE Logic, Inc. may not be used in
63 advertising or publicity pertaining to this software without
64 specific, written prior permission from AGE Logic.
66 Title to this software shall at all times remain with AGE
68 ******************************************************************************/
73 #include <X11/extensions/XIEprotost.h>
75 #define Drawable CARD32
76 #define Colormap CARD32
77 #define GContext CARD32
90 CARD16 majorVersion B16;
91 CARD16 minorVersion B16;
92 } xieQueryImageExtensionReq;
97 CARD16 sequenceNum B16;
99 CARD16 majorVersion B16;
100 CARD16 minorVersion B16;
101 xieTypServiceClass serviceClass;
102 xieTypAlignment alignment;
103 CARD16 unconstrainedMantissa B16;
104 INT32 unconstrainedMaxExp B32;
105 INT32 unconstrainedMinExp B32;
107 /* LISTofCARD32 (constrained-levels) */
108 } xieQueryImageExtensionReply;
114 xieTypTechniqueGroup techniqueGroup;
116 } xieQueryTechniquesReq;
121 CARD16 sequenceNum B16;
123 CARD16 numTechniques B16;
125 /* LISTofTechniqueRec (numTechniques) */
126 } xieQueryTechniquesReply;
132 xieTypColorList colorList B32;
133 } xieCreateColorListReq;
139 xieTypColorList colorList B32;
140 } xieDestroyColorListReq;
146 xieTypColorList colorList B32;
147 } xiePurgeColorListReq;
153 xieTypColorList colorList B32;
154 } xieQueryColorListReq;
159 CARD16 sequenceNum B16;
161 Colormap colormap B32;
163 /* LISTofCARD32 (length) */
164 } xieQueryColorListReply;
184 xieTypPhotomap photomap B32;
185 } xieCreatePhotomapReq;
191 xieTypPhotomap photomap B32;
192 } xieDestroyPhotomapReq;
198 xieTypPhotomap photomap B32;
199 } xieQueryPhotomapReq;
204 CARD16 sequenceNum B16;
206 xieTypDataClass dataClass;
207 xieTypDataType dataType;
208 xieTypDecodeTechnique decodeTechnique B16;
218 } xieQueryPhotomapReply;
238 xieTypPhotospace nameSpace B32;
239 } xieCreatePhotospaceReq;
245 xieTypPhotospace nameSpace B32;
246 } xieDestroyPhotospaceReq;
252 xieTypPhotospace nameSpace B32;
254 CARD16 numElements B16;
257 /* LISTofPhotoElement (numElements) */
258 } xieExecuteImmediateReq;
264 xieTypPhotoflo floID B32;
265 CARD16 numElements B16;
267 /* LISTofPhotoElement (numElements) */
268 } xieCreatePhotofloReq;
274 xieTypPhotoflo floID B32;
275 } xieDestroyPhotofloReq;
281 xieTypPhotoflo floID B32;
284 } xieExecutePhotofloReq;
290 xieTypPhotoflo floID B32;
291 xieTypPhototag start B16;
292 CARD16 numElements B16;
293 /* LISTofPhotoElement (numElements) */
294 } xieModifyPhotofloReq;
300 xieTypPhotoflo floID B32;
301 CARD16 numElements B16;
303 /* LISTofPhotoElement (numElements) */
304 } xieRedefinePhotofloReq;
310 CARD32 nameSpace B32;
312 xieTypPhototag element B16;
315 CARD32 byteCount B32;
316 /* LISTofCARD8 (byteCount) */
317 /* pad (byteCount) */
318 } xiePutClientDataReq;
324 CARD32 nameSpace B32;
327 xieTypPhototag element B16;
330 } xieGetClientDataReq;
335 CARD16 sequenceNum B16;
337 CARD32 byteCount B32;
339 /* LISTofCARD8 (byteCount) */
340 /* pad (byteCount) */
341 } xieGetClientDataReply;
347 CARD32 nameSpace B32;
349 } xieQueryPhotofloReq;
354 CARD16 sequenceNum B16;
356 CARD16 expectedCount B16;
357 CARD16 availableCount B16;
359 /* LISTofPhototag (expectedCount) */
360 /* pad (expectedCount * 2) */
361 /* LISTofPhototag (availableCount) */
362 /* pad (availableCount * 2) */
363 } xieQueryPhotofloReply;
369 CARD32 nameSpace B32;
377 CARD32 nameSpace B32;
386 #define X_ieQueryImageExtension 1
387 #define X_ieQueryTechniques 2
388 #define X_ieCreateColorList 3
389 #define X_ieDestroyColorList 4
390 #define X_iePurgeColorList 5
391 #define X_ieQueryColorList 6
392 #define X_ieCreateLUT 7
393 #define X_ieDestroyLUT 8
394 #define X_ieCreatePhotomap 9
395 #define X_ieDestroyPhotomap 10
396 #define X_ieQueryPhotomap 11
397 #define X_ieCreateROI 12
398 #define X_ieDestroyROI 13
399 #define X_ieCreatePhotospace 14
400 #define X_ieDestroyPhotospace 15
401 #define X_ieExecuteImmediate 16
402 #define X_ieCreatePhotoflo 17
403 #define X_ieDestroyPhotoflo 18
404 #define X_ieExecutePhotoflo 19
405 #define X_ieModifyPhotoflo 20
406 #define X_ieRedefinePhotoflo 21
407 #define X_iePutClientData 22
408 #define X_ieGetClientData 23
409 #define X_ieQueryPhotoflo 24
413 #define xieNumProtoReq 26
421 xieTypPhotofloOutcome outcome;
422 CARD16 sequenceNum B16;
424 CARD32 instanceNameSpace B32;
425 CARD32 instanceFloID B32;
427 } xiePhotofloDoneEvn;
432 CARD16 sequenceNum B16;
434 CARD32 instanceNameSpace B32;
435 CARD32 instanceFloID B32;
436 xieTypPhototag src B16;
446 CARD16 sequenceNum B16;
448 CARD32 instanceNameSpace B32;
449 CARD32 instanceFloID B32;
450 xieTypPhototag src B16;
452 xieTypColorList colorList B32;
453 xieTypColorAllocTechnique colorAllocTechnique B16;
461 CARD16 sequenceNum B16;
463 CARD32 instanceNameSpace B32;
464 CARD32 instanceFloID B32;
465 xieTypPhototag src B16;
467 xieTypDecodeTechnique decodeTechnique B16;
472 } xieDecodeNotifyEvn;
477 CARD16 sequenceNum B16;
479 CARD32 instanceNameSpace B32;
480 CARD32 instanceFloID B32;
481 xieTypPhototag src B16;
486 } xieExportAvailableEvn;
491 CARD16 sequenceNum B16;
493 CARD32 instanceNameSpace B32;
494 CARD32 instanceFloID B32;
495 xieTypPhototag src B16;
502 } xieImportObscuredEvn;
511 CARD16 sequenceNum B16;
512 CARD32 resourceID B32;
513 CARD16 minorOpcode B16;
521 CARD16 sequenceNum B16;
523 CARD16 minorOpcode B16;
526 CARD32 nameSpace B32;
527 xieTypPhototag phototag B16;
529 CARD32 resourceID B32;
536 CARD16 sequenceNum B16;
538 CARD16 minorOpcode B16;
541 CARD32 nameSpace B32;
542 xieTypPhototag phototag B16;
545 } xieFloErr, xieFloAccessErr, xieFloAllocErr, xieFloElementErr,
546 xieFloLengthErr, xieFloMatchErr, xieFloSourceErr, xieFloImplementationErr;
551 CARD16 sequenceNum B16;
553 CARD16 minorOpcode B16;
556 CARD32 nameSpace B32;
557 xieTypPhototag phototag B16;
559 xieTypPhototag domainSrc B16;
566 CARD16 sequenceNum B16;
568 CARD16 minorOpcode B16;
571 CARD32 nameSpace B32;
578 CARD16 sequenceNum B16;
580 CARD16 minorOpcode B16;
583 CARD32 nameSpace B32;
584 xieTypPhototag phototag B16;
593 CARD16 sequenceNum B16;
595 CARD16 minorOpcode B16;
598 CARD32 nameSpace B32;
599 xieTypPhototag phototag B16;
601 CARD16 techniqueNumber B16;
602 CARD16 lenTechParams B16;
603 CARD8 techniqueGroup;
605 } xieFloTechniqueErr;
610 CARD16 sequenceNum B16;
612 CARD16 minorOpcode B16;
615 CARD32 nameSpace B32;
616 xieTypPhototag phototag B16;
628 #define sz_xieQueryImageExtensionReq 8
629 #define sz_xieQueryImageExtensionReply 32
630 #define sz_xieQueryTechniquesReq 8
631 #define sz_xieQueryTechniquesReply 32
632 #define sz_xieCreateColorListReq 8
633 #define sz_xieDestroyColorListReq 8
634 #define sz_xiePurgeColorListReq 8
635 #define sz_xieQueryColorListReq 8
636 #define sz_xieQueryColorListReply 32
637 #define sz_xieCreateLUTReq 8
638 #define sz_xieDestroyLUTReq 8
639 #define sz_xieCreatePhotomapReq 8
640 #define sz_xieDestroyPhotomapReq 8
641 #define sz_xieQueryPhotomapReq 8
642 #define sz_xieQueryPhotomapReply 48
643 #define sz_xieCreateROIReq 8
644 #define sz_xieDestroyROIReq 8
645 #define sz_xieCreatePhotospaceReq 8
646 #define sz_xieDestroyPhotospaceReq 8
647 #define sz_xieExecuteImmediateReq 16
648 #define sz_xieCreatePhotofloReq 12
649 #define sz_xieDestroyPhotofloReq 8
650 #define sz_xieExecutePhotofloReq 12
651 #define sz_xieModifyPhotofloReq 12
652 #define sz_xieRedefinePhotofloReq 12
653 #define sz_xiePutClientDataReq 20
654 #define sz_xieGetClientDataReq 20
655 #define sz_xieGetClientDataReply 32
656 #define sz_xieQueryPhotofloReq 12
657 #define sz_xieQueryPhotofloReply 32
658 #define sz_xieAwaitReq 12
659 #define sz_xieAbortReq 12
661 #define sz_xiePhotofloDoneEvn 32
662 #define sz_xieColorAllocEvn 32
663 #define sz_xieDecodeNotifyEvn 32
664 #define sz_xieExportAvailableEvn 32
665 #define sz_xieImportObscuredEvn 32
666 #define sz_xieFloEvn 32
668 #define sz_xieResourceErr 32
669 #define sz_xieFloAccessErr 32
670 #define sz_xieFloAllocErr 32
671 #define sz_xieFloElementErr 32
672 #define sz_xieFloIDErr 32
673 #define sz_xieFloLengthErr 32
674 #define sz_xieFloMatchErr 32
675 #define sz_xieFloSourceErr 32
676 #define sz_xieFloDomainErr 32
677 #define sz_xieFloOperatorErr 32
678 #define sz_xieFloTechniqueErr 32
679 #define sz_xieFloValueErr 32
680 #define sz_xieFloImplementationErr 32
681 #define sz_xieFloErr 32
687 #endif /* _XIEPROTO_H_ */