vim: update to 9.1.0969
[oi-userland.git] / components / x11 / sun-ext-protos / files / include / allplanesstr.h
blob12a23e61ff39f81ff923fab2288bd5fb5b67c2e2
1 /* Copyright (c) 1990, Oracle and/or its affiliates. All rights reserved.
3 * Permission is hereby granted, free of charge, to any person obtaining a
4 * copy of this software and associated documentation files (the "Software"),
5 * to deal in the Software without restriction, including without limitation
6 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
7 * and/or sell copies of the Software, and to permit persons to whom the
8 * Software is furnished to do so, subject to the following conditions:
10 * The above copyright notice and this permission notice (including the next
11 * paragraph) shall be included in all copies or substantial portions of the
12 * Software.
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20 * DEALINGS IN THE SOFTWARE.
24 #ifndef _ALLPLANESSTR_H_
25 #define _ALLPLANESSTR_H_
27 #include "allplanes.h"
29 #define ALLPLANESNAME "SUN_ALLPLANES"
30 #define ALLPLANES_MAJOR_VERSION 1 /* current version numbers */
31 #define ALLPLANES_MINOR_VERSION 0
33 typedef struct {
34 CARD8 reqType; /* always AllPlanesReqCode */
35 CARD8 allplanesReqType; /* always X_AllPlanesQueryVersion */
36 CARD16 length B16;
37 } xAllPlanesQueryVersionReq;
38 #define sz_xAllPlanesQueryVersionReq 4
40 typedef struct {
41 BYTE type; /* X_Reply */
42 CARD8 unused;
43 CARD16 sequenceNumber B16;
44 CARD32 length B32;
45 CARD16 majorVersion B16;
46 CARD16 minorVersion B16;
47 CARD32 pad0 B32;
48 CARD32 pad1 B32;
49 CARD32 pad2 B32;
50 CARD32 pad3 B32;
51 CARD32 pad4 B32;
52 } xAllPlanesQueryVersionReply;
53 #define sz_xAllPlanesQueryVersionReply 32
55 typedef struct {
56 CARD8 reqType; /* always AllPlanesReqCode */
57 CARD8 allplanesReqType; /* always X_AllPlanesPolySegment */
58 CARD16 length B16;
59 Drawable drawable B32;
60 } xAllPlanesPolySegmentReq;
61 #define sz_xAllPlanesPolySegmentReq 8
63 typedef xAllPlanesPolySegmentReq xAllPlanesPolyRectangleReq;
64 #define sz_xAllPlanesPolyRectangleReq 8
66 typedef xAllPlanesPolySegmentReq xAllPlanesPolyFillRectangleReq;
67 #define sz_xAllPlanesPolyFillRectangleReq 8
69 typedef struct {
70 CARD8 reqType; /* always AllPlanesReqCode */
71 CARD8 allplanesReqType; /* always X_AllPlanesPolyPoint */
72 CARD16 length B16;
73 Drawable drawable B32;
74 BYTE coordMode;
75 CARD8 pad0;
76 CARD16 pad1 B16;
77 } xAllPlanesPolyPointReq;
78 #define sz_xAllPlanesPolyPointReq 12
80 typedef xAllPlanesPolyPointReq xAllPlanesPolyLineReq;
81 #define sz_xAllPlanesPolyLineReq 12
82 #endif /* _ALLPLANESSTR_H_ */