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# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23*2264Sjacobs# Use is subject to license terms. 24*2264Sjacobs# 25*2264Sjacobs#ident "%Z%%M% %I% %E% SMI" 26*2264Sjacobs# 27*2264Sjacobs# Generic interface definition for usr/src/lib/print. 28*2264Sjacobs# 29*2264Sjacobs# For information regarding the establishment of versioned definitions see: 30*2264Sjacobs# The Linker and Libraries Manual (version 2.5 or greater) 31*2264Sjacobs# This is part of the Developers Guide in the Answerbook. Specifically refer 32*2264Sjacobs# to Chapter 2 under section "Defining Additional Symbols" through section 33*2264Sjacobs# "Reducing Symbol Scope", and Chapter 5 "Versioning". 34*2264Sjacobs# 35*2264Sjacobs# For specific OSNET rules for the modification (evolution) of these version 36*2264Sjacobs# definitions see: 37*2264Sjacobs# Policy for Shared Library Version Names and Interface Definitions 38*2264Sjacobs 39*2264Sjacobs 40*2264SjacobsSUNWprivate_2.1 { 41*2264Sjacobs global: 42*2264Sjacobs getprinterbyname; # NSS support 43*2264Sjacobs getprinterentry; 44*2264Sjacobs setprinterentry; 45*2264Sjacobs endprinterentry; 46*2264Sjacobs 47*2264Sjacobs ns_printer_create; # Old NS support 48*2264Sjacobs ns_printer_get_name; 49*2264Sjacobs ns_printer_get_list; 50*2264Sjacobs ns_printer_put; 51*2264Sjacobs ns_printer_destroy; 52*2264Sjacobs ns_get_value; 53*2264Sjacobs ns_get_value_string; 54*2264Sjacobs ns_set_value; 55*2264Sjacobs ns_set_value_from_string; 56*2264Sjacobs ns_kvp_create; 57*2264Sjacobs ns_bsd_addr_get_default; 58*2264Sjacobs ns_bsd_addr_get_name; 59*2264Sjacobs ns_bsd_addr_get_all; 60*2264Sjacobs ns_bsd_addr_get_list; 61*2264Sjacobs string_to_bsd_addr; 62*2264Sjacobs bsd_addr_create; 63*2264Sjacobs ns_printer_match_name; 64*2264Sjacobs ns_printer_name_list; 65*2264Sjacobs value_to_string; 66*2264Sjacobs string_to_value; 67*2264Sjacobs normalize_ns_name; 68*2264Sjacobs 69*2264Sjacobs list_append; # list support 70*2264Sjacobs list_append_unique; 71*2264Sjacobs list_concatenate; 72*2264Sjacobs list_locate; 73*2264Sjacobs list_iterate; 74*2264Sjacobs 75*2264Sjacobs job_free; # job support 76*2264Sjacobs job_destroy; 77*2264Sjacobs job_retrieve; 78*2264Sjacobs job_list_append; 79*2264Sjacobs vjob_match_attribute; 80*2264Sjacobs vjob_cancel; 81*2264Sjacobs 82*2264Sjacobs net_open; # net support 83*2264Sjacobs net_close; 84*2264Sjacobs net_read; 85*2264Sjacobs net_write; 86*2264Sjacobs net_printf; 87*2264Sjacobs net_gets; 88*2264Sjacobs net_send_message; 89*2264Sjacobs net_response; 90*2264Sjacobs net_send_file; 91*2264Sjacobs 92*2264Sjacobs check_client_spool; # misc support 93*2264Sjacobs get_lock; 94*2264Sjacobs get_user_id; 95*2264Sjacobs get_user_name; 96*2264Sjacobs strcdup; 97*2264Sjacobs strndup; 98*2264Sjacobs strsplit; 99*2264Sjacobs file_size; 100*2264Sjacobs copy_file; 101*2264Sjacobs map_in_file; 102*2264Sjacobs write_buffer; 103*2264Sjacobs start_daemon; 104*2264Sjacobs 105*2264Sjacobs files_put_printer; # required for ns_put_printer() 106*2264Sjacobs nis_put_printer; 107*2264Sjacobs nisplus_put_printer; 108*2264Sjacobs ldap_put_printer; 109*2264Sjacobs 110*2264Sjacobs local: 111*2264Sjacobs *; 112*2264Sjacobs}; 113