xref: /illumos-gate/usr/src/lib/print/libpapi-common/common/config-site.h (revision 533affcbc7fc4d0c8132976ea454aaa715fe2307)
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 #include <config.h>
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
39 /* the "default" destination for various commands and libraries */
40 #define DEFAULT_DEST	"_default"
41 
42 /* the "default" server uri to fallback to */
43 #define DEFAULT_SERVICE_URI	"lpsched://localhost/printers"
44 
45 /* the "default" IPP service to fallback to in the IPP psm */
46 #define DEFAULT_IPP_SERVICE_URI	"ipp://localhost/printers"
47 
48 /* the name of the SUID lpd-port binary that hands psm-lpd a connected socket */
49 #define SUID_LPD_PORT	    "/usr/lib/print/lpd-port"
50 
51 /* enable/disable printer-uri in enumeration results */
52 #define NEED_BROKEN_PRINTER_URI_SEMANTIC
53 
54 #ifdef __cplusplus
55 }
56 #endif
57 
58 #endif /* _CONFIG_SITE_H */
59