1485f0483Smrg/************************************************************
2485f0483SmrgCopyright (c) 1997 by Silicon Graphics Computer Systems, Inc.
3485f0483SmrgPermission to use, copy, modify, and distribute this
4485f0483Smrgsoftware and its documentation for any purpose and without
5485f0483Smrgfee is hereby granted, provided that the above copyright
6485f0483Smrgnotice appear in all copies and that both that copyright
7485f0483Smrgnotice and this permission notice appear in supporting
8485f0483Smrgdocumentation, and that the name of Silicon Graphics not be
9485f0483Smrgused in advertising or publicity pertaining to distribution
10485f0483Smrgof the software without specific prior written permission.
11485f0483SmrgSilicon Graphics makes no representation about the suitability
12485f0483Smrgof this software for any purpose. It is provided "as is"
13485f0483Smrgwithout any express or implied warranty.
14485f0483SmrgSILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
15485f0483SmrgSOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
16485f0483SmrgAND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
17485f0483SmrgGRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
18485f0483SmrgDAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
19485f0483SmrgDATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
20485f0483SmrgOR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION  WITH
21485f0483SmrgTHE USE OR PERFORMANCE OF THIS SOFTWARE.
22485f0483Smrg********************************************************/
23485f0483Smrg
24485f0483Smrg#ifndef _XEVI_H_
25485f0483Smrg#define _XEVI_H_
26485f0483Smrg#include <X11/Xfuncproto.h>
27485f0483Smrg#include <X11/extensions/EVI.h>
28485f0483Smrg
29485f0483Smrgtypedef struct {
30485f0483Smrg    VisualID		core_visual_id;
31485f0483Smrg    int			screen;
32485f0483Smrg    int			level;
33485f0483Smrg    unsigned int	transparency_type;
34485f0483Smrg    unsigned int	transparency_value;
35485f0483Smrg    unsigned int	min_hw_colormaps;
36485f0483Smrg    unsigned int	max_hw_colormaps;
37485f0483Smrg    unsigned int	num_colormap_conflicts;
38485f0483Smrg    VisualID*		colormap_conflicts;
39485f0483Smrg} ExtendedVisualInfo;
40485f0483Smrg
41485f0483Smrg_XFUNCPROTOBEGIN
42485f0483Smrg
43485f0483SmrgBool XeviQueryExtension(
44485f0483Smrg    Display*            /* dpy */
45485f0483Smrg);
46485f0483SmrgStatus XeviQueryVersion(
47485f0483Smrg    Display*		/* dpy */,
48485f0483Smrg    int*		/* majorVersion */,
49485f0483Smrg    int*		/* minorVersion */
50485f0483Smrg);
51485f0483SmrgStatus XeviGetVisualInfo(
52485f0483Smrg    Display*		 	/* dpy */,
53485f0483Smrg    VisualID*			/* visual_query */,
54485f0483Smrg    int				/* nVisual_query */,
55485f0483Smrg    ExtendedVisualInfo**	/* extendedVisualInfo_return */,
56485f0483Smrg    int*			/* nInfo_return */
57485f0483Smrg);
58485f0483Smrg
59485f0483Smrg_XFUNCPROTOEND
60485f0483Smrg
61485f0483Smrg#endif
62