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