saverproto.h revision 677833bc953b6cb418c701facbdcf4aa18d6c44e
/*
* $XConsortium: saverproto.h,v 1.5 94/04/17 20:59:33 keith Exp $
*
Copyright (c) 1992 X Consortium
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of the X Consortium shall not be
used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from the X Consortium.
*
* Author: Keith Packard, MIT X Consortium
*/
/* $XFree86: xc/include/extensions/saverproto.h,v 3.1 2001/08/01 00:44:35 tsi Exp $ */
#ifndef _SAVERPROTO_H_
#define _SAVERPROTO_H_
#define X_ScreenSaverQueryVersion 0
typedef struct _ScreenSaverQueryVersion {
#define sz_xScreenSaverQueryVersionReq 8
typedef struct {
#define sz_xScreenSaverQueryVersionReply 32
#define X_ScreenSaverQueryInfo 1
typedef struct _ScreenSaverQueryInfo {
#define sz_xScreenSaverQueryInfoReq 8
typedef struct {
#define sz_xScreenSaverQueryInfoReply 32
#define X_ScreenSaverSelectInput 2
typedef struct _ScreenSaverSelectInput {
#define sz_xScreenSaverSelectInputReq 12
#define X_ScreenSaverSetAttributes 3
typedef struct _ScreenSaverSetAttributes {
#define sz_xScreenSaverSetAttributesReq 28
#define X_ScreenSaverUnsetAttributes 4
typedef struct _ScreenSaverUnsetAttributes {
#define sz_xScreenSaverUnsetAttributesReq 8
typedef struct _ScreenSaverNotify {
#define sz_xScreenSaverNotifyEvent 32
#endif /* _SAVERPROTO_H_ */