Xcup.h revision 485f0483
1/* $Xorg: Xcup.h,v 1.4 2001/02/09 02:03:24 xorgcvs Exp $ */
2/*
3
4Copyright 1987, 1988, 1998  The Open Group
5
6Permission to use, copy, modify, distribute, and sell this software and its
7documentation for any purpose is hereby granted without fee, provided that
8the above copyright notice appear in all copies and that both that
9copyright notice and this permission notice appear in supporting
10documentation.
11
12The above copyright notice and this permission notice shall be included in
13all copies or substantial portions of the Software.
14
15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
18OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
19AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
22Except as contained in this notice, the name of The Open Group shall not be
23used in advertising or otherwise to promote the sale, use or other dealings
24in this Software without prior written authorization from The Open Group.
25
26*/
27/* $XFree86$ */
28
29#ifndef _XCUP_H_
30#define _XCUP_H_
31
32#include <X11/Xfuncproto.h>
33#include <X11/extensions/cup.h>
34
35_XFUNCPROTOBEGIN
36
37Bool XcupQueryVersion(
38    Display*			/* dpy */,
39    int*			/* major_version */,
40    int*			/* minor_version */
41);
42
43Status XcupGetReservedColormapEntries(
44    Display*			/* dpy */,
45    int				/* screen */,
46    XColor**			/* colors_out */,
47    int*			/* ncolors */
48);
49
50Status XcupStoreColors(
51    Display*			/* dpy */,
52    Colormap			/* colormap */,
53    XColor*			/* colors */,
54    int				/* ncolors */
55);
56
57_XFUNCPROTOEND
58
59#endif /* _XCUP_H_ */
60
61