040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync/*
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Copyright (c) 1997-2001 by The XFree86 Project, Inc.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync *
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Permission is hereby granted, free of charge, to any person obtaining a
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * copy of this software and associated documentation files (the "Software"),
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * to deal in the Software without restriction, including without limitation
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * the rights to use, copy, modify, merge, publish, distribute, sublicense,
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * and/or sell copies of the Software, and to permit persons to whom the
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Software is furnished to do so, subject to the following conditions:
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync *
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * The above copyright notice and this permission notice shall be included in
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * all copies or substantial portions of the Software.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync *
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * OTHER DEALINGS IN THE SOFTWARE.
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync *
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * Except as contained in this notice, the name of the copyright holder(s)
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * and author(s) shall not be used in advertising or otherwise to promote
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * the sale, use or other dealings in this Software without prior written
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync * authorization from the copyright holder(s) and author(s).
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync */
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync/* Private procs. Public procs are in xf86Parser.h and xf86Optrec.h */
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync/* Device.c */
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncXF86ConfDevicePtr xf86parseDeviceSection(void);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86printDeviceSection(FILE *cf, XF86ConfDevicePtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86freeDeviceList(XF86ConfDevicePtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncint xf86validateDevice(XF86ConfigPtr p);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync/* Files.c */
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncXF86ConfFilesPtr xf86parseFilesSection(void);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86printFileSection(FILE *cf, XF86ConfFilesPtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86freeFiles(XF86ConfFilesPtr p);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync/* Flags.c */
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncXF86ConfFlagsPtr xf86parseFlagsSection(void);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86printServerFlagsSection(FILE *f, XF86ConfFlagsPtr flags);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86freeFlags(XF86ConfFlagsPtr flags);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync/* Input.c */
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncXF86ConfInputPtr xf86parseInputSection(void);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86printInputSection(FILE *f, XF86ConfInputPtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86freeInputList(XF86ConfInputPtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncint xf86validateInput (XF86ConfigPtr p);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync/* Layout.c */
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncXF86ConfLayoutPtr xf86parseLayoutSection(void);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86printLayoutSection(FILE *cf, XF86ConfLayoutPtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86freeLayoutList(XF86ConfLayoutPtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncint xf86validateLayout(XF86ConfigPtr p);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync/* Module.c */
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncXF86ConfModulePtr xf86parseModuleSection(void);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86printModuleSection(FILE *cf, XF86ConfModulePtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncXF86LoadPtr xf86addNewLoadDirective(XF86LoadPtr head, char *name, int type, XF86OptionPtr opts);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86freeModules(XF86ConfModulePtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync/* Monitor.c */
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncXF86ConfMonitorPtr xf86parseMonitorSection(void);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncXF86ConfModesPtr xf86parseModesSection(void);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86printMonitorSection(FILE *cf, XF86ConfMonitorPtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86printModesSection(FILE *cf, XF86ConfModesPtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86freeMonitorList(XF86ConfMonitorPtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86freeModesList(XF86ConfModesPtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncint xf86validateMonitor(XF86ConfigPtr p, XF86ConfScreenPtr screen);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync/* Pointer.c */
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncXF86ConfInputPtr xf86parsePointerSection(void);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync/* Screen.c */
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncXF86ConfScreenPtr xf86parseScreenSection(void);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86printScreenSection(FILE *cf, XF86ConfScreenPtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86freeScreenList(XF86ConfScreenPtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86freeAdaptorLinkList(XF86ConfAdaptorLinkPtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86freeDisplayList(XF86ConfDisplayPtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86freeModeList(XF86ModePtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncint xf86validateScreen(XF86ConfigPtr p);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync/* Vendor.c */
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncXF86ConfVendorPtr xf86parseVendorSection(void);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86freeVendorList(XF86ConfVendorPtr p);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86printVendorSection(FILE * cf, XF86ConfVendorPtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86freeVendorSubList (XF86ConfVendSubPtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync/* Video.c */
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncXF86ConfVideoAdaptorPtr xf86parseVideoAdaptorSection(void);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86printVideoAdaptorSection(FILE *cf, XF86ConfVideoAdaptorPtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86freeVideoAdaptorList(XF86ConfVideoAdaptorPtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync/* scan.c */
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncint xf86getToken(xf86ConfigSymTabRec *tab);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncint xf86getSubToken(char **comment);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncint xf86getSubTokenWithTab(char **comment, xf86ConfigSymTabRec *tab);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86unGetToken(int token);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncchar *xf86tokenString(void);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86parseError(char *format, ...);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86validationError(char *format, ...);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86setSection(char *section);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncint xf86getStringToken(xf86ConfigSymTabRec *tab);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync/* write.c */
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync/* DRI.c */
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncXF86ConfDRIPtr xf86parseDRISection (void);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86printDRISection (FILE * cf, XF86ConfDRIPtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86freeDRI (XF86ConfDRIPtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync/* Extensions.c */
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncXF86ConfExtensionsPtr xf86parseExtensionsSection (void);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86printExtensionsSection (FILE * cf, XF86ConfExtensionsPtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid xf86freeExtensions (XF86ConfExtensionsPtr ptr);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync#ifdef HAVE_XORG_CONFIG_H
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync#include <xorg-config.h>
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync#endif
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync#ifndef IN_XSERVER
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync/* Externally provided functions */
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid ErrorF(const char *f, ...);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsyncvoid VErrorF(const char *f, va_list args);
040abec2534dadc53ebc8fa378ef03f4feecb7dbvboxsync#endif