VirtualBox

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

Last change on this file since 87454 was 43251, checked in by vboxsync, 12 years ago

Additions/x11: added headers for X.Org Server 1.13.

  • Property svn:eol-style set to native
File size: 5.4 KB
Line 
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
39/* Files.c */
40XF86ConfFilesPtr xf86parseFilesSection(void);
41void xf86printFileSection(FILE * cf, XF86ConfFilesPtr ptr);
42void xf86freeFiles(XF86ConfFilesPtr p);
43
44/* Flags.c */
45XF86ConfFlagsPtr xf86parseFlagsSection(void);
46void xf86printServerFlagsSection(FILE * f, XF86ConfFlagsPtr flags);
47void xf86freeFlags(XF86ConfFlagsPtr flags);
48
49/* Input.c */
50XF86ConfInputPtr xf86parseInputSection(void);
51void xf86printInputSection(FILE * f, XF86ConfInputPtr ptr);
52void xf86freeInputList(XF86ConfInputPtr ptr);
53int xf86validateInput(XF86ConfigPtr p);
54
55/* InputClass.c */
56XF86ConfInputClassPtr xf86parseInputClassSection(void);
57void xf86printInputClassSection(FILE * f, XF86ConfInputClassPtr ptr);
58void xf86freeInputClassList(XF86ConfInputClassPtr ptr);
59
60/* Layout.c */
61XF86ConfLayoutPtr xf86parseLayoutSection(void);
62void xf86printLayoutSection(FILE * cf, XF86ConfLayoutPtr ptr);
63void xf86freeLayoutList(XF86ConfLayoutPtr ptr);
64int xf86validateLayout(XF86ConfigPtr p);
65
66/* Module.c */
67XF86ConfModulePtr xf86parseModuleSection(void);
68void xf86printModuleSection(FILE * cf, XF86ConfModulePtr ptr);
69extern _X_EXPORT XF86LoadPtr xf86addNewLoadDirective(XF86LoadPtr head,
70 char *name, int type,
71 XF86OptionPtr opts);
72void xf86freeModules(XF86ConfModulePtr ptr);
73
74/* Monitor.c */
75XF86ConfMonitorPtr xf86parseMonitorSection(void);
76XF86ConfModesPtr xf86parseModesSection(void);
77void xf86printMonitorSection(FILE * cf, XF86ConfMonitorPtr ptr);
78void xf86printModesSection(FILE * cf, XF86ConfModesPtr ptr);
79extern _X_EXPORT void xf86freeMonitorList(XF86ConfMonitorPtr ptr);
80void xf86freeModesList(XF86ConfModesPtr ptr);
81int xf86validateMonitor(XF86ConfigPtr p, XF86ConfScreenPtr screen);
82
83/* Pointer.c */
84XF86ConfInputPtr xf86parsePointerSection(void);
85
86/* Screen.c */
87XF86ConfScreenPtr xf86parseScreenSection(void);
88void xf86printScreenSection(FILE * cf, XF86ConfScreenPtr ptr);
89extern _X_EXPORT void xf86freeScreenList(XF86ConfScreenPtr ptr);
90void xf86freeAdaptorLinkList(XF86ConfAdaptorLinkPtr ptr);
91void xf86freeDisplayList(XF86ConfDisplayPtr ptr);
92void xf86freeModeList(XF86ModePtr ptr);
93int xf86validateScreen(XF86ConfigPtr p);
94
95/* Vendor.c */
96XF86ConfVendorPtr xf86parseVendorSection(void);
97void xf86freeVendorList(XF86ConfVendorPtr p);
98void xf86printVendorSection(FILE * cf, XF86ConfVendorPtr ptr);
99void xf86freeVendorSubList(XF86ConfVendSubPtr ptr);
100
101/* Video.c */
102XF86ConfVideoAdaptorPtr xf86parseVideoAdaptorSection(void);
103void xf86printVideoAdaptorSection(FILE * cf, XF86ConfVideoAdaptorPtr ptr);
104void xf86freeVideoAdaptorList(XF86ConfVideoAdaptorPtr ptr);
105
106/* scan.c */
107int xf86getToken(xf86ConfigSymTabRec * tab);
108int xf86getSubToken(char **comment);
109int xf86getSubTokenWithTab(char **comment, xf86ConfigSymTabRec * tab);
110void xf86unGetToken(int token);
111char *xf86tokenString(void);
112void
113xf86parseError(const char *format, ...)
114_X_ATTRIBUTE_PRINTF(1, 2);
115void
116xf86validationError(const char *format, ...)
117_X_ATTRIBUTE_PRINTF(1, 2);
118void
119xf86setSection(const char *section);
120int
121xf86getStringToken(xf86ConfigSymTabRec * tab);
122
123/* write.c */
124/* DRI.c */
125XF86ConfDRIPtr
126xf86parseDRISection(void);
127void
128xf86printDRISection(FILE * cf, XF86ConfDRIPtr ptr);
129void
130xf86freeDRI(XF86ConfDRIPtr ptr);
131
132/* Extensions.c */
133XF86ConfExtensionsPtr
134xf86parseExtensionsSection(void);
135void
136xf86printExtensionsSection(FILE * cf, XF86ConfExtensionsPtr ptr);
137void
138xf86freeExtensions(XF86ConfExtensionsPtr ptr);
139
140#ifdef HAVE_XORG_CONFIG_H
141#include <xorg-config.h>
142#endif
143
144#ifndef IN_XSERVER
145/* Externally provided functions */
146void
147ErrorF(const char *f, ...);
148void
149VErrorF(const char *f, va_list args);
150#endif
Note: See TracBrowser for help on using the repository browser.

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