multiVis.h revision b3307321
1/* $Xorg: multiVis.h,v 1.4 2001/02/09 02:06:03 xorgcvs Exp $ */
2/** ------------------------------------------------------------------------
3	This file contains routines for manipulating generic lists.
4	Lists are implemented with a "harness".  In other words, each
5	node in the list consists of two pointers, one to the data item
6	and one to the next node in the list.  The head of the list is
7	the same struct as each node, but the "item" ptr is used to point
8	to the current member of the list (used by the first_in_list and
9	next_in_list functions).
10
11Copyright 1994 Hewlett-Packard Co.
12Copyright 1996, 1998  The Open Group
13
14Permission to use, copy, modify, distribute, and sell this software and its
15documentation for any purpose is hereby granted without fee, provided that
16the above copyright notice appear in all copies and that both that
17copyright notice and this permission notice appear in supporting
18documentation.
19
20The above copyright notice and this permission notice shall be included
21in all copies or substantial portions of the Software.
22
23THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
24OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
26IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
27OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
28ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
29OTHER DEALINGS IN THE SOFTWARE.
30
31Except as contained in this notice, the name of The Open Group shall
32not be used in advertising or otherwise to promote the sale, use or
33other dealings in this Software without prior written authorization
34from The Open Group.
35
36 ------------------------------------------------------------------------ **/
37/* $XFree86$ */
38
39extern int GetMultiVisualRegions(
40    Display *, Window, int, int, unsigned int,
41    unsigned int, int *, int *, XVisualInfo **, int *,
42    OverlayInfo  **, int *, XVisualInfo ***, list_ptr *,
43    list_ptr *, int *
44);
45
46extern XImage *ReadAreaToImage(
47    Display *, Window, int, int, unsigned int,
48    unsigned int, int, XVisualInfo *, int,
49    OverlayInfo	*, int, XVisualInfo **, list_ptr,
50    list_ptr, int, int
51);
52
53extern void initFakeVisual(
54    Visual *
55);
56