105b261ecSmrg/*
205b261ecSmrg * Copyright 1995-1998 by Metro Link, Inc.
305b261ecSmrg *
405b261ecSmrg * Permission to use, copy, modify, distribute, and sell this software and its
505b261ecSmrg * documentation for any purpose is hereby granted without fee, provided that
605b261ecSmrg * the above copyright notice appear in all copies and that both that
705b261ecSmrg * copyright notice and this permission notice appear in supporting
805b261ecSmrg * documentation, and that the name of Metro Link, Inc. not be used in
905b261ecSmrg * advertising or publicity pertaining to distribution of the software without
1005b261ecSmrg * specific, written prior permission.  Metro Link, Inc. makes no
1105b261ecSmrg * representations about the suitability of this software for any purpose.
1205b261ecSmrg *  It is provided "as is" without express or implied warranty.
1305b261ecSmrg *
1405b261ecSmrg * METRO LINK, INC. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
1505b261ecSmrg * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
1605b261ecSmrg * EVENT SHALL METRO LINK, INC. BE LIABLE FOR ANY SPECIAL, INDIRECT OR
1705b261ecSmrg * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
1805b261ecSmrg * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1905b261ecSmrg * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2005b261ecSmrg * PERFORMANCE OF THIS SOFTWARE.
2105b261ecSmrg */
2205b261ecSmrg/*
2305b261ecSmrg * Copyright (c) 1997-2001 by The XFree86 Project, Inc.
2405b261ecSmrg *
2505b261ecSmrg * Permission is hereby granted, free of charge, to any person obtaining a
2605b261ecSmrg * copy of this software and associated documentation files (the "Software"),
2705b261ecSmrg * to deal in the Software without restriction, including without limitation
2805b261ecSmrg * the rights to use, copy, modify, merge, publish, distribute, sublicense,
2905b261ecSmrg * and/or sell copies of the Software, and to permit persons to whom the
3005b261ecSmrg * Software is furnished to do so, subject to the following conditions:
3105b261ecSmrg *
3205b261ecSmrg * The above copyright notice and this permission notice shall be included in
3305b261ecSmrg * all copies or substantial portions of the Software.
3405b261ecSmrg *
3505b261ecSmrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
3605b261ecSmrg * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
3705b261ecSmrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
3805b261ecSmrg * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
3905b261ecSmrg * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
4005b261ecSmrg * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
4105b261ecSmrg * OTHER DEALINGS IN THE SOFTWARE.
4205b261ecSmrg *
4305b261ecSmrg * Except as contained in this notice, the name of the copyright holder(s)
4405b261ecSmrg * and author(s) shall not be used in advertising or otherwise to promote
4505b261ecSmrg * the sale, use or other dealings in this Software without prior written
4605b261ecSmrg * authorization from the copyright holder(s) and author(s).
4705b261ecSmrg */
4805b261ecSmrg
4905b261ecSmrg#ifdef HAVE_XORG_CONFIG_H
5005b261ecSmrg#include <xorg-config.h>
5105b261ecSmrg#endif
5205b261ecSmrg
5305b261ecSmrg#ifndef _LOADER_H
5405b261ecSmrg#define _LOADER_H
5505b261ecSmrg
5605b261ecSmrg#include <X11/Xosdefs.h>
5705b261ecSmrg#include <X11/Xfuncproto.h>
5805b261ecSmrg#include <X11/Xmd.h>
5905b261ecSmrg
6005b261ecSmrg/* Compiled-in version information */
6105b261ecSmrgtypedef struct {
6205b261ecSmrg    int xf86Version;
6305b261ecSmrg    int ansicVersion;
6405b261ecSmrg    int videodrvVersion;
6505b261ecSmrg    int xinputVersion;
6605b261ecSmrg    int extensionVersion;
6705b261ecSmrg    int fontVersion;
6805b261ecSmrg} ModuleVersions;
6905b261ecSmrgextern const ModuleVersions LoaderVersionInfo;
7005b261ecSmrg
7105b261ecSmrgextern unsigned long LoaderOptions;
7205b261ecSmrg
7305b261ecSmrg/* Internal Functions */
741b5d61b8Smrgvoid *LoaderOpen(const char *, int *);
7505b261ecSmrg
7635c4bbdfSmrg#endif                          /* _LOADER_H */
77