xref: /titanic_44/usr/src/lib/print/libpapi-common/common/config-site.h (revision 49b225e1cfa7bbf7738d4df0a03f18e3283426eb)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License (the "License").
6  * You may not use this file except in compliance with the License.
7  *
8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9  * or http://www.opensolaris.org/os/licensing.
10  * See the License for the specific language governing permissions
11  * and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL HEADER in each
14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15  * If applicable, add the following below this CDDL HEADER, with the
16  * fields enclosed by brackets "[]" replaced with your own identifying
17  * information: Portions Copyright [yyyy] [name of copyright owner]
18  *
19  * CDDL HEADER END
20  */
21 
22 /*
23  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
24  * Use is subject to license terms.
25  *
26  */
27 
28 #ifndef _CONFIG_SITE_H
29 #define	_CONFIG_SITE_H
30 
31 /* $Id: config-site.h.in 171 2006-05-20 06:00:32Z njacobs $ */
32 
33 #pragma ident	"%Z%%M%	%I%	%E% SMI"
34 
35 #include <config.h>
36 
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
40 
41 /* the "default" destination for various commands and libraries */
42 #define DEFAULT_DEST	"_default"
43 
44 /* the "default" server uri to fallback to */
45 #define DEFAULT_SERVICE_URI	"lpsched://localhost/printers"
46 
47 /* the "default" IPP service to fallback to in the IPP psm */
48 #define DEFAULT_IPP_SERVICE_URI	"ipp://localhost/printers"
49 
50 /* the name of the SUID lpd-port binary that hands psm-lpd a connected socket */
51 #define SUID_LPD_PORT	    "/usr/lib/print/lpd-port"
52 
53 /* enable/disable printer-uri in enumeration results */
54 #define NEED_BROKEN_PRINTER_URI_SEMANTIC
55 
56 #ifdef __cplusplus
57 }
58 #endif
59 
60 #endif /* _CONFIG_SITE_H */
61