]>
git.ipfire.org Git - thirdparty/cups.git/blob - scheduler/conf.h
2 * "$Id: conf.h,v 1.19 2000/01/04 13:46:09 mike Exp $"
4 * Configuration file definitions for the Common UNIX Printing System (CUPS)
7 * Copyright 1997-2000 by Easy Software Products, all rights reserved.
9 * These coded instructions, statements, and computer programs are the
10 * property of Easy Software Products and are protected by Federal
11 * copyright law. Distribution and use rights are outlined in the file
12 * "LICENSE.txt" which should have been included with this file. If this
13 * file is missing or damaged please contact Easy Software Products
16 * Attn: CUPS Licensing Information
17 * Easy Software Products
18 * 44141 Airport View Drive, Suite 204
19 * Hollywood, Maryland 20636-3111 USA
21 * Voice: (301) 373-9603
22 * EMail: cups-info@cups.org
23 * WWW: http://www.cups.org
30 #define LOG_PAGE -1 /* Used internally for page logging */
42 VAR
char ConfigurationFile
[256] VALUE(CUPS_SERVERROOT
"/cupsd.conf"),
43 /* Configuration file to use */
44 ServerName
[256] VALUE(""),
46 ServerAdmin
[256] VALUE(""),
47 /* Administrator's email */
48 ServerRoot
[1024] VALUE(CUPS_SERVERROOT
),
49 /* Root directory for scheduler */
50 ServerBin
[1024] VALUE(CUPS_SERVERBIN
),
51 /* Root directory for binaries */
52 RequestRoot
[1024] VALUE(CUPS_REQUESTS
),
53 /* Directory for request files */
54 DocumentRoot
[1024] VALUE(CUPS_DOCROOT
),
55 /* Root directory for documents */
57 /* System group name */
58 AccessLog
[1024] VALUE(CUPS_LOGDIR
"/access_log"),
59 /* Access log filename */
60 ErrorLog
[1024] VALUE(CUPS_LOGDIR
"/error_log"),
61 /* Error log filename */
62 PageLog
[1024] VALUE(CUPS_LOGDIR
"/page_log"),
63 /* Page log filename */
64 DefaultLanguage
[32] VALUE("C"),
65 /* Default language encoding */
66 DefaultCharset
[32] VALUE(DEFAULT_CHARSET
),
68 RIPCache
[32] VALUE("8m"),
69 /* Amount of memory for RIPs */
70 TempDir
[32] VALUE("/var/tmp");
71 /* Temporary directory */
72 VAR
int User
VALUE(1),
73 /* User ID for server */
75 /* Group ID for server */
76 LogLevel
VALUE(LOG_ERROR
),
79 /* Maximum number of clients */
80 MaxLogSize
VALUE(1024 * 1024),
81 /* Maximum size of log files */
82 MaxRequestSize
VALUE(0),
83 /* Maximum size of IPP requests */
84 HostNameLookups
VALUE(FALSE
),
85 /* Do we do reverse lookups? */
86 Timeout
VALUE(DEFAULT_TIMEOUT
),
87 /* Timeout during requests */
88 KeepAlive
VALUE(TRUE
),
89 /* Support the Keep-Alive option? */
90 KeepAliveTimeout
VALUE(DEFAULT_KEEPALIVE
),
91 /* Timeout between requests */
92 ImplicitClasses
VALUE(TRUE
);
93 /* Are classes implicitly created? */
94 VAR
FILE *AccessFile
VALUE(NULL
),
96 *ErrorFile
VALUE(NULL
),
98 *PageFile
VALUE(NULL
);
100 VAR mime_t
*MimeDatabase
VALUE(NULL
);
101 /* MIME type database */
108 extern int ReadConfiguration(void);
109 extern int LogRequest(client_t
*con
, http_status_t code
);
110 extern int LogMessage(int level
, char *message
, ...);
111 extern int LogPage(job_t
*job
, char *page
);
115 * End of "$Id: conf.h,v 1.19 2000/01/04 13:46:09 mike Exp $".