1 | /*
|
---|
2 | *
|
---|
3 | * Copyright (c) 1997 Metro Link Incorporated
|
---|
4 | *
|
---|
5 | * Permission is hereby granted, free of charge, to any person obtaining a
|
---|
6 | * copy of this software and associated documentation files (the "Software"),
|
---|
7 | * to deal in the Software without restriction, including without limitation
|
---|
8 | * the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
---|
9 | * and/or sell copies of the Software, and to permit persons to whom the
|
---|
10 | * Software is furnished to do so, subject to the following conditions:
|
---|
11 | *
|
---|
12 | * The above copyright notice and this permission notice shall be included in
|
---|
13 | * all copies or substantial portions of the Software.
|
---|
14 | *
|
---|
15 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
---|
16 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
---|
17 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
---|
18 | * THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
---|
19 | * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
|
---|
20 | * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
---|
21 | * SOFTWARE.
|
---|
22 | *
|
---|
23 | * Except as contained in this notice, the name of the Metro Link shall not be
|
---|
24 | * used in advertising or otherwise to promote the sale, use or other dealings
|
---|
25 | * in this Software without prior written authorization from Metro Link.
|
---|
26 | *
|
---|
27 | */
|
---|
28 | /*
|
---|
29 | * Copyright (c) 1997-2003 by The XFree86 Project, Inc.
|
---|
30 | *
|
---|
31 | * Permission is hereby granted, free of charge, to any person obtaining a
|
---|
32 | * copy of this software and associated documentation files (the "Software"),
|
---|
33 | * to deal in the Software without restriction, including without limitation
|
---|
34 | * the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
---|
35 | * and/or sell copies of the Software, and to permit persons to whom the
|
---|
36 | * Software is furnished to do so, subject to the following conditions:
|
---|
37 | *
|
---|
38 | * The above copyright notice and this permission notice shall be included in
|
---|
39 | * all copies or substantial portions of the Software.
|
---|
40 | *
|
---|
41 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
---|
42 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
---|
43 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
---|
44 | * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
---|
45 | * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
---|
46 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
---|
47 | * OTHER DEALINGS IN THE SOFTWARE.
|
---|
48 | *
|
---|
49 | * Except as contained in this notice, the name of the copyright holder(s)
|
---|
50 | * and author(s) shall not be used in advertising or otherwise to promote
|
---|
51 | * the sale, use or other dealings in this Software without prior written
|
---|
52 | * authorization from the copyright holder(s) and author(s).
|
---|
53 | */
|
---|
54 |
|
---|
55 |
|
---|
56 | /*
|
---|
57 | * This file contains the external interfaces for the XFree86 configuration
|
---|
58 | * file parser.
|
---|
59 | */
|
---|
60 | #ifdef HAVE_XORG_CONFIG_H
|
---|
61 | #include <xorg-config.h>
|
---|
62 | #endif
|
---|
63 |
|
---|
64 | #ifndef _xf86Parser_h_
|
---|
65 | #define _xf86Parser_h_
|
---|
66 |
|
---|
67 | #include "xf86Optrec.h"
|
---|
68 |
|
---|
69 | #define HAVE_PARSER_DECLS
|
---|
70 |
|
---|
71 | typedef struct
|
---|
72 | {
|
---|
73 | char *file_logfile;
|
---|
74 | char *file_modulepath;
|
---|
75 | char *file_fontpath;
|
---|
76 | char *file_comment;
|
---|
77 | char *file_xkbdir;
|
---|
78 | }
|
---|
79 | XF86ConfFilesRec, *XF86ConfFilesPtr;
|
---|
80 |
|
---|
81 | /* Values for load_type */
|
---|
82 | #define XF86_LOAD_MODULE 0
|
---|
83 | #define XF86_LOAD_DRIVER 1
|
---|
84 | #define XF86_DISABLE_MODULE 2
|
---|
85 |
|
---|
86 | typedef struct
|
---|
87 | {
|
---|
88 | GenericListRec list;
|
---|
89 | int load_type;
|
---|
90 | char *load_name;
|
---|
91 | XF86OptionPtr load_opt;
|
---|
92 | char *load_comment;
|
---|
93 | int ignore;
|
---|
94 | }
|
---|
95 | XF86LoadRec, *XF86LoadPtr;
|
---|
96 |
|
---|
97 | typedef struct
|
---|
98 | {
|
---|
99 | XF86LoadPtr mod_load_lst;
|
---|
100 | XF86LoadPtr mod_disable_lst;
|
---|
101 | char *mod_comment;
|
---|
102 | }
|
---|
103 | XF86ConfModuleRec, *XF86ConfModulePtr;
|
---|
104 |
|
---|
105 | #define CONF_IMPLICIT_KEYBOARD "Implicit Core Keyboard"
|
---|
106 |
|
---|
107 | #define CONF_IMPLICIT_POINTER "Implicit Core Pointer"
|
---|
108 |
|
---|
109 | #define XF86CONF_PHSYNC 0x0001
|
---|
110 | #define XF86CONF_NHSYNC 0x0002
|
---|
111 | #define XF86CONF_PVSYNC 0x0004
|
---|
112 | #define XF86CONF_NVSYNC 0x0008
|
---|
113 | #define XF86CONF_INTERLACE 0x0010
|
---|
114 | #define XF86CONF_DBLSCAN 0x0020
|
---|
115 | #define XF86CONF_CSYNC 0x0040
|
---|
116 | #define XF86CONF_PCSYNC 0x0080
|
---|
117 | #define XF86CONF_NCSYNC 0x0100
|
---|
118 | #define XF86CONF_HSKEW 0x0200 /* hskew provided */
|
---|
119 | #define XF86CONF_BCAST 0x0400
|
---|
120 | #define XF86CONF_CUSTOM 0x0800 /* timing numbers customized by editor */
|
---|
121 | #define XF86CONF_VSCAN 0x1000
|
---|
122 |
|
---|
123 | typedef struct
|
---|
124 | {
|
---|
125 | GenericListRec list;
|
---|
126 | char *ml_identifier;
|
---|
127 | int ml_clock;
|
---|
128 | int ml_hdisplay;
|
---|
129 | int ml_hsyncstart;
|
---|
130 | int ml_hsyncend;
|
---|
131 | int ml_htotal;
|
---|
132 | int ml_vdisplay;
|
---|
133 | int ml_vsyncstart;
|
---|
134 | int ml_vsyncend;
|
---|
135 | int ml_vtotal;
|
---|
136 | int ml_vscan;
|
---|
137 | int ml_flags;
|
---|
138 | int ml_hskew;
|
---|
139 | char *ml_comment;
|
---|
140 | }
|
---|
141 | XF86ConfModeLineRec, *XF86ConfModeLinePtr;
|
---|
142 |
|
---|
143 | typedef struct
|
---|
144 | {
|
---|
145 | GenericListRec list;
|
---|
146 | char *vp_identifier;
|
---|
147 | XF86OptionPtr vp_option_lst;
|
---|
148 | char *vp_comment;
|
---|
149 | }
|
---|
150 | XF86ConfVideoPortRec, *XF86ConfVideoPortPtr;
|
---|
151 |
|
---|
152 | typedef struct
|
---|
153 | {
|
---|
154 | GenericListRec list;
|
---|
155 | char *va_identifier;
|
---|
156 | char *va_vendor;
|
---|
157 | char *va_board;
|
---|
158 | char *va_busid;
|
---|
159 | char *va_driver;
|
---|
160 | XF86OptionPtr va_option_lst;
|
---|
161 | XF86ConfVideoPortPtr va_port_lst;
|
---|
162 | char *va_fwdref;
|
---|
163 | char *va_comment;
|
---|
164 | }
|
---|
165 | XF86ConfVideoAdaptorRec, *XF86ConfVideoAdaptorPtr;
|
---|
166 |
|
---|
167 | #define CONF_MAX_HSYNC 8
|
---|
168 | #define CONF_MAX_VREFRESH 8
|
---|
169 |
|
---|
170 | typedef struct
|
---|
171 | {
|
---|
172 | float hi, lo;
|
---|
173 | }
|
---|
174 | parser_range;
|
---|
175 |
|
---|
176 | typedef struct
|
---|
177 | {
|
---|
178 | int red, green, blue;
|
---|
179 | }
|
---|
180 | parser_rgb;
|
---|
181 |
|
---|
182 | typedef struct
|
---|
183 | {
|
---|
184 | GenericListRec list;
|
---|
185 | char *modes_identifier;
|
---|
186 | XF86ConfModeLinePtr mon_modeline_lst;
|
---|
187 | char *modes_comment;
|
---|
188 | }
|
---|
189 | XF86ConfModesRec, *XF86ConfModesPtr;
|
---|
190 |
|
---|
191 | typedef struct
|
---|
192 | {
|
---|
193 | GenericListRec list;
|
---|
194 | char *ml_modes_str;
|
---|
195 | XF86ConfModesPtr ml_modes;
|
---|
196 | }
|
---|
197 | XF86ConfModesLinkRec, *XF86ConfModesLinkPtr;
|
---|
198 |
|
---|
199 | typedef struct
|
---|
200 | {
|
---|
201 | GenericListRec list;
|
---|
202 | char *mon_identifier;
|
---|
203 | char *mon_vendor;
|
---|
204 | char *mon_modelname;
|
---|
205 | int mon_width; /* in mm */
|
---|
206 | int mon_height; /* in mm */
|
---|
207 | XF86ConfModeLinePtr mon_modeline_lst;
|
---|
208 | int mon_n_hsync;
|
---|
209 | parser_range mon_hsync[CONF_MAX_HSYNC];
|
---|
210 | int mon_n_vrefresh;
|
---|
211 | parser_range mon_vrefresh[CONF_MAX_VREFRESH];
|
---|
212 | float mon_gamma_red;
|
---|
213 | float mon_gamma_green;
|
---|
214 | float mon_gamma_blue;
|
---|
215 | XF86OptionPtr mon_option_lst;
|
---|
216 | XF86ConfModesLinkPtr mon_modes_sect_lst;
|
---|
217 | char *mon_comment;
|
---|
218 | }
|
---|
219 | XF86ConfMonitorRec, *XF86ConfMonitorPtr;
|
---|
220 |
|
---|
221 | #define CONF_MAXDACSPEEDS 4
|
---|
222 | #define CONF_MAXCLOCKS 128
|
---|
223 |
|
---|
224 | typedef struct
|
---|
225 | {
|
---|
226 | GenericListRec list;
|
---|
227 | char *dev_identifier;
|
---|
228 | char *dev_vendor;
|
---|
229 | char *dev_board;
|
---|
230 | char *dev_chipset;
|
---|
231 | char *dev_busid;
|
---|
232 | char *dev_card;
|
---|
233 | char *dev_driver;
|
---|
234 | char *dev_ramdac;
|
---|
235 | int dev_dacSpeeds[CONF_MAXDACSPEEDS];
|
---|
236 | int dev_videoram;
|
---|
237 | int dev_textclockfreq;
|
---|
238 | unsigned long dev_bios_base;
|
---|
239 | unsigned long dev_mem_base;
|
---|
240 | unsigned long dev_io_base;
|
---|
241 | char *dev_clockchip;
|
---|
242 | int dev_clocks;
|
---|
243 | int dev_clock[CONF_MAXCLOCKS];
|
---|
244 | int dev_chipid;
|
---|
245 | int dev_chiprev;
|
---|
246 | int dev_irq;
|
---|
247 | int dev_screen;
|
---|
248 | XF86OptionPtr dev_option_lst;
|
---|
249 | char *dev_comment;
|
---|
250 | }
|
---|
251 | XF86ConfDeviceRec, *XF86ConfDevicePtr;
|
---|
252 |
|
---|
253 | typedef struct
|
---|
254 | {
|
---|
255 | GenericListRec list;
|
---|
256 | char *mode_name;
|
---|
257 | }
|
---|
258 | XF86ModeRec, *XF86ModePtr;
|
---|
259 |
|
---|
260 | typedef struct
|
---|
261 | {
|
---|
262 | GenericListRec list;
|
---|
263 | int disp_frameX0;
|
---|
264 | int disp_frameY0;
|
---|
265 | int disp_virtualX;
|
---|
266 | int disp_virtualY;
|
---|
267 | int disp_depth;
|
---|
268 | int disp_bpp;
|
---|
269 | char *disp_visual;
|
---|
270 | parser_rgb disp_weight;
|
---|
271 | parser_rgb disp_black;
|
---|
272 | parser_rgb disp_white;
|
---|
273 | XF86ModePtr disp_mode_lst;
|
---|
274 | XF86OptionPtr disp_option_lst;
|
---|
275 | char *disp_comment;
|
---|
276 | }
|
---|
277 | XF86ConfDisplayRec, *XF86ConfDisplayPtr;
|
---|
278 |
|
---|
279 | typedef struct
|
---|
280 | {
|
---|
281 | XF86OptionPtr flg_option_lst;
|
---|
282 | char *flg_comment;
|
---|
283 | }
|
---|
284 | XF86ConfFlagsRec, *XF86ConfFlagsPtr;
|
---|
285 |
|
---|
286 | typedef struct
|
---|
287 | {
|
---|
288 | GenericListRec list;
|
---|
289 | char *al_adaptor_str;
|
---|
290 | XF86ConfVideoAdaptorPtr al_adaptor;
|
---|
291 | }
|
---|
292 | XF86ConfAdaptorLinkRec, *XF86ConfAdaptorLinkPtr;
|
---|
293 |
|
---|
294 | typedef struct
|
---|
295 | {
|
---|
296 | GenericListRec list;
|
---|
297 | char *scrn_identifier;
|
---|
298 | char *scrn_obso_driver;
|
---|
299 | int scrn_defaultdepth;
|
---|
300 | int scrn_defaultbpp;
|
---|
301 | int scrn_defaultfbbpp;
|
---|
302 | char *scrn_monitor_str;
|
---|
303 | XF86ConfMonitorPtr scrn_monitor;
|
---|
304 | char *scrn_device_str;
|
---|
305 | XF86ConfDevicePtr scrn_device;
|
---|
306 | XF86ConfAdaptorLinkPtr scrn_adaptor_lst;
|
---|
307 | XF86ConfDisplayPtr scrn_display_lst;
|
---|
308 | XF86OptionPtr scrn_option_lst;
|
---|
309 | char *scrn_comment;
|
---|
310 | int scrn_virtualX, scrn_virtualY;
|
---|
311 | }
|
---|
312 | XF86ConfScreenRec, *XF86ConfScreenPtr;
|
---|
313 |
|
---|
314 | typedef struct
|
---|
315 | {
|
---|
316 | GenericListRec list;
|
---|
317 | char *inp_identifier;
|
---|
318 | char *inp_driver;
|
---|
319 | XF86OptionPtr inp_option_lst;
|
---|
320 | char *inp_comment;
|
---|
321 | }
|
---|
322 | XF86ConfInputRec, *XF86ConfInputPtr;
|
---|
323 |
|
---|
324 | typedef struct
|
---|
325 | {
|
---|
326 | GenericListRec list;
|
---|
327 | XF86ConfInputPtr iref_inputdev;
|
---|
328 | char *iref_inputdev_str;
|
---|
329 | XF86OptionPtr iref_option_lst;
|
---|
330 | }
|
---|
331 | XF86ConfInputrefRec, *XF86ConfInputrefPtr;
|
---|
332 |
|
---|
333 | /* Values for adj_where */
|
---|
334 | #define CONF_ADJ_OBSOLETE -1
|
---|
335 | #define CONF_ADJ_ABSOLUTE 0
|
---|
336 | #define CONF_ADJ_RIGHTOF 1
|
---|
337 | #define CONF_ADJ_LEFTOF 2
|
---|
338 | #define CONF_ADJ_ABOVE 3
|
---|
339 | #define CONF_ADJ_BELOW 4
|
---|
340 | #define CONF_ADJ_RELATIVE 5
|
---|
341 |
|
---|
342 | typedef struct
|
---|
343 | {
|
---|
344 | GenericListRec list;
|
---|
345 | int adj_scrnum;
|
---|
346 | XF86ConfScreenPtr adj_screen;
|
---|
347 | char *adj_screen_str;
|
---|
348 | XF86ConfScreenPtr adj_top;
|
---|
349 | char *adj_top_str;
|
---|
350 | XF86ConfScreenPtr adj_bottom;
|
---|
351 | char *adj_bottom_str;
|
---|
352 | XF86ConfScreenPtr adj_left;
|
---|
353 | char *adj_left_str;
|
---|
354 | XF86ConfScreenPtr adj_right;
|
---|
355 | char *adj_right_str;
|
---|
356 | int adj_where;
|
---|
357 | int adj_x;
|
---|
358 | int adj_y;
|
---|
359 | char *adj_refscreen;
|
---|
360 | }
|
---|
361 | XF86ConfAdjacencyRec, *XF86ConfAdjacencyPtr;
|
---|
362 |
|
---|
363 | typedef struct
|
---|
364 | {
|
---|
365 | GenericListRec list;
|
---|
366 | char *inactive_device_str;
|
---|
367 | XF86ConfDevicePtr inactive_device;
|
---|
368 | }
|
---|
369 | XF86ConfInactiveRec, *XF86ConfInactivePtr;
|
---|
370 |
|
---|
371 | typedef struct
|
---|
372 | {
|
---|
373 | GenericListRec list;
|
---|
374 | char *lay_identifier;
|
---|
375 | XF86ConfAdjacencyPtr lay_adjacency_lst;
|
---|
376 | XF86ConfInactivePtr lay_inactive_lst;
|
---|
377 | XF86ConfInputrefPtr lay_input_lst;
|
---|
378 | XF86OptionPtr lay_option_lst;
|
---|
379 | char *lay_comment;
|
---|
380 | }
|
---|
381 | XF86ConfLayoutRec, *XF86ConfLayoutPtr;
|
---|
382 |
|
---|
383 | typedef struct
|
---|
384 | {
|
---|
385 | GenericListRec list;
|
---|
386 | char *vs_name;
|
---|
387 | char *vs_identifier;
|
---|
388 | XF86OptionPtr vs_option_lst;
|
---|
389 | char *vs_comment;
|
---|
390 | }
|
---|
391 | XF86ConfVendSubRec, *XF86ConfVendSubPtr;
|
---|
392 |
|
---|
393 | typedef struct
|
---|
394 | {
|
---|
395 | GenericListRec list;
|
---|
396 | char *vnd_identifier;
|
---|
397 | XF86OptionPtr vnd_option_lst;
|
---|
398 | XF86ConfVendSubPtr vnd_sub_lst;
|
---|
399 | char *vnd_comment;
|
---|
400 | }
|
---|
401 | XF86ConfVendorRec, *XF86ConfVendorPtr;
|
---|
402 |
|
---|
403 | typedef struct
|
---|
404 | {
|
---|
405 | GenericListRec list;
|
---|
406 | int buf_count;
|
---|
407 | int buf_size;
|
---|
408 | char *buf_flags;
|
---|
409 | char *buf_comment;
|
---|
410 | }
|
---|
411 | XF86ConfBuffersRec, *XF86ConfBuffersPtr;
|
---|
412 |
|
---|
413 | typedef struct
|
---|
414 | {
|
---|
415 | char *dri_group_name;
|
---|
416 | int dri_group;
|
---|
417 | int dri_mode;
|
---|
418 | XF86ConfBuffersPtr dri_buffers_lst;
|
---|
419 | char *dri_comment;
|
---|
420 | }
|
---|
421 | XF86ConfDRIRec, *XF86ConfDRIPtr;
|
---|
422 |
|
---|
423 | typedef struct
|
---|
424 | {
|
---|
425 | XF86OptionPtr ext_option_lst;
|
---|
426 | char *extensions_comment;
|
---|
427 | }
|
---|
428 | XF86ConfExtensionsRec, *XF86ConfExtensionsPtr;
|
---|
429 |
|
---|
430 | typedef struct
|
---|
431 | {
|
---|
432 | XF86ConfFilesPtr conf_files;
|
---|
433 | XF86ConfModulePtr conf_modules;
|
---|
434 | XF86ConfFlagsPtr conf_flags;
|
---|
435 | XF86ConfVideoAdaptorPtr conf_videoadaptor_lst;
|
---|
436 | XF86ConfModesPtr conf_modes_lst;
|
---|
437 | XF86ConfMonitorPtr conf_monitor_lst;
|
---|
438 | XF86ConfDevicePtr conf_device_lst;
|
---|
439 | XF86ConfScreenPtr conf_screen_lst;
|
---|
440 | XF86ConfInputPtr conf_input_lst;
|
---|
441 | XF86ConfLayoutPtr conf_layout_lst;
|
---|
442 | XF86ConfVendorPtr conf_vendor_lst;
|
---|
443 | XF86ConfDRIPtr conf_dri;
|
---|
444 | XF86ConfExtensionsPtr conf_extensions;
|
---|
445 | char *conf_comment;
|
---|
446 | }
|
---|
447 | XF86ConfigRec, *XF86ConfigPtr;
|
---|
448 |
|
---|
449 | typedef struct
|
---|
450 | {
|
---|
451 | int token; /* id of the token */
|
---|
452 | char *name; /* pointer to the LOWERCASED name */
|
---|
453 | }
|
---|
454 | xf86ConfigSymTabRec, *xf86ConfigSymTabPtr;
|
---|
455 |
|
---|
456 | /*
|
---|
457 | * prototypes for public functions
|
---|
458 | */
|
---|
459 | extern _X_EXPORT const char *xf86openConfigFile (const char *, const char *,
|
---|
460 | const char *);
|
---|
461 | extern _X_EXPORT void xf86setBuiltinConfig(const char *config[]);
|
---|
462 | extern _X_EXPORT XF86ConfigPtr xf86readConfigFile (void);
|
---|
463 | extern _X_EXPORT void xf86closeConfigFile (void);
|
---|
464 | extern _X_EXPORT void xf86freeConfig (XF86ConfigPtr p);
|
---|
465 | extern _X_EXPORT int xf86writeConfigFile (const char *, XF86ConfigPtr);
|
---|
466 | extern _X_EXPORT XF86ConfDevicePtr xf86findDevice(const char *ident, XF86ConfDevicePtr p);
|
---|
467 | extern _X_EXPORT XF86ConfLayoutPtr xf86findLayout(const char *name, XF86ConfLayoutPtr list);
|
---|
468 | extern _X_EXPORT XF86ConfMonitorPtr xf86findMonitor(const char *ident, XF86ConfMonitorPtr p);
|
---|
469 | extern _X_EXPORT XF86ConfModesPtr xf86findModes(const char *ident, XF86ConfModesPtr p);
|
---|
470 | extern _X_EXPORT XF86ConfModeLinePtr xf86findModeLine(const char *ident, XF86ConfModeLinePtr p);
|
---|
471 | extern _X_EXPORT XF86ConfScreenPtr xf86findScreen(const char *ident, XF86ConfScreenPtr p);
|
---|
472 | extern _X_EXPORT XF86ConfInputPtr xf86findInput(const char *ident, XF86ConfInputPtr p);
|
---|
473 | extern _X_EXPORT XF86ConfInputPtr xf86findInputByDriver(const char *driver, XF86ConfInputPtr p);
|
---|
474 | extern _X_EXPORT XF86ConfVideoAdaptorPtr xf86findVideoAdaptor(const char *ident,
|
---|
475 | XF86ConfVideoAdaptorPtr p);
|
---|
476 |
|
---|
477 | extern _X_EXPORT GenericListPtr xf86addListItem(GenericListPtr head, GenericListPtr c_new);
|
---|
478 | extern _X_EXPORT int xf86itemNotSublist(GenericListPtr list_1, GenericListPtr list_2);
|
---|
479 |
|
---|
480 | extern _X_EXPORT int xf86pathIsAbsolute(const char *path);
|
---|
481 | extern _X_EXPORT int xf86pathIsSafe(const char *path);
|
---|
482 | extern _X_EXPORT char *xf86addComment(char *cur, char *add);
|
---|
483 |
|
---|
484 | #endif /* _xf86Parser_h_ */
|
---|