a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Copyright (c) 1997 Metro Link Incorporated
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Permission is hereby granted, free of charge, to any person obtaining a
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * copy of this software and associated documentation files (the "Software"),
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * to deal in the Software without restriction, including without limitation
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * the rights to use, copy, modify, merge, publish, distribute, sublicense,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * and/or sell copies of the Software, and to permit persons to whom the
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Software is furnished to do so, subject to the following conditions:
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * The above copyright notice and this permission notice shall be included in
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * all copies or substantial portions of the Software.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * SOFTWARE.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Except as contained in this notice, the name of the Metro Link shall not be
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * used in advertising or otherwise to promote the sale, use or other dealings
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * in this Software without prior written authorization from Metro Link.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Copyright (c) 1997-2003 by The XFree86 Project, Inc.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Permission is hereby granted, free of charge, to any person obtaining a
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * copy of this software and associated documentation files (the "Software"),
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * to deal in the Software without restriction, including without limitation
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * the rights to use, copy, modify, merge, publish, distribute, sublicense,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * and/or sell copies of the Software, and to permit persons to whom the
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Software is furnished to do so, subject to the following conditions:
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * The above copyright notice and this permission notice shall be included in
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * all copies or substantial portions of the Software.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * OTHER DEALINGS IN THE SOFTWARE.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Except as contained in this notice, the name of the copyright holder(s)
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * and author(s) shall not be used in advertising or otherwise to promote
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * the sale, use or other dealings in this Software without prior written
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * authorization from the copyright holder(s) and author(s).
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * This file contains the external interfaces for the XFree86 configuration
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * file parser.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync/* Values for load_type */
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#define CONF_IMPLICIT_KEYBOARD "Implicit Core Keyboard"
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#define CONF_IMPLICIT_POINTER "Implicit Core Pointer"
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync} XF86ConfVideoAdaptorRec, *XF86ConfVideoAdaptorPtr;
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync/* Values for adj_where */
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync const char *name; /* pointer to the LOWERCASED name */
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * prototypes for public functions
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncextern void xf86initConfigFiles(void);
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncextern char *xf86openConfigFile(const char *path, const char *cmdline,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync const char *projroot);
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncextern char *xf86openConfigDirFiles(const char *path, const char *cmdline,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync const char *projroot);
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncextern void xf86setBuiltinConfig(const char *config[]);
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncextern void xf86closeConfigFile(void);
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncextern int xf86writeConfigFile(const char *, XF86ConfigPtr);
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncextern _X_EXPORT XF86ConfDevicePtr xf86findDevice(const char *ident,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncextern _X_EXPORT XF86ConfLayoutPtr xf86findLayout(const char *name,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncextern _X_EXPORT XF86ConfMonitorPtr xf86findMonitor(const char *ident,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncextern _X_EXPORT XF86ConfModesPtr xf86findModes(const char *ident,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncextern _X_EXPORT XF86ConfModeLinePtr xf86findModeLine(const char *ident,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncextern _X_EXPORT XF86ConfScreenPtr xf86findScreen(const char *ident,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncextern _X_EXPORT XF86ConfInputPtr xf86findInput(const char *ident,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncextern _X_EXPORT XF86ConfInputPtr xf86findInputByDriver(const char *driver,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncextern _X_EXPORT XF86ConfVideoAdaptorPtr xf86findVideoAdaptor(const char *ident,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncextern int xf86layoutAddInputDevices(XF86ConfigPtr config,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncextern _X_EXPORT GenericListPtr xf86addListItem(GenericListPtr head,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncextern _X_EXPORT int xf86itemNotSublist(GenericListPtr list_1,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncextern _X_EXPORT int xf86pathIsAbsolute(const char *path);
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncextern _X_EXPORT int xf86pathIsSafe(const char *path);
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncextern _X_EXPORT char *xf86addComment(char *cur, const char *add);
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncextern _X_EXPORT Bool xf86getBoolValue(Bool *val, const char *str);
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#endif /* _xf86Parser_h_ */