1706f2543Smrg/*
2706f2543Smrg * Copyright 1995-1998 by Metro Link, Inc.
3706f2543Smrg *
4706f2543Smrg * Permission to use, copy, modify, distribute, and sell this software and its
5706f2543Smrg * documentation for any purpose is hereby granted without fee, provided that
6706f2543Smrg * the above copyright notice appear in all copies and that both that
7706f2543Smrg * copyright notice and this permission notice appear in supporting
8706f2543Smrg * documentation, and that the name of Metro Link, Inc. not be used in
9706f2543Smrg * advertising or publicity pertaining to distribution of the software without
10706f2543Smrg * specific, written prior permission.  Metro Link, Inc. makes no
11706f2543Smrg * representations about the suitability of this software for any purpose.
12706f2543Smrg *  It is provided "as is" without express or implied warranty.
13706f2543Smrg *
14706f2543Smrg * METRO LINK, INC. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15706f2543Smrg * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
16706f2543Smrg * EVENT SHALL METRO LINK, INC. BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17706f2543Smrg * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
18706f2543Smrg * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
19706f2543Smrg * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20706f2543Smrg * PERFORMANCE OF THIS SOFTWARE.
21706f2543Smrg */
22706f2543Smrg/*
23706f2543Smrg * Copyright (c) 1997-2001 by The XFree86 Project, Inc.
24706f2543Smrg *
25706f2543Smrg * Permission is hereby granted, free of charge, to any person obtaining a
26706f2543Smrg * copy of this software and associated documentation files (the "Software"),
27706f2543Smrg * to deal in the Software without restriction, including without limitation
28706f2543Smrg * the rights to use, copy, modify, merge, publish, distribute, sublicense,
29706f2543Smrg * and/or sell copies of the Software, and to permit persons to whom the
30706f2543Smrg * Software is furnished to do so, subject to the following conditions:
31706f2543Smrg *
32706f2543Smrg * The above copyright notice and this permission notice shall be included in
33706f2543Smrg * all copies or substantial portions of the Software.
34706f2543Smrg *
35706f2543Smrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
36706f2543Smrg * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
37706f2543Smrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
38706f2543Smrg * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
39706f2543Smrg * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
40706f2543Smrg * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
41706f2543Smrg * OTHER DEALINGS IN THE SOFTWARE.
42706f2543Smrg *
43706f2543Smrg * Except as contained in this notice, the name of the copyright holder(s)
44706f2543Smrg * and author(s) shall not be used in advertising or otherwise to promote
45706f2543Smrg * the sale, use or other dealings in this Software without prior written
46706f2543Smrg * authorization from the copyright holder(s) and author(s).
47706f2543Smrg */
48706f2543Smrg
49706f2543Smrg#ifdef HAVE_XORG_CONFIG_H
50706f2543Smrg#include <xorg-config.h>
51706f2543Smrg#endif
52706f2543Smrg
53706f2543Smrg#ifndef _LOADER_H
54706f2543Smrg#define _LOADER_H
55706f2543Smrg
56706f2543Smrg#include <X11/Xosdefs.h>
57706f2543Smrg#include <X11/Xfuncproto.h>
58706f2543Smrg#include <X11/Xmd.h>
59706f2543Smrg
60706f2543Smrg/* Compiled-in version information */
61706f2543Smrgtypedef struct {
62706f2543Smrg    int xf86Version;
63706f2543Smrg    int ansicVersion;
64706f2543Smrg    int videodrvVersion;
65706f2543Smrg    int xinputVersion;
66706f2543Smrg    int extensionVersion;
67706f2543Smrg    int fontVersion;
68706f2543Smrg} ModuleVersions;
69706f2543Smrgextern const ModuleVersions LoaderVersionInfo;
70706f2543Smrg
71706f2543Smrgextern unsigned long LoaderOptions;
72706f2543Smrg
73706f2543Smrg/* Internal Functions */
74706f2543Smrgvoid * LoaderOpen(const char *, int *, int *);
75706f2543Smrg
76706f2543Smrg#endif /* _LOADER_H */
77