randrproto.h revision 677833bc953b6cb418c701facbdcf4aa18d6c44e
/*
* $XFree86: xc/include/extensions/randrproto.h,v 1.5 2001/08/01 00:44:35 tsi Exp $
*
* Copyright � 2000 Compaq Computer Corporation
*
* 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, and that the name of Compaq not be used in advertising or
* publicity pertaining to distribution of the software without specific,
* written prior permission. Compaq makes no representations about the
* suitability of this software for any purpose. It is provided "as is"
* without express or implied warranty.
*
* COMPAQ DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL COMPAQ
* BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
* OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* Author: Jim Gettys, Compaq Computer Corporation, Inc.
*/
#ifndef _XRANDRP_H_
#define _XRANDRP_H_
#define VisualGroupID CARD16
#define GroupOfVisualGroupID CARD16
/*
* data structures
*/
typedef struct {
} xScreenSizes;
#define sz_xScreenSizes 12
/*
* requests and replies
*/
typedef struct {
#define sz_xRRQueryVersionReq 12
typedef struct {
#define sz_xRRQueryVersionReply 32
typedef struct {
#define sz_xRRGetScreenInfoReq 8
typedef struct {
#define sz_xRRGetScreenInfoReply 32
typedef struct {
#define sz_xRRSetScreenConfigReq 24
typedef struct {
#define sz_xRRSetScreenConfigReply 32
typedef struct {
#define sz_xRRScreenChangeSelectInputReq 12
/*
* event
*/
typedef struct {
#define sz_xRRScreenChangeNotifyEvent 32
#endif /* _XRANDRP_H_ */