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