1*355b4669Sjacobs# 2*355b4669Sjacobs# CDDL HEADER START 3*355b4669Sjacobs# 4*355b4669Sjacobs# The contents of this file are subject to the terms of the 5*355b4669Sjacobs# Common Development and Distribution License (the "License"). 6*355b4669Sjacobs# You may not use this file except in compliance with the License. 7*355b4669Sjacobs# 8*355b4669Sjacobs# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*355b4669Sjacobs# or http://www.opensolaris.org/os/licensing. 10*355b4669Sjacobs# See the License for the specific language governing permissions 11*355b4669Sjacobs# and limitations under the License. 12*355b4669Sjacobs# 13*355b4669Sjacobs# When distributing Covered Code, include this CDDL HEADER in each 14*355b4669Sjacobs# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*355b4669Sjacobs# If applicable, add the following below this CDDL HEADER, with the 16*355b4669Sjacobs# fields enclosed by brackets "[]" replaced with your own identifying 17*355b4669Sjacobs# information: Portions Copyright [yyyy] [name of copyright owner] 18*355b4669Sjacobs# 19*355b4669Sjacobs# CDDL HEADER END 20*355b4669Sjacobs# 21*355b4669Sjacobs# 22*355b4669Sjacobs# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23*355b4669Sjacobs# Use is subject to license terms. 24*355b4669Sjacobs# 25*355b4669Sjacobs#ident "%Z%%M% %I% %E% SMI" 26*355b4669Sjacobs# 27*355b4669Sjacobs# Generic interface definition for usr/src/lib/print. 28*355b4669Sjacobs# 29*355b4669Sjacobs# For information regarding the establishment of versioned definitions see: 30*355b4669Sjacobs# The Linker and Libraries Manual (version 2.5 or greater) 31*355b4669Sjacobs# This is part of the Developers Guide in the Answerbook. Specifically refer 32*355b4669Sjacobs# to Chapter 2 under section "Defining Additional Symbols" through section 33*355b4669Sjacobs# "Reducing Symbol Scope", and Chapter 5 "Versioning". 34*355b4669Sjacobs# 35*355b4669Sjacobs# For specific OSNET rules for the modification (evolution) of these version 36*355b4669Sjacobs# definitions see: 37*355b4669Sjacobs# Policy for Shared Library Version Names and Interface Definitions 38*355b4669Sjacobs 39*355b4669Sjacobs 40*355b4669SjacobsSUNWprivate_2.1 { 41*355b4669Sjacobs global: 42*355b4669Sjacobs getprinterbyname; # NSS support 43*355b4669Sjacobs getprinterentry; 44*355b4669Sjacobs setprinterentry; 45*355b4669Sjacobs endprinterentry; 46*355b4669Sjacobs 47*355b4669Sjacobs ns_printer_create; # Old NS support 48*355b4669Sjacobs ns_printer_get_name; 49*355b4669Sjacobs ns_printer_get_list; 50*355b4669Sjacobs ns_printer_put; 51*355b4669Sjacobs ns_printer_destroy; 52*355b4669Sjacobs ns_get_value; 53*355b4669Sjacobs ns_get_value_string; 54*355b4669Sjacobs ns_set_value; 55*355b4669Sjacobs ns_set_value_from_string; 56*355b4669Sjacobs ns_kvp_create; 57*355b4669Sjacobs ns_bsd_addr_get_default; 58*355b4669Sjacobs ns_bsd_addr_get_name; 59*355b4669Sjacobs ns_bsd_addr_get_all; 60*355b4669Sjacobs ns_bsd_addr_get_list; 61*355b4669Sjacobs string_to_bsd_addr; 62*355b4669Sjacobs bsd_addr_create; 63*355b4669Sjacobs ns_printer_match_name; 64*355b4669Sjacobs ns_printer_name_list; 65*355b4669Sjacobs value_to_string; 66*355b4669Sjacobs string_to_value; 67*355b4669Sjacobs normalize_ns_name; 68*355b4669Sjacobs 69*355b4669Sjacobs list_append; # list support 70*355b4669Sjacobs list_append_unique; 71*355b4669Sjacobs list_concatenate; 72*355b4669Sjacobs list_locate; 73*355b4669Sjacobs list_iterate; 74*355b4669Sjacobs 75*355b4669Sjacobs job_free; # job support 76*355b4669Sjacobs job_destroy; 77*355b4669Sjacobs job_retrieve; 78*355b4669Sjacobs job_list_append; 79*355b4669Sjacobs vjob_match_attribute; 80*355b4669Sjacobs vjob_cancel; 81*355b4669Sjacobs 82*355b4669Sjacobs net_open; # net support 83*355b4669Sjacobs net_close; 84*355b4669Sjacobs net_read; 85*355b4669Sjacobs net_write; 86*355b4669Sjacobs net_printf; 87*355b4669Sjacobs net_gets; 88*355b4669Sjacobs net_send_message; 89*355b4669Sjacobs net_response; 90*355b4669Sjacobs net_send_file; 91*355b4669Sjacobs 92*355b4669Sjacobs check_client_spool; # misc support 93*355b4669Sjacobs get_lock; 94*355b4669Sjacobs get_user_id; 95*355b4669Sjacobs get_user_name; 96*355b4669Sjacobs strcdup; 97*355b4669Sjacobs strndup; 98*355b4669Sjacobs strsplit; 99*355b4669Sjacobs file_size; 100*355b4669Sjacobs copy_file; 101*355b4669Sjacobs map_in_file; 102*355b4669Sjacobs write_buffer; 103*355b4669Sjacobs start_daemon; 104*355b4669Sjacobs 105*355b4669Sjacobs files_put_printer; # required for ns_put_printer() 106*355b4669Sjacobs nis_put_printer; 107*355b4669Sjacobs nisplus_put_printer; 108*355b4669Sjacobs ldap_put_printer; 109*355b4669Sjacobs 110*355b4669Sjacobs local: 111*355b4669Sjacobs *; 112*355b4669Sjacobs}; 113