Xcup.h revision 485f0483
1485f0483Smrg/* $Xorg: Xcup.h,v 1.4 2001/02/09 02:03:24 xorgcvs Exp $ */ 2485f0483Smrg/* 3485f0483Smrg 4485f0483SmrgCopyright 1987, 1988, 1998 The Open Group 5485f0483Smrg 6485f0483SmrgPermission to use, copy, modify, distribute, and sell this software and its 7485f0483Smrgdocumentation for any purpose is hereby granted without fee, provided that 8485f0483Smrgthe above copyright notice appear in all copies and that both that 9485f0483Smrgcopyright notice and this permission notice appear in supporting 10485f0483Smrgdocumentation. 11485f0483Smrg 12485f0483SmrgThe above copyright notice and this permission notice shall be included in 13485f0483Smrgall copies or substantial portions of the Software. 14485f0483Smrg 15485f0483SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16485f0483SmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17485f0483SmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18485f0483SmrgOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 19485f0483SmrgAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20485f0483SmrgCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21485f0483Smrg 22485f0483SmrgExcept as contained in this notice, the name of The Open Group shall not be 23485f0483Smrgused in advertising or otherwise to promote the sale, use or other dealings 24485f0483Smrgin this Software without prior written authorization from The Open Group. 25485f0483Smrg 26485f0483Smrg*/ 27485f0483Smrg/* $XFree86$ */ 28485f0483Smrg 29485f0483Smrg#ifndef _XCUP_H_ 30485f0483Smrg#define _XCUP_H_ 31485f0483Smrg 32485f0483Smrg#include <X11/Xfuncproto.h> 33485f0483Smrg#include <X11/extensions/cup.h> 34485f0483Smrg 35485f0483Smrg_XFUNCPROTOBEGIN 36485f0483Smrg 37485f0483SmrgBool XcupQueryVersion( 38485f0483Smrg Display* /* dpy */, 39485f0483Smrg int* /* major_version */, 40485f0483Smrg int* /* minor_version */ 41485f0483Smrg); 42485f0483Smrg 43485f0483SmrgStatus XcupGetReservedColormapEntries( 44485f0483Smrg Display* /* dpy */, 45485f0483Smrg int /* screen */, 46485f0483Smrg XColor** /* colors_out */, 47485f0483Smrg int* /* ncolors */ 48485f0483Smrg); 49485f0483Smrg 50485f0483SmrgStatus XcupStoreColors( 51485f0483Smrg Display* /* dpy */, 52485f0483Smrg Colormap /* colormap */, 53485f0483Smrg XColor* /* colors */, 54485f0483Smrg int /* ncolors */ 55485f0483Smrg); 56485f0483Smrg 57485f0483Smrg_XFUNCPROTOEND 58485f0483Smrg 59485f0483Smrg#endif /* _XCUP_H_ */ 60485f0483Smrg 61