xref: /titanic_50/usr/src/lib/print/libprint/common/mapfile-vers (revision 080575042aba2197b425ebfd52061dea061a9aa1)
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 2006 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		job_free;			# job support
76		job_destroy;
77		job_retrieve;
78		job_list_append;
79		vjob_match_attribute;
80		vjob_cancel;
81
82		net_open;			# net support
83		net_close;
84		net_read;
85		net_write;
86		net_printf;
87		net_gets;
88		net_send_message;
89		net_response;
90		net_send_file;
91
92		check_client_spool;		# misc support
93		get_lock;
94		get_user_id;
95		get_user_name;
96		strcdup;
97		strndup;
98		strsplit;
99		file_size;
100		copy_file;
101		map_in_file;
102		write_buffer;
103		start_daemon;
104
105		files_put_printer;		# required for ns_put_printer()
106		nis_put_printer;
107		nisplus_put_printer;
108		ldap_put_printer;
109
110	local:
111		*;
112};
113