1485f0483Smrg/***************************************************************** 2485f0483Smrg 3485f0483SmrgCopyright (c) 1996 Digital Equipment Corporation, Maynard, Massachusetts. 4485f0483Smrg 5485f0483SmrgPermission is hereby granted, free of charge, to any person obtaining a copy 6485f0483Smrgof this software and associated documentation files (the "Software"), to deal 7485f0483Smrgin the Software without restriction, including without limitation the rights 8485f0483Smrgto use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9485f0483Smrgcopies of the Software. 10485f0483Smrg 11485f0483SmrgThe above copyright notice and this permission notice shall be included in 12485f0483Smrgall copies or substantial portions of the Software. 13485f0483Smrg 14485f0483SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15485f0483SmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16485f0483SmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 172d7aecc9SmrgDIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING, 182d7aecc9SmrgBUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL DAMAGES, OR OTHER LIABILITY, 192d7aecc9SmrgWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR 20485f0483SmrgIN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21485f0483Smrg 222d7aecc9SmrgExcept as contained in this notice, the name of Digital Equipment Corporation 23485f0483Smrgshall not be used in advertising or otherwise to promote the sale, use or other 242d7aecc9Smrgdealings in this Software without prior written authorization from Digital 25485f0483SmrgEquipment Corporation. 26485f0483Smrg 27485f0483Smrg******************************************************************/ 28485f0483Smrg 29485f0483Smrg#ifndef _X11_EXTENSIONS_DPMS_H 30485f0483Smrg#define _X11_EXTENSIONS_DPMS_H 1 31485f0483Smrg 32485f0483Smrg#include <X11/X.h> 33485f0483Smrg#include <X11/Xmd.h> 34485f0483Smrg#include <X11/extensions/dpmsconst.h> 35485f0483Smrg 366cda817aSmrg#ifndef DPMS_SERVER 37485f0483Smrg_XFUNCPROTOBEGIN 38485f0483Smrg 39485f0483Smrgextern Bool DPMSQueryExtension(Display *, int *, int *); 40485f0483Smrgextern Status DPMSGetVersion(Display *, int *, int *); 41485f0483Smrgextern Bool DPMSCapable(Display *); 42485f0483Smrgextern Status DPMSSetTimeouts(Display *, CARD16, CARD16, CARD16); 43485f0483Smrgextern Bool DPMSGetTimeouts(Display *, CARD16 *, CARD16 *, CARD16 *); 44485f0483Smrgextern Status DPMSEnable(Display *); 45485f0483Smrgextern Status DPMSDisable(Display *); 46485f0483Smrgextern Status DPMSForceLevel(Display *, CARD16); 47485f0483Smrgextern Status DPMSInfo(Display *, CARD16 *, BOOL *); 48485f0483Smrg 49485f0483Smrg_XFUNCPROTOEND 506cda817aSmrg#endif 51485f0483Smrg 52485f0483Smrg#endif /* !_X11_EXTENSIONS_DPMS_H */ 53485f0483Smrg 54