VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.9.0/configProcs.h@ 66940

最後變更 在這個檔案從66940是 32163,由 vboxsync 提交於 14 年 前

Additions/x11/x11include: additional headers for building drivers for X.Org Server 1.9

  • 屬性 svn:eol-style 設為 native
檔案大小: 5.2 KB
 
1/*
2 * Copyright (c) 1997-2001 by The XFree86 Project, Inc.
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
10 *
11 * The above copyright notice and this permission notice shall be included in
12 * all copies or substantial portions of the Software.
13 *
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
18 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 * OTHER DEALINGS IN THE SOFTWARE.
21 *
22 * Except as contained in this notice, the name of the copyright holder(s)
23 * and author(s) shall not be used in advertising or otherwise to promote
24 * the sale, use or other dealings in this Software without prior written
25 * authorization from the copyright holder(s) and author(s).
26 */
27
28/* Private procs. Public procs are in xf86Parser.h and xf86Optrec.h */
29
30/* exported functions are/were used by the X Server, and need to be
31 * made public when installing libxf86config */
32
33/* Device.c */
34XF86ConfDevicePtr xf86parseDeviceSection(void);
35void xf86printDeviceSection(FILE *cf, XF86ConfDevicePtr ptr);
36void xf86freeDeviceList(XF86ConfDevicePtr ptr);
37int xf86validateDevice(XF86ConfigPtr p);
38/* Files.c */
39XF86ConfFilesPtr xf86parseFilesSection(void);
40void xf86printFileSection(FILE *cf, XF86ConfFilesPtr ptr);
41void xf86freeFiles(XF86ConfFilesPtr p);
42/* Flags.c */
43XF86ConfFlagsPtr xf86parseFlagsSection(void);
44void xf86printServerFlagsSection(FILE *f, XF86ConfFlagsPtr flags);
45void xf86freeFlags(XF86ConfFlagsPtr flags);
46/* Input.c */
47XF86ConfInputPtr xf86parseInputSection(void);
48void xf86printInputSection(FILE *f, XF86ConfInputPtr ptr);
49void xf86freeInputList(XF86ConfInputPtr ptr);
50int xf86validateInput (XF86ConfigPtr p);
51/* InputClass.c */
52XF86ConfInputClassPtr xf86parseInputClassSection(void);
53void xf86printInputClassSection(FILE *f, XF86ConfInputClassPtr ptr);
54void xf86freeInputClassList(XF86ConfInputClassPtr ptr);
55/* Layout.c */
56XF86ConfLayoutPtr xf86parseLayoutSection(void);
57void xf86printLayoutSection(FILE *cf, XF86ConfLayoutPtr ptr);
58void xf86freeLayoutList(XF86ConfLayoutPtr ptr);
59int xf86validateLayout(XF86ConfigPtr p);
60/* Module.c */
61XF86ConfModulePtr xf86parseModuleSection(void);
62void xf86printModuleSection(FILE *cf, XF86ConfModulePtr ptr);
63extern _X_EXPORT XF86LoadPtr xf86addNewLoadDirective(XF86LoadPtr head, char *name, int type, XF86OptionPtr opts);
64void xf86freeModules(XF86ConfModulePtr ptr);
65/* Monitor.c */
66XF86ConfMonitorPtr xf86parseMonitorSection(void);
67XF86ConfModesPtr xf86parseModesSection(void);
68void xf86printMonitorSection(FILE *cf, XF86ConfMonitorPtr ptr);
69void xf86printModesSection(FILE *cf, XF86ConfModesPtr ptr);
70extern _X_EXPORT void xf86freeMonitorList(XF86ConfMonitorPtr ptr);
71void xf86freeModesList(XF86ConfModesPtr ptr);
72int xf86validateMonitor(XF86ConfigPtr p, XF86ConfScreenPtr screen);
73/* Pointer.c */
74XF86ConfInputPtr xf86parsePointerSection(void);
75/* Screen.c */
76XF86ConfScreenPtr xf86parseScreenSection(void);
77void xf86printScreenSection(FILE *cf, XF86ConfScreenPtr ptr);
78extern _X_EXPORT void xf86freeScreenList(XF86ConfScreenPtr ptr);
79void xf86freeAdaptorLinkList(XF86ConfAdaptorLinkPtr ptr);
80void xf86freeDisplayList(XF86ConfDisplayPtr ptr);
81void xf86freeModeList(XF86ModePtr ptr);
82int xf86validateScreen(XF86ConfigPtr p);
83/* Vendor.c */
84XF86ConfVendorPtr xf86parseVendorSection(void);
85void xf86freeVendorList(XF86ConfVendorPtr p);
86void xf86printVendorSection(FILE * cf, XF86ConfVendorPtr ptr);
87void xf86freeVendorSubList (XF86ConfVendSubPtr ptr);
88/* Video.c */
89XF86ConfVideoAdaptorPtr xf86parseVideoAdaptorSection(void);
90void xf86printVideoAdaptorSection(FILE *cf, XF86ConfVideoAdaptorPtr ptr);
91void xf86freeVideoAdaptorList(XF86ConfVideoAdaptorPtr ptr);
92/* scan.c */
93int xf86getToken(xf86ConfigSymTabRec *tab);
94int xf86getSubToken(char **comment);
95int xf86getSubTokenWithTab(char **comment, xf86ConfigSymTabRec *tab);
96void xf86unGetToken(int token);
97char *xf86tokenString(void);
98void xf86parseError(char *format, ...);
99void xf86validationError(char *format, ...);
100void xf86setSection(char *section);
101int xf86getStringToken(xf86ConfigSymTabRec *tab);
102/* write.c */
103/* DRI.c */
104XF86ConfDRIPtr xf86parseDRISection (void);
105void xf86printDRISection (FILE * cf, XF86ConfDRIPtr ptr);
106void xf86freeDRI (XF86ConfDRIPtr ptr);
107/* Extensions.c */
108XF86ConfExtensionsPtr xf86parseExtensionsSection (void);
109void xf86printExtensionsSection (FILE * cf, XF86ConfExtensionsPtr ptr);
110void xf86freeExtensions (XF86ConfExtensionsPtr ptr);
111
112#ifdef HAVE_XORG_CONFIG_H
113#include <xorg-config.h>
114#endif
115
116#ifndef IN_XSERVER
117/* Externally provided functions */
118void ErrorF(const char *f, ...);
119void VErrorF(const char *f, va_list args);
120#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette