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