]>
git.ipfire.org Git - thirdparty/cups.git/blob - vcnet/config.h
2 * "$Id: config.h 6189 2007-01-10 16:30:34Z mike $"
4 * Configuration file for the Common UNIX Printing System (CUPS).
6 * Copyright 1997-2007 by Easy Software Products.
8 * These coded instructions, statements, and computer programs are the
9 * property of Easy Software Products and are protected by Federal
10 * copyright law. Distribution and use rights are outlined in the file
11 * "LICENSE.txt" which should have been included with this file. If this
12 * file is missing or damaged please contact Easy Software Products
15 * Attn: CUPS Licensing Information
16 * Easy Software Products
17 * 44141 Airport View Drive, Suite 204
18 * Hollywood, Maryland 20636 USA
20 * Voice: (301) 373-9600
21 * EMail: cups-info@cups.org
22 * WWW: http://www.cups.org
25 #ifndef _CUPS_CONFIG_H_
26 #define _CUPS_CONFIG_H_
33 #undef __CHAR_UNSIGNED__
37 * Version of software...
40 #define CUPS_SVERSION "CUPS v1.2.8"
41 #define CUPS_MINIMAL "CUPS/1.2.8"
45 * Default user and groups...
48 #define CUPS_DEFAULT_USER "lp"
49 #define CUPS_DEFAULT_GROUP "lp"
50 #define CUPS_DEFAULT_SYSTEM_GROUPS "sys root"
54 * Default file permissions...
57 #define CUPS_DEFAULT_CONFIG_FILE_PERM 0640
58 #define CUPS_DEFAULT_LOG_FILE_PERM 0644
62 * Default browsing settings...
65 #define CUPS_DEFAULT_BROWSING 1
66 #define CUPS_DEFAULT_BROWSE_LOCAL_PROTOCOLS "CUPS"
67 #define CUPS_DEFAULT_BROWSE_REMOTE_PROTOCOLS "CUPS"
68 #define CUPS_DEFAULT_BROWSE_SHORT_NAMES 1
69 #define CUPS_DEFAULT_DEFAULT_SHARED 1
70 #define CUPS_DEFAULT_IMPLICIT_CLASSES 1
71 #define CUPS_DEFAULT_USE_NETWORK_DEFAULT 1
78 #define CUPS_DEFAULT_IPP_PORT 631
82 * Maximum number of file descriptors to support.
85 #define CUPS_MAX_FDS 4096
89 * Do we have domain socket support?
92 #undef CUPS_DEFAULT_DOMAINSOCKET
96 * Where are files stored?
98 * Note: These are defaults, which can be overridden by environment
99 * variables at run-time...
102 #define CUPS_CACHEDIR "C:/CUPS/cache"
103 #define CUPS_DATADIR "C:/CUPS/share"
104 #define CUPS_DOCROOT "C:/CUPS/share/doc"
105 #define CUPS_FONTPATH "C:/CUPS/share/fonts"
106 #define CUPS_LOCALEDIR "C:/CUPS/locale"
107 #define CUPS_LOGDIR "C:/CUPS/logs"
108 #define CUPS_REQUESTS "C:/CUPS/spool"
109 #define CUPS_SERVERBIN "C:/CUPS/lib"
110 #define CUPS_SERVERROOT "C:/CUPS/etc"
111 #define CUPS_STATEDIR "C:/CUPS/run"
115 * Do we have various image libraries?
125 * Do we have PAM stuff?
129 #define HAVE_LIBPAM 0
130 #endif /* !HAVE_LIBPAM */
132 #undef HAVE_PAM_PAM_APPL_H
136 * Do we have <shadow.h>?
143 * Do we have <crypt.h>?
150 * Do we have <scsi/sg.h>?
153 #undef HAVE_SCSI_SG_H
157 * Use <string.h>, <strings.h>, and/or <bstring.h>?
160 #define HAVE_STRING_H
161 #undef HAVE_STRINGS_H
162 #undef HAVE_BSTRING_H
166 * Do we have the long long type?
169 #undef HAVE_LONG_LONG
171 #ifdef HAVE_LONG_LONG
172 # define CUPS_LLFMT "%lld"
173 # define CUPS_LLCAST (long long)
175 # define CUPS_LLFMT "%ld"
176 # define CUPS_LLCAST (long)
177 #endif /* HAVE_LONG_LONG */
181 * Do we have the strtoll() function?
187 # define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
188 #endif /* !HAVE_STRTOLL */
192 * Do we have the strXXX() functions?
196 #define HAVE_STRCASECMP
197 #define HAVE_STRNCASECMP
203 * Do we have the geteuid() function?
210 * Do we have the vsyslog() function?
217 * Do we have the (v)snprintf() functions?
221 #undef HAVE_VSNPRINTF
225 * What signal functions to use?
229 #undef HAVE_SIGACTION
233 * What wait functions to use?
241 * Do we have the mallinfo function and malloc.h?
249 * Do we have the POSIX ACL functions?
256 * Do we have the langinfo.h header file?
259 #undef HAVE_LANGINFO_H
263 * Which encryption libraries do we have?
268 #define HAVE_LIBSSL 1
273 * Do we have the OpenSLP library?
280 * Do we have an LDAP library?
288 * Do we have libpaper?
295 * Do we have <sys/ioctl.h>?
298 #undef HAVE_SYS_IOCTL_H
302 * Do we have mkstemp() and/or mkstemps()?
310 * Does the "tm" structure contain the "tm_gmtoff" member?
313 #undef HAVE_TM_GMTOFF
317 * Do we have rresvport_af()?
320 #undef HAVE_RRESVPORT_AF
324 * Do we have getaddrinfo()?
327 #define HAVE_GETADDRINFO
331 * Do we have getnameinfo()?
334 #define HAVE_GETNAMEINFO
338 * Do we have getifaddrs()?
341 #undef HAVE_GETIFADDRS
345 * Do we have hstrerror()?
348 #undef HAVE_HSTRERROR
352 * Do we have the <sys/sockio.h> header file?
355 #undef HAVE_SYS_SOCKIO_H
359 * Does the sockaddr structure contain an sa_len parameter?
362 #undef HAVE_STRUCT_SOCKADDR_SA_LEN
366 * Do we have the AIX usersec.h header file?
369 #undef HAVE_USERSEC_H
372 * Do we have pthread support?
375 #undef HAVE_PTHREAD_H
379 * Do we have launchd support?
382 /* #undef HAVE_LAUNCH_H */
383 /* #undef HAVE_LAUNCHD */
384 #define CUPS_DEFAULT_LAUNCHD_CONF ""
388 * Various scripting languages...
392 #define CUPS_JAVA "/usr/bin/java"
394 #define CUPS_PERL "/usr/bin/perl"
396 #define CUPS_PHP "/usr/bin/php"
398 #define CUPS_PYTHON "/usr/bin/python"
402 * Do we have Darwin's CoreFoundation and SystemConfiguration frameworks?
405 /* #undef HAVE_COREFOUNDATION */
406 /* #undef HAVE_SYSTEMCONFIGURATION */
410 * Do we have CoreFoundation public and private headers?
413 /* #undef HAVE_COREFOUNDATION_H */
414 /* #undef HAVE_CFPRIV_H */
415 /* #undef HAVE_CFBUNDLEPRIV_H */
419 * Do we have CFLocaleCreateCanonicalLocaleIdentifierFromString()?
422 /* #undef HAVE_CF_LOCALE_ID */
426 * Do we have MacOSX 10.4's mbr_XXX functions()?
429 /* #undef HAVE_MEMBERSHIP_H */
430 /* #undef HAVE_MBR_UID_TO_UUID */
434 * Do we have Darwin's notify_post() header and function?
437 /* #undef HAVE_NOTIFY_H */
438 /* #undef HAVE_NOTIFY_POST */
445 /* #undef HAVE_DBUS */
446 /* #undef HAVE_DBUS_MESSAGE_ITER_INIT_APPEND */
450 * Do we have the AppleTalk/at_proto.h header?
453 /* #undef HAVE_APPLETALK_AT_PROTO_H */
456 #endif /* !_CUPS_CONFIG_H_ */
459 * End of "$Id: config.h 6189 2007-01-10 16:30:34Z mike $".