xf86Parser.h revision b8e299dddd091ae24e0c08c45d91b8f937bd14d2
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync/* $XFree86: xc/programs/Xserver/hw/xfree86/parser/xf86Parser.h,v 1.33 2003/10/08 14:58:30 dawes Exp $ */
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * Copyright (c) 1997 Metro Link Incorporated
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * Permission is hereby granted, free of charge, to any person obtaining a
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * copy of this software and associated documentation files (the "Software"),
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * to deal in the Software without restriction, including without limitation
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * the rights to use, copy, modify, merge, publish, distribute, sublicense,
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * and/or sell copies of the Software, and to permit persons to whom the
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * Software is furnished to do so, subject to the following conditions:
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * The above copyright notice and this permission notice shall be included in
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * all copies or substantial portions of the Software.
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * SOFTWARE.
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * Except as contained in this notice, the name of the Metro Link shall not be
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * used in advertising or otherwise to promote the sale, use or other dealings
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * in this Software without prior written authorization from Metro Link.
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * Copyright (c) 1997-2003 by The XFree86 Project, Inc.
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * Permission is hereby granted, free of charge, to any person obtaining a
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * copy of this software and associated documentation files (the "Software"),
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * to deal in the Software without restriction, including without limitation
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * the rights to use, copy, modify, merge, publish, distribute, sublicense,
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * and/or sell copies of the Software, and to permit persons to whom the
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * Software is furnished to do so, subject to the following conditions:
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * The above copyright notice and this permission notice shall be included in
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * all copies or substantial portions of the Software.
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * OTHER DEALINGS IN THE SOFTWARE.
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * Except as contained in this notice, the name of the copyright holder(s)
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * and author(s) shall not be used in advertising or otherwise to promote
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * the sale, use or other dealings in this Software without prior written
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * authorization from the copyright holder(s) and author(s).
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * This file contains the external interfaces for the XFree86 configuration
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * file parser.
#include <xorg-config.h>
#ifndef _xf86Parser_h_
#define _xf86Parser_h_
#include "xf86Optrec.h"
#define HAVE_PARSER_DECLS
char *file_logfile;
char *file_rgbpath;
char *file_modulepath;
char *file_inputdevs;
char *file_fontpath;
char *file_comment;
#define XF86_LOAD_MODULE 0
int load_type;
char *load_name;
char *load_comment;
char *mod_comment;
char *ml_identifier;
int ml_clock;
int ml_hdisplay;
int ml_hsyncstart;
int ml_hsyncend;
int ml_htotal;
int ml_vdisplay;
int ml_vsyncstart;
int ml_vsyncend;
int ml_vtotal;
int ml_vscan;
int ml_flags;
int ml_hskew;
char *ml_comment;
char *vp_identifier;
char *vp_comment;
char *va_identifier;
char *va_vendor;
char *va_board;
char *va_busid;
char *va_driver;
char *va_fwdref;
char *va_comment;
char *modes_identifier;
char *modes_comment;
char *ml_modes_str;
char *mon_identifier;
char *mon_vendor;
char *mon_modelname;
int mon_n_hsync;
int mon_n_vrefresh;
float mon_gamma_red;
float mon_gamma_green;
float mon_gamma_blue;
char *mon_comment;
char *dev_identifier;
char *dev_vendor;
char *dev_board;
char *dev_chipset;
char *dev_busid;
char *dev_card;
char *dev_driver;
char *dev_ramdac;
int dev_videoram;
int dev_textclockfreq;
unsigned long dev_bios_base;
unsigned long dev_mem_base;
unsigned long dev_io_base;
char *dev_clockchip;
int dev_clocks;
int dev_chipid;
int dev_chiprev;
int dev_irq;
int dev_screen;
char *dev_comment;
char *mode_name;
int disp_frameX0;
int disp_frameY0;
int disp_virtualX;
int disp_virtualY;
int disp_depth;
int disp_bpp;
char *disp_visual;
char *disp_comment;
char *flg_comment;
char *al_adaptor_str;
char *scrn_identifier;
char *scrn_obso_driver;
int scrn_defaultdepth;
int scrn_defaultbpp;
int scrn_defaultfbbpp;
char *scrn_monitor_str;
char *scrn_device_str;
char *scrn_comment;
char *inp_identifier;
char *inp_driver;
char *inp_comment;
char *iref_inputdev_str;
#define CONF_ADJ_ABSOLUTE 0
int adj_scrnum;
char *adj_screen_str;
char *adj_top_str;
char *adj_bottom_str;
char *adj_left_str;
char *adj_right_str;
int adj_where;
int adj_x;
int adj_y;
char *adj_refscreen;
char *inactive_device_str;
char *lay_identifier;
char *lay_comment;
char *vs_name;
char *vs_identifier;
char *vs_comment;
char *vnd_identifier;
char *vnd_comment;
int buf_count;
int buf_size;
char *buf_flags;
char *buf_comment;
char *dri_group_name;
int dri_group;
int dri_mode;
char *dri_comment;
char *extensions_comment;
char *conf_comment;
extern const char *xf86openConfigFile (const char *, const char *,
extern void xf86closeConfigFile (void);