/*
* $XFree86: xc/programs/Xserver/randr/randrstr.h,v 1.5 2002/09/29 23:39:45 keithp 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.
*/
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#ifndef _RANDRSTR_H_
#define _RANDRSTR_H_
typedef struct _rrScreenRate {
int rate;
typedef struct _rrScreenSize {
int id;
int nRates;
int nRatesInUse;
int rate,
typedef struct _rrScrPriv {
/*
* Configuration information
*/
int nSizes;
int nSizesInUse;
/*
* Current state
*/
int size;
int rate;
extern int rrPrivIndex;
/* Initialize the extension */
void
RRExtensionInit (void);
/*
* Then, register the specific size with the screen
*/
short width,
short height,
short mmWidth,
short mmHeight);
int rate);
/*
* Finally, set the current configuration of the screen
*/
void
int rate,
int
int rate,
int rate,
#endif /* _RANDRSTR_H_ */