~ubuntu-branches/ubuntu/intrepid/xserver-xgl/intrepid

« back to all changes in this revision

Viewing changes to hw/xfree86/loader/extsym.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthew Garrett
  • Date: 2006-02-13 14:21:43 UTC
  • Revision ID: james.westby@ubuntu.com-20060213142143-mad6z9xzem7hzxz9
Tags: upstream-7.0.0
ImportĀ upstreamĀ versionĀ 7.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $XdotOrg: xserver/xorg/hw/xfree86/loader/extsym.c,v 1.8 2005/07/03 08:53:46 daniels Exp $ */
 
2
/* $XFree86: xc/programs/Xserver/hw/xfree86/loader/extsym.c,v 1.9 2003/10/15 16:29:03 dawes Exp $ */
 
3
 
 
4
/*
 
5
 *
 
6
 * Copyright 1999-2003 by The XFree86 Project, Inc.
 
7
 *
 
8
 * Permission to use, copy, modify, distribute, and sell this software and its
 
9
 * documentation for any purpose is hereby granted without fee, provided that
 
10
 * the above copyright notice appear in all copies and that both that
 
11
 * copyright notice and this permission notice appear in supporting
 
12
 * documentation, and that the name of The XFree86 Project, Inc. not be used in
 
13
 * advertising or publicity pertaining to distribution of the software without
 
14
 * specific, written prior permission. The XFree86 Project, Inc. makes no
 
15
 * representations about the suitability of this software for any purpose.
 
16
 * It is provided "as is" without express or implied warranty.
 
17
 *
 
18
 * THE XFREE86 PROJECT, INC. DISCLAIMS ALL WARRANTIES WITH REGARD TO
 
19
 * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
 
20
 * AND FITNESS, IN NO EVENT SHALL THE XFREE86 PROJECT, INC. BE LIABLE
 
21
 * FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 
22
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
 
23
 * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
 
24
 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
 
25
 * SOFTWARE.
 
26
 */
 
27
 
 
28
#ifdef HAVE_XORG_CONFIG_H
 
29
#include <xorg-config.h>
 
30
#endif
 
31
 
 
32
#include "resource.h"
 
33
#include "sym.h"
 
34
#include "misc.h"
 
35
#ifdef PANORAMIX
 
36
#include "panoramiX.h"
 
37
#endif
 
38
#include "sleepuntil.h"
 
39
 
 
40
#ifdef HAS_SHM
 
41
extern int ShmCompletionCode;
 
42
extern int BadShmSegCode;
 
43
extern RESTYPE ShmSegType, ShmPixType;
 
44
#endif
 
45
 
 
46
#ifdef PANORAMIX
 
47
extern Bool noPanoramiXExtension;
 
48
extern int PanoramiXNumScreens;
 
49
extern PanoramiXData *panoramiXdataPtr;
 
50
extern XID *PanoramiXVisualTable;
 
51
extern unsigned long XRT_WINDOW;
 
52
extern unsigned long XRT_PIXMAP;
 
53
extern unsigned long XRT_GC;
 
54
extern unsigned long XRT_COLORMAP;
 
55
extern unsigned long XRC_DRAWABLE;
 
56
extern Bool XineramaRegisterConnectionBlockCallback(void (*func) (void));
 
57
extern int XineramaDeleteResource(pointer, XID);
 
58
#endif
 
59
 
 
60
LOOKUP extLookupTab[] = {
 
61
 
 
62
    SYMFUNC(ClientSleepUntil)
 
63
 
 
64
#ifdef HAS_SHM
 
65
    SYMVAR(ShmCompletionCode)
 
66
    SYMVAR(BadShmSegCode)
 
67
    SYMVAR(ShmSegType)
 
68
#endif
 
69
 
 
70
#ifdef PANORAMIX
 
71
    SYMFUNC(XineramaRegisterConnectionBlockCallback)
 
72
    SYMFUNC(XineramaDeleteResource)
 
73
    SYMVAR(PanoramiXNumScreens)
 
74
    SYMVAR(panoramiXdataPtr)
 
75
    SYMVAR(PanoramiXVisualTable)
 
76
    SYMVAR(XRT_WINDOW)
 
77
    SYMVAR(XRT_PIXMAP)
 
78
    SYMVAR(XRT_GC)
 
79
    SYMVAR(XRT_COLORMAP)
 
80
    SYMVAR(XRC_DRAWABLE)
 
81
#endif
 
82
 
 
83
    {0, 0}
 
84
};