Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-03-13 09:29:36

0001 /*****************************************************************
0002 
0003 Copyright (c) 1996 Digital Equipment Corporation, Maynard, Massachusetts.
0004 
0005 Permission is hereby granted, free of charge, to any person obtaining a copy
0006 of this software and associated documentation files (the "Software"), to deal
0007 in the Software without restriction, including without limitation the rights
0008 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
0009 copies of the Software.
0010 
0011 The above copyright notice and this permission notice shall be included in
0012 all copies or substantial portions of the Software.
0013 
0014 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
0015 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0016 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
0017 DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING,
0018 BUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL DAMAGES, OR OTHER LIABILITY,
0019 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
0020 IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0021 
0022 Except as contained in this notice, the name of Digital Equipment Corporation
0023 shall not be used in advertising or otherwise to promote the sale, use or other
0024 dealings in this Software without prior written authorization from Digital
0025 Equipment Corporation.
0026 
0027 ******************************************************************/
0028 
0029 #ifndef _X11_EXTENSIONS_DPMS_H
0030 #define _X11_EXTENSIONS_DPMS_H 1
0031 
0032 #include <X11/X.h>
0033 #include <X11/Xmd.h>
0034 #include <X11/extensions/dpmsconst.h>
0035 
0036 #ifndef DPMS_SERVER
0037 _XFUNCPROTOBEGIN
0038 
0039 extern Bool DPMSQueryExtension(Display *, int *, int *);
0040 extern Status DPMSGetVersion(Display *, int *, int *);
0041 extern Bool DPMSCapable(Display *);
0042 extern Status DPMSSetTimeouts(Display *, CARD16, CARD16, CARD16);
0043 extern Bool DPMSGetTimeouts(Display *, CARD16 *, CARD16 *, CARD16 *);
0044 extern Status DPMSEnable(Display *);
0045 extern Status DPMSDisable(Display *);
0046 extern Status DPMSForceLevel(Display *, CARD16);
0047 extern Status DPMSInfo(Display *, CARD16 *, BOOL *);
0048 
0049 _XFUNCPROTOEND
0050 #endif
0051 
0052 #endif /* !_X11_EXTENSIONS_DPMS_H */
0053