b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync/* $XFree86: xc/programs/Xserver/hw/xfree86/parser/Configint.h,v 1.21 2003/08/24 17:37:07 dawes Exp $ */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync/*
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync *
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * Copyright (c) 1997 Metro Link Incorporated
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync *
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * Permission is hereby granted, free of charge, to any person obtaining a
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * copy of this software and associated documentation files (the "Software"),
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * to deal in the Software without restriction, including without limitation
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * the rights to use, copy, modify, merge, publish, distribute, sublicense,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * and/or sell copies of the Software, and to permit persons to whom the
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * Software is furnished to do so, subject to the following conditions:
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync *
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * The above copyright notice and this permission notice shall be included in
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * all copies or substantial portions of the Software.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync *
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * SOFTWARE.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync *
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * Except as contained in this notice, the name of the Metro Link shall not be
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * used in advertising or otherwise to promote the sale, use or other dealings
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * in this Software without prior written authorization from Metro Link.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync *
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync/*
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * Copyright (c) 1997-2002 by The XFree86 Project, Inc.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync *
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * Permission is hereby granted, free of charge, to any person obtaining a
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * copy of this software and associated documentation files (the "Software"),
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * to deal in the Software without restriction, including without limitation
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * the rights to use, copy, modify, merge, publish, distribute, sublicense,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * and/or sell copies of the Software, and to permit persons to whom the
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * Software is furnished to do so, subject to the following conditions:
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync *
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * The above copyright notice and this permission notice shall be included in
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * all copies or substantial portions of the Software.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync *
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * OTHER DEALINGS IN THE SOFTWARE.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync *
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * Except as contained in this notice, the name of the copyright holder(s)
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * and author(s) shall not be used in advertising or otherwise to promote
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * the sale, use or other dealings in this Software without prior written
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * authorization from the copyright holder(s) and author(s).
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync/*
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * These definitions are used through out the configuration file parser, but
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * they should not be visible outside of the parser.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#ifdef HAVE_XORG_CONFIG_H
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <xorg-config.h>
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#endif
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#ifndef _Configint_h_
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define _Configint_h_
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <stdio.h>
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <string.h>
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <stdarg.h>
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <stddef.h>
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include "xf86Parser.h"
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsynctypedef struct
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync{
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync int num; /* returned number */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync char *str; /* private copy of the return-string */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync double realnum; /* returned number as a real */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync}
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncLexRec, *LexPtr;
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#ifndef TRUE
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define TRUE 1
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#endif
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#ifndef FALSE
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define FALSE 0
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#endif
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include "configProcs.h"
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#include <stdlib.h>
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define xf86confmalloc malloc
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define xf86confrealloc realloc
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define xf86confcalloc calloc
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define xf86conffree free
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define TestFree(a) if (a) { xf86conffree (a); a = NULL; }
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define parsePrologue(typeptr,typerec) typeptr ptr; \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncif( (ptr=(typeptr)xf86confcalloc(1,sizeof(typerec))) == NULL ) { return NULL; } \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncmemset(ptr,0,sizeof(typerec));
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define parsePrologueVoid(typeptr,typerec) int token; typeptr ptr; \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncif( (ptr=(typeptr)xf86confcalloc(1,sizeof(typerec))) == NULL ) { return; } \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncmemset(ptr,0,sizeof(typerec));
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define HANDLE_RETURN(f,func)\
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncif ((ptr->f=func) == NULL)\
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync{\
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync CLEANUP (ptr);\
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync return (NULL);\
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync}
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define HANDLE_LIST(field,func,type)\
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync{\
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsynctype p = func ();\
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncif (p == NULL)\
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync{\
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync CLEANUP (ptr);\
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync return (NULL);\
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync}\
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsyncelse\
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync{\
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync ptr->field = (type) xf86addListItem ((glp) ptr->field, (glp) p);\
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync}\
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync}
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define Error(a,b) do { \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync xf86parseError (a, b); CLEANUP (ptr); return NULL; \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync } while (0)
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync/*
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * These are defines for error messages to promote consistency.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * error messages are preceded by the line number, section and file name,
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * so these messages should be about the specific keyword and syntax in error.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * To help limit namespace polution, end each with _MSG.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync * limit messages to 70 characters if possible.
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define BAD_OPTION_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"The Option keyword requires 1 or 2 quoted strings to follow it."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define INVALID_KEYWORD_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"\"%s\" is not a valid keyword in this section."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define INVALID_SECTION_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"\"%s\" is not a valid section name."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define UNEXPECTED_EOF_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"Unexpected EOF. Missing EndSection keyword?"
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define QUOTE_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"The %s keyword requires a quoted string to follow it."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define NUMBER_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"The %s keyword requires a number to follow it."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define POSITIVE_INT_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"The %s keyword requires a positive integer to follow it."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define ZAXISMAPPING_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"The ZAxisMapping keyword requires 2 positive numbers or X or Y to follow it."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define AUTOREPEAT_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"The AutoRepeat keyword requires 2 numbers (delay and rate) to follow it."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define XLEDS_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"The XLeds keyword requries one or more numbers to follow it."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define DACSPEED_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"The DacSpeed keyword must be followed by a list of up to %d numbers."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define DISPLAYSIZE_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"The DisplaySize keyword must be followed by the width and height in mm."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define HORIZSYNC_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"The HorizSync keyword must be followed by a list of numbers or ranges."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define VERTREFRESH_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"The VertRefresh keyword must be followed by a list of numbers or ranges."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define VIEWPORT_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"The Viewport keyword must be followed by an X and Y value."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define VIRTUAL_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"The Virtual keyword must be followed by a width and height value."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define WEIGHT_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"The Weight keyword must be followed by red, green and blue values."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define BLACK_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"The Black keyword must be followed by red, green and blue values."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define WHITE_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"The White keyword must be followed by red, green and blue values."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define SCREEN_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"The Screen keyword must be followed by an optional number, a screen name\n" \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"\tin quotes, and optional position/layout information."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define INVALID_SCR_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"Invalid Screen line."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define INPUTDEV_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"The InputDevice keyword must be followed by an input device name in quotes."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define INACTIVE_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"The Inactive keyword must be followed by a Device name in quotes."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define UNDEFINED_SCREEN_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"Undefined Screen \"%s\" referenced by ServerLayout \"%s\"."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define UNDEFINED_MONITOR_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"Undefined Monitor \"%s\" referenced by Screen \"%s\"."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define UNDEFINED_MODES_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"Undefined Modes Section \"%s\" referenced by Monitor \"%s\"."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define UNDEFINED_DEVICE_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"Undefined Device \"%s\" referenced by Screen \"%s\"."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define UNDEFINED_ADAPTOR_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"Undefined VideoAdaptor \"%s\" referenced by Screen \"%s\"."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define ADAPTOR_REF_TWICE_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"VideoAdaptor \"%s\" already referenced by Screen \"%s\"."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define UNDEFINED_DEVICE_LAY_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"Undefined Device \"%s\" referenced by ServerLayout \"%s\"."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define UNDEFINED_INPUT_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"Undefined InputDevice \"%s\" referenced by ServerLayout \"%s\"."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define NO_IDENT_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"This section must have an Identifier line."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define ONLY_ONE_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"This section must have only one of either %s line."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define UNDEFINED_DRIVER_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"Device section \"%s\" must have a Driver line."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define UNDEFINED_INPUTDRIVER_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"InputDevice section \"%s\" must have a Driver line."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define INVALID_GAMMA_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"gamma correction value(s) expected\n either one value or three r/g/b values."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define GROUP_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"The Group keyword must be followed by either a group name in quotes or\n" \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"\ta numerical group id."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define MULTIPLE_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"Multiple \"%s\" lines."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync/* Warning messages */
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define OBSOLETE_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"Ignoring obsolete keyword \"%s\"."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#define MOVED_TO_FLAGS_MSG \
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync"Keyword \"%s\" is now an Option flag in the ServerFlags section."
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync
b8e299dddd091ae24e0c08c45d91b8f937bd14d2vboxsync#endif /* _Configint_h_ */