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