First import
[xorg_rtime.git] / xorg-server-1.4 / Xext / EVIstruct.h
blobe6581909fdbe2d0f38e13ca1c219416a0d44fa74
1 /************************************************************
2 Copyright (c) 1997 by Silicon Graphics Computer Systems, Inc.
3 Permission to use, copy, modify, and distribute this
4 software and its documentation for any purpose and without
5 fee is hereby granted, provided that the above copyright
6 notice appear in all copies and that both that copyright
7 notice and this permission notice appear in supporting
8 documentation, and that the name of Silicon Graphics not be
9 used in advertising or publicity pertaining to distribution
10 of the software without specific prior written permission.
11 Silicon Graphics makes no representation about the suitability
12 of this software for any purpose. It is provided "as is"
13 without any express or implied warranty.
14 SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
15 SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
16 AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
17 GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
18 DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
19 DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
20 OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
21 THE USE OR PERFORMANCE OF THIS SOFTWARE.
22 ********************************************************/
24 #ifdef HAVE_DIX_CONFIG_H
25 #include <dix-config.h>
26 #endif
28 #ifndef EVI_STRUCT_H
29 #define EVI_STRUCT_H
32 ******************************************************************************
33 ** Per-ddx data
34 ******************************************************************************
37 typedef int (*GetVisualInfoProc)(
38 VisualID32*,
39 int,
40 xExtendedVisualInfo**,
41 int*,
42 VisualID32**,
43 int*
46 typedef void (*FreeVisualInfoProc)(
47 xExtendedVisualInfo*,
48 VisualID32*
50 typedef struct _EviPrivRec {
51 GetVisualInfoProc getVisualInfo;
52 FreeVisualInfoProc freeVisualInfo;
53 } EviPrivRec, *EviPrivPtr;
55 extern EviPrivPtr eviDDXInit(void);
56 extern void eviDDXReset(void);
58 #endif /* EVI_STRUCT_H */