open-src/proto/sun-ext-protos/include/transovlstr.h
author Alan Coopersmith <Alan.Coopersmith@Sun.COM>
Fri, 07 Dec 2007 13:42:18 -0800
changeset 258 959991251e79
child 907 3c35d611cdaa
permissions -rw-r--r--
6638701 move headers for Sun extension protocols to open-src/proto
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
258
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     1
/* Copyright 1999 Sun Microsystems, Inc.  All rights reserved.
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     2
 *
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     3
 * Permission is hereby granted, free of charge, to any person obtaining a
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     4
 * copy of this software and associated documentation files (the
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     5
 * "Software"), to deal in the Software without restriction, including
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     6
 * without limitation the rights to use, copy, modify, merge, publish,
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     7
 * distribute, and/or sell copies of the Software, and to permit persons
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     8
 * to whom the Software is furnished to do so, provided that the above
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
     9
 * copyright notice(s) and this permission notice appear in all copies of
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    10
 * the Software and that both the above copyright notice(s) and this
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    11
 * permission notice appear in supporting documentation.
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    12
 *
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    13
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    14
 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    15
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    16
 * OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    17
 * HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    18
 * INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    19
 * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    20
 * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    21
 * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    22
 *
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    23
 * Except as contained in this notice, the name of a copyright holder
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    24
 * shall not be used in advertising or otherwise to promote the sale, use
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    25
 * or other dealings in this Software without prior written authorization
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    26
 * of the copyright holder.
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    27
 */ 
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    28
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    29
#pragma ident	"@(#)transovlstr.h	35.4	07/12/04 INCLUDE_EXT SMI"
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    30
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    31
#ifndef _TRANSOVLSTR_H_
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    32
#define _TRANSOVLSTR_H_
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    33
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    34
#include "transovl.h"
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    35
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    36
/*
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    37
   B U G : 4173223
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    38
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    39
   These items should be 32 bit type.
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    40
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    41
   We must redefine the following types in terms 
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    42
   of Xmd.h's types, which may include bit fields.  
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    43
   All of these are #undef'd at the end of this file,
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    44
   restoring the definitions in X.h.  
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    45
 */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    46
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    47
#define Window CARD32
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    48
#define Drawable CARD32
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    49
#define Font CARD32
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    50
#define Pixmap CARD32
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    51
#define Cursor CARD32
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    52
#define Colormap CARD32
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    53
#define GContext CARD32
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    54
#define Atom CARD32
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    55
#define VisualID CARD32
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    56
#define Time CARD32
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    57
#define KeyCode CARD8
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    58
#define KeySym CARD32
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    59
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    60
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    61
#define OVLNAME "SUN_OVL"
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    62
#define OVL_MAJOR_VERSION	1	/* current version numbers */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    63
#define OVL_MINOR_VERSION	0
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    64
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    65
typedef struct {
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    66
    CARD8	reqType;		/* always OvlReqCode */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    67
    CARD8	ovlReqType;		/* always X_OvlQueryVersion */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    68
    CARD16	length B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    69
} xOvlQueryVersionReq;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    70
#define sz_xOvlQueryVersionReq	4
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    71
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    72
typedef struct {
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    73
    BYTE	type;			/* X_Reply */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    74
    CARD8	unused;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    75
    CARD16	sequenceNumber B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    76
    CARD32	length B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    77
    CARD16	majorVersion B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    78
    CARD16	minorVersion B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    79
    CARD32	pad0 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    80
    CARD32	pad1 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    81
    CARD32	pad2 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    82
    CARD32	pad3 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    83
    CARD32	pad4 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    84
} xOvlQueryVersionReply;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    85
#define sz_xOvlQueryVersionReply	32
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    86
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    87
typedef struct {
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    88
    CARD8	reqType;		/* always OvlReqCode */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    89
    CARD8	ovlReqType;		/* always X_OvlGetPartners */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    90
    CARD16	length B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    91
    CARD32	screen B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    92
} xOvlGetPartnersReq;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    93
#define sz_xOvlGetPartnersReq	8
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    94
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    95
typedef struct {
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    96
    BYTE	type;			/* X_Reply */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    97
    BOOL	restricted;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    98
    CARD16	sequenceNumber B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
    99
    CARD32	length B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   100
    CARD16	numPairs B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   101
    CARD16	pad0 B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   102
    CARD32	pad1 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   103
    CARD32	pad2 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   104
    CARD32	pad3 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   105
    CARD32	pad4 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   106
    CARD32	pad5 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   107
} xOvlGetPartnersReply;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   108
#define sz_xOvlGetPartnersReply	32
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   109
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   110
typedef struct {
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   111
    VisualID	overlayVid;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   112
    VisualID	underlayVid;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   113
} XOvlVidPair;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   114
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   115
typedef struct {
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   116
    CARD8	reqType;		/* always OvlReqCode */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   117
    CARD8	ovlReqType;		/* always X_OvlGetSharedPixels */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   118
    CARD16	length B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   119
    CARD32	screen B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   120
} xOvlGetSharedPixelsReq;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   121
#define sz_xOvlGetSharedPixelsReq	8
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   122
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   123
typedef struct {
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   124
    BYTE	type;			/* X_Reply */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   125
    CARD8	unused;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   126
    CARD16	sequenceNumber B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   127
    CARD32	length B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   128
    CARD16	numPGInfos B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   129
    CARD16	pad0 B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   130
    CARD32	pad1 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   131
    CARD32	pad2 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   132
    CARD32	pad3 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   133
    CARD32	pad4 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   134
    CARD32	pad5 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   135
} xOvlGetSharedPixelsReply;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   136
#define sz_xOvlGetSharedPixelsReply	32
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   137
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   138
typedef struct {
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   139
    VisualID	vid;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   140
    CARD32	ovplanes;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   141
    CARD32	unplanes;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   142
} XOvlPGInfo;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   143
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   144
typedef struct {
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   145
    CARD8	reqType;		/* always OvlReqCode */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   146
    CARD8	ovlReqType;		/* always X_OvlGetSharedColors */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   147
    CARD16	length B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   148
    CARD32	screen B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   149
} xOvlGetSharedColorsReq;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   150
#define sz_xOvlGetSharedColorsReq	8
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   151
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   152
typedef struct {
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   153
    BYTE	type;			/* X_Reply */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   154
    CARD8	unused;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   155
    CARD16	sequenceNumber B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   156
    CARD32	length B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   157
    CARD16	numClutInfos B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   158
    CARD16	pad0 B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   159
    CARD32	pad1 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   160
    CARD32	pad2 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   161
    CARD32	pad3 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   162
    CARD32	pad4 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   163
    CARD32	pad5 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   164
} xOvlGetSharedColorsReply;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   165
#define sz_xOvlGetSharedColorsReply	32
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   166
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   167
typedef struct {
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   168
    VisualID	vid;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   169
    CARD32	pool;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   170
    INT32	count;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   171
} XOvlClutInfo;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   172
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   173
#define AllMaskBits (CWBackPixmap|CWBackPixel|CWBorderPixmap|\
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   174
		     CWBorderPixel|CWBitGravity|CWWinGravity|\
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   175
		     CWBackingStore|CWBackingPlanes|CWBackingPixel|\
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   176
		     CWOverrideRedirect|CWSaveUnder|CWEventMask|\
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   177
		     CWDontPropagate|CWColormap|CWCursor)
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   178
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   179
typedef struct {
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   180
    CARD8	reqType;		/* always OvlReqCode */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   181
    CARD8	ovlReqType;		/* always X_OvlCreateWindow */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   182
    CARD16	length B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   183
    Window	wid B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   184
    Window	parent B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   185
    INT16	x B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   186
    INT16	y B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   187
    CARD16	width B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   188
    CARD16	height B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   189
    CARD16	borderWidth B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   190
    INT16	depth B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   191
    CARD32	class B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   192
    VisualID	visual B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   193
    CARD32	mask B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   194
} xOvlCreateWindowReq;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   195
#define sz_xOvlCreateWindowReq	36
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   196
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   197
typedef struct {
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   198
    CARD8	reqType;		/* always OvlReqCode */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   199
    CARD8	ovlReqType;		/* always X_OvlIsOverlayWindow */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   200
    CARD16	length B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   201
    Window	wid B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   202
} xOvlIsOverlayWindowReq;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   203
#define sz_xOvlIsOverlayWindowReq	8
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   204
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   205
typedef struct {
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   206
    BYTE	type;			/* X_Reply */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   207
    BOOL	isoverlay;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   208
    CARD16	sequenceNumber B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   209
    CARD32	length B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   210
    CARD32	pad0 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   211
    CARD32	pad1 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   212
    CARD32	pad2 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   213
    CARD32	pad3 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   214
    CARD32	pad4 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   215
    CARD32	pad5 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   216
} xOvlIsOverlayWindowReply;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   217
#define sz_xOvlIsOverlayWindowReply	32
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   218
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   219
typedef struct {
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   220
    CARD8		reqType;	/* always OvlReqCode */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   221
    CARD8		ovlReqType;	/* always X_OvlSetWindowTransparent */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   222
    CARD16		length B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   223
    Window		wid B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   224
} xOvlSetWindowTransparentReq;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   225
#define sz_xOvlSetWindowTransparentReq	8
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   226
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   227
typedef struct {
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   228
    CARD8		reqType;	/* always OvlReqCode */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   229
    CARD8		ovlReqType;	/* always X_OvlSetPaintType */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   230
    CARD16		length B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   231
    GContext		gc B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   232
    XSolarisOvlPaintType paintType B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   233
} xOvlSetPaintTypeReq;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   234
#define sz_xOvlSetPaintTypeReq	12
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   235
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   236
typedef struct {
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   237
    CARD8	reqType;		/* always OvlReqCode */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   238
    CARD8	ovlReqType;		/* always X_OvlCopyPaintType */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   239
    CARD16	length B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   240
    Drawable	srcDrawable B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   241
    Drawable	dstDrawable B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   242
    GContext	gc B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   243
    INT16	srcX B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   244
    INT16	srcY B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   245
    INT16	destX B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   246
    INT16	destY B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   247
    CARD16	width B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   248
    CARD16	height B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   249
    CARD32      action_mask B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   250
    CARD32      bitPlane B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   251
} xOvlCopyPaintTypeReq;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   252
#define sz_xOvlCopyPaintTypeReq	36
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   253
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   254
typedef struct {
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   255
    CARD8	reqType;		/* always OvlReqCode */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   256
    CARD8	ovlReqType;		/* always X_OvlCopyAreaAndPaintType */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   257
    CARD16	length B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   258
    Drawable	colorSrc B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   259
    Drawable	paintTypeSrc B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   260
    Drawable	colorDst B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   261
    Drawable	paintTypeDst B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   262
    GContext	colorGC B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   263
    GContext	paintTypeGC B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   264
    INT16	colorSrcX B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   265
    INT16	colorSrcY B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   266
    INT16	paintTypeSrcX B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   267
    INT16	paintTypeSrcY B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   268
    INT16	colorDstX B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   269
    INT16	colorDstY B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   270
    INT16	paintTypeDstX B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   271
    INT16	paintTypeDstY B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   272
    CARD16	width B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   273
    CARD16	height B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   274
    CARD32      action_mask B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   275
    CARD32      bitPlane B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   276
} xOvlCopyAreaAndPaintTypeReq;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   277
#define sz_xOvlCopyAreaAndPaintTypeReq	56
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   278
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   279
#define READSCREEN_BLUEMASK	0x00ff0000
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   280
#define READSCREEN_GREENMASK	0x0000ff00
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   281
#define READSCREEN_REDMASK	0x000000ff
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   282
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   283
typedef struct {
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   284
    CARD8	reqType;		/* always OvlReqCode */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   285
    CARD8	ovlReqType;		/* always X_OvlReadScreen */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   286
    CARD16	length B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   287
    Window	window B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   288
    INT16	x B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   289
    INT16	y B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   290
    CARD16	width B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   291
    CARD16	height B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   292
    BOOL	includeCursor;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   293
    CARD8	pad[3];
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   294
} xOvlReadScreenReq;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   295
#define sz_xOvlReadScreenReq	20
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   296
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   297
typedef struct {
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   298
    BYTE	type;			/* X_Reply */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   299
    CARD8	unused;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   300
    CARD16	sequenceNumber B16;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   301
    CARD32	length B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   302
    CARD32	pad0 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   303
    CARD32	pad1 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   304
    CARD32	pad2 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   305
    CARD32	pad3 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   306
    CARD32	pad4 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   307
    CARD32	pad5 B32;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   308
} xOvlReadScreenReply;
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   309
#define sz_xOvlReadScreenReply 32
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   310
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   311
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   312
/*
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   313
   B U G : 4173223
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   314
 */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   315
/* restore these definitions back to the typedefs in X.h */
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   316
#undef Window
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   317
#undef Drawable
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   318
#undef Font
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   319
#undef Pixmap
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   320
#undef Cursor
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   321
#undef Colormap
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   322
#undef GContext
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   323
#undef Atom
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   324
#undef VisualID
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   325
#undef Time
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   326
#undef KeyCode
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   327
#undef KeySym
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   328
959991251e79 6638701 move headers for Sun extension protocols to open-src/proto
Alan Coopersmith <Alan.Coopersmith@Sun.COM>
parents:
diff changeset
   329
#endif /* _TRANSOVLSTR_H_ */