17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
5355b4669Sjacobs# Common Development and Distribution License (the "License").
6355b4669Sjacobs# You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate# and limitations under the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
197c478bd9Sstevel@tonic-gate# CDDL HEADER END
207c478bd9Sstevel@tonic-gate#
21355b4669Sjacobs#
22*cd3e9333SAli Bahrami# Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
23355b4669Sjacobs#
24bfed486aSAli Bahrami
25355b4669Sjacobs#
26bfed486aSAli Bahrami# MAPFILE HEADER START
27bfed486aSAli Bahrami#
28bfed486aSAli Bahrami# WARNING:  STOP NOW.  DO NOT MODIFY THIS FILE.
29bfed486aSAli Bahrami# Object versioning must comply with the rules detailed in
30bfed486aSAli Bahrami#
31bfed486aSAli Bahrami#	usr/src/lib/README.mapfiles
327c478bd9Sstevel@tonic-gate#
33bfed486aSAli Bahrami# You should not be making modifications here until you've read the most current
34bfed486aSAli Bahrami# copy of that file. If you need help, contact a gatekeeper for guidance.
35bfed486aSAli Bahrami#
36bfed486aSAli Bahrami# MAPFILE HEADER END
377c478bd9Sstevel@tonic-gate#
387c478bd9Sstevel@tonic-gate
39*cd3e9333SAli Bahrami$mapfile_version 2
40*cd3e9333SAli Bahrami
41bfed486aSAli Bahrami#
42bfed486aSAli Bahrami# Generic interface definition for usr/src/lib/print.
43bfed486aSAli Bahrami#
447c478bd9Sstevel@tonic-gate
45*cd3e9333SAli BahramiSYMBOL_VERSION SUNWprivate_2.1 {
467c478bd9Sstevel@tonic-gate	global:
477c478bd9Sstevel@tonic-gate		getprinterbyname;		# NSS support
487c478bd9Sstevel@tonic-gate		getprinterentry;
497c478bd9Sstevel@tonic-gate		setprinterentry;
507c478bd9Sstevel@tonic-gate		endprinterentry;
517c478bd9Sstevel@tonic-gate
527c478bd9Sstevel@tonic-gate		ns_printer_create;		# Old NS support
537c478bd9Sstevel@tonic-gate		ns_printer_get_name;
547c478bd9Sstevel@tonic-gate		ns_printer_get_list;
557c478bd9Sstevel@tonic-gate		ns_printer_put;
567c478bd9Sstevel@tonic-gate		ns_printer_destroy;
577c478bd9Sstevel@tonic-gate		ns_get_value;
587c478bd9Sstevel@tonic-gate		ns_get_value_string;
597c478bd9Sstevel@tonic-gate		ns_set_value;
607c478bd9Sstevel@tonic-gate		ns_set_value_from_string;
617c478bd9Sstevel@tonic-gate		ns_kvp_create;
627c478bd9Sstevel@tonic-gate		ns_bsd_addr_get_default;
637c478bd9Sstevel@tonic-gate		ns_bsd_addr_get_name;
647c478bd9Sstevel@tonic-gate		ns_bsd_addr_get_all;
657c478bd9Sstevel@tonic-gate		ns_bsd_addr_get_list;
667c478bd9Sstevel@tonic-gate		string_to_bsd_addr;
677c478bd9Sstevel@tonic-gate		bsd_addr_create;
687c478bd9Sstevel@tonic-gate		ns_printer_match_name;
697c478bd9Sstevel@tonic-gate		ns_printer_name_list;
707c478bd9Sstevel@tonic-gate		value_to_string;
717c478bd9Sstevel@tonic-gate		string_to_value;
727c478bd9Sstevel@tonic-gate		normalize_ns_name;
737c478bd9Sstevel@tonic-gate
747c478bd9Sstevel@tonic-gate		list_append;			# list support
757c478bd9Sstevel@tonic-gate		list_append_unique;
767c478bd9Sstevel@tonic-gate		list_concatenate;
777c478bd9Sstevel@tonic-gate		list_locate;
787c478bd9Sstevel@tonic-gate		list_iterate;
797c478bd9Sstevel@tonic-gate
807c478bd9Sstevel@tonic-gate		files_put_printer;		# required for ns_put_printer()
817c478bd9Sstevel@tonic-gate		nis_put_printer;
827c478bd9Sstevel@tonic-gate		ldap_put_printer;
837c478bd9Sstevel@tonic-gate
847c478bd9Sstevel@tonic-gate	local:
857c478bd9Sstevel@tonic-gate		*;
867c478bd9Sstevel@tonic-gate};
87