# # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License (the "License"). # You may not use this file except in compliance with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # # # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # #ident "%Z%%M% %I% %E% SMI" # # lib/libtsnet/spec/tsnet.spec # function tsol_gettpbyname include declaration tsol_tpent_t *tsol_gettpbyname(const char *name); version SUNWprivate_1.1 exception $return == 0 end function tsol_gettpent include declaration tsol_tpent_t *tsol_gettpent(void); version SUNWprivate_1.1 exception $return == 0 end function tsol_fgettpent include declaration tsol_tpent_t *tsol_gettpent(FILE *); version SUNWprivate_1.1 exception $return == 0 end function tsol_freetpent include declaration void tsol_freetpent(tsol_tpent_t *); version SUNWprivate_1.1 exception $return == 0 end function tsol_settpent include declaration void tsol_settpent(int stay); version SUNWprivate_1.1 end function tsol_endtpent include declaration void tsol_endtpent(void); version SUNWprivate_1.1 end function str_to_tpstr include declaration int str_to_tpstr(const char *, int, void *, char *, int); version SUNWprivate_1.1 end function tpstr_to_ent include declaration tsol_tpent_t *tpstr_to_ent(tsol_tpstr_t *, int *, char **); version SUNWprivate_1.1 end function tsol_getrhbyaddr include declaration tsol_rhent_t *tsol_getrhbyaddr(const void *addr, size_t len, \ int type); version SUNWprivate_1.1 exception $return == 0 end function tsol_getrhent include declaration tsol_rhent_t *tsol_getrhent(void); version SUNWprivate_1.1 exception $return == 0 end function tsol_fgetrhent include declaration tsol_rhent_t *tsol_getrhent(FILE *); version SUNWprivate_1.1 exception $return == 0 end function tsol_freerhent include declaration void tsol_freerhent(tsol_rhent_t *); version SUNWprivate_1.1 exception $return == 0 end function tsol_setrhent include declaration void tsol_setrhent(int stay); version SUNWprivate_1.1 end function tsol_endrhent include declaration void tsol_endrhent(void); version SUNWprivate_1.1 end function str_to_rhstr include declaration int str_to_rhstr(const char *, int, void *, char *, int); version SUNWprivate_1.1 end function rhstr_to_ent include declaration tsol_rhent_t *rhstr_to_ent(tsol_rhstr_t *, int *, char **); version SUNWprivate_1.1 end function tsol_getrhtype include declaration tsol_host_type_t tsol_getrhtype(char *); version SUNWprivate_1.1 end function tsol_sgetzcent include declaration tsol_zcent_t *tsol_sgetzcent(const char *instr, int *errp, \ char **errstrp); version SUNWprivate_1.1 exception $return == 0 end function tsol_freezcent include declaration void tsol_freezcent(tsol_zcent_t *); version SUNWprivate_1.1 exception $return == 0 end function sl_to_str include declaration const char *sl_to_str(const bslabel_t *sl); version SUNWprivate_1.1 end function rtsa_to_str include declaration const char *rtsa_to_str(const struct rtsa_s *rtsa, \ char *line, size_t len); version SUNWprivate_1.1 exception $return == 0 end function rtsa_keyword include declaration boolean_t rtsa_keyword(const char *opt, struct rtsa_s *rtsa, \ int *errp, char **errstr); version SUNWprivate_1.1 exception $return == 0 end function tsol_strerror include declaration const char *tsol_strerror(int libtserr, int errnoval); version SUNWprivate_1.1 end function tnrhtp include declaration int tnrhtp(int cmd, tsol_tpent_t *buf); version SUNWprivate_1.1 errno ENOSYS EFAULT EINVAL ENOENT EOPNOTSUPP EPERM exception $return == -1 end function tnrh include declaration int tnrh(int cmd, tsol_rhent_t *buf); version SUNWprivate_1.1 errno ENOSYS EFAULT EINVAL ENOENT EOPNOTSUPP EPERM ENOMEM exception $return == -1 end function tnmlp include declaration int tnmlp(int cmd, tsol_mlpent_t *buf); version SUNWprivate_1.1 errno ENOSYS EFAULT EINVAL ENOENT EEXIST EOPNOTSUPP EPERM exception $return == -1 end