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# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25#ident	"%Z%%M%	%I%	%E% SMI"
26#
27# Generic interface definition for usr/src/lib/print.
28#
29# For information regarding the establishment of versioned definitions see:
30#	The Linker and Libraries Manual (version 2.5 or greater)
31# This is part of the Developers Guide in the Answerbook.  Specifically refer
32# to Chapter 2 under section "Defining Additional Symbols" through section
33# "Reducing Symbol Scope", and Chapter 5 "Versioning".
34#
35# For specific OSNET rules for the modification (evolution) of these version
36# definitions see:
37#	Policy for Shared Library Version Names and Interface Definitions
38
39
40SUNWprivate_2.1 {
41	global:
42		getprinterbyname;		# NSS support
43		getprinterentry;
44		setprinterentry;
45		endprinterentry;
46
47		ns_printer_create;		# Old NS support
48		ns_printer_get_name;
49		ns_printer_get_list;
50		ns_printer_put;
51		ns_printer_destroy;
52		ns_get_value;
53		ns_get_value_string;
54		ns_set_value;
55		ns_set_value_from_string;
56		ns_kvp_create;
57		ns_bsd_addr_get_default;
58		ns_bsd_addr_get_name;
59		ns_bsd_addr_get_all;
60		ns_bsd_addr_get_list;
61		string_to_bsd_addr;
62		bsd_addr_create;
63		ns_printer_match_name;
64		ns_printer_name_list;
65		value_to_string;
66		string_to_value;
67		normalize_ns_name;
68
69		list_append;			# list support
70		list_append_unique;
71		list_concatenate;
72		list_locate;
73		list_iterate;
74
75		files_put_printer;		# required for ns_put_printer()
76		nis_put_printer;
77		nisplus_put_printer;
78		ldap_put_printer;
79
80	local:
81		*;
82};
83