VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.1.0/spooler.h

Last change on this file was 51223, checked in by vboxsync, 11 years ago

Additions/x11/x11include: added header files for X.Org Server 1.0 and 1.1.

  • Property svn:eol-style set to native
File size: 2.5 KB
Line 
1
2#ifdef HAVE_DIX_CONFIG_H
3#include <dix-config.h>
4#endif
5
6#ifndef SPOOLER_H
7#define SPOOLER_H 1
8
9/* $Xorg: spooler.h,v 1.1 2003/09/14 1:19:56 gisburn Exp $ */
10/*
11Copyright (c) 2003-2004 Roland Mainz <[email protected]>
12
13Permission is hereby granted, free of charge, to any person obtaining a copy
14of this software and associated documentation files (the "Software"), to deal
15in the Software without restriction, including without limitation the rights
16to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
17copies of the Software, and to permit persons to whom the Software is
18furnished to do so, subject to the following conditions:
19
20The above copyright notice and this permission notice shall be included in
21all copies or substantial portions of the Software.
22
23THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
24IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
26COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
27IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
28CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29
30Except as contained in this notice, the names of the copyright holders shall
31not be used in advertising or otherwise to promote the sale, use or other
32dealings in this Software without prior written authorization from said
33copyright holders.
34*/
35
36/*
37 * Define platform-specific default spooler type
38 */
39#if defined(sun)
40#define XPDEFAULTSPOOLERNAMELIST "solaris"
41#elif defined(AIXV4)
42#define XPDEFAULTSPOOLERNAMELIST "aix4"
43#elif defined(hpux)
44#define XPDEFAULTSPOOLERNAMELIST "hpux"
45#elif defined(__osf__)
46#define XPDEFAULTSPOOLERNAMELIST "osf"
47#elif defined(__uxp__)
48#define XPDEFAULTSPOOLERNAMELIST "uxp"
49#elif defined(CSRG_BASED) || defined(linux)
50/* ToDo: This should be "cups:bsd" in the future, but for now
51 * the search order first-bsd-then-cups is better for backwards
52 * compatibility.
53 */
54#define XPDEFAULTSPOOLERNAMELIST "bsd:cups"
55#else
56#define XPDEFAULTSPOOLERNAMELIST "other"
57#endif
58
59typedef struct
60{
61 const char *name;
62 const char *list_queues_command;
63 const char *spool_command;
64} XpSpoolerType, *XpSpoolerTypePtr;
65
66/* prototypes */
67extern XpSpoolerTypePtr XpSpoolerNameToXpSpoolerType(char *name);
68extern void XpSetSpoolerTypeNameList(char *namelist);
69extern char *XpGetSpoolerTypeNameList(void);
70
71/* global vars */
72extern XpSpoolerTypePtr spooler_type;
73extern XpSpoolerType xpstm[];
74
75#endif /* !SPOOLER_H */
76
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