1485f0483Smrg/*
2485f0483Smrg
3485f0483SmrgCopyright 1987, 1988, 1998  The Open Group
4485f0483Smrg
5485f0483SmrgPermission to use, copy, modify, distribute, and sell this software and its
6485f0483Smrgdocumentation for any purpose is hereby granted without fee, provided that
7485f0483Smrgthe above copyright notice appear in all copies and that both that
8485f0483Smrgcopyright notice and this permission notice appear in supporting
9485f0483Smrgdocumentation.
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 THE
17485f0483SmrgOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
18485f0483SmrgAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19485f0483SmrgCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20485f0483Smrg
21485f0483SmrgExcept as contained in this notice, the name of The Open Group shall not be
22485f0483Smrgused in advertising or otherwise to promote the sale, use or other dealings
23485f0483Smrgin this Software without prior written authorization from The Open Group.
24485f0483Smrg
25485f0483Smrg*/
26485f0483Smrg
27485f0483Smrg#ifndef _XCUP_H_
28485f0483Smrg#define _XCUP_H_
29485f0483Smrg
30485f0483Smrg#include <X11/Xfuncproto.h>
31485f0483Smrg#include <X11/extensions/cup.h>
32485f0483Smrg
33485f0483Smrg_XFUNCPROTOBEGIN
34485f0483Smrg
35485f0483SmrgBool XcupQueryVersion(
36485f0483Smrg    Display*			/* dpy */,
37485f0483Smrg    int*			/* major_version */,
38485f0483Smrg    int*			/* minor_version */
39485f0483Smrg);
40485f0483Smrg
41485f0483SmrgStatus XcupGetReservedColormapEntries(
42485f0483Smrg    Display*			/* dpy */,
43485f0483Smrg    int				/* screen */,
44485f0483Smrg    XColor**			/* colors_out */,
45485f0483Smrg    int*			/* ncolors */
46485f0483Smrg);
47485f0483Smrg
48485f0483SmrgStatus XcupStoreColors(
49485f0483Smrg    Display*			/* dpy */,
50485f0483Smrg    Colormap			/* colormap */,
51485f0483Smrg    XColor*			/* colors */,
52485f0483Smrg    int				/* ncolors */
53485f0483Smrg);
54485f0483Smrg
55485f0483Smrg_XFUNCPROTOEND
56485f0483Smrg
57485f0483Smrg#endif /* _XCUP_H_ */
58485f0483Smrg
59