xref: /titanic_52/usr/src/man/man3lib/libnsl.3lib (revision 6a1af1a67532df169a657cce07140be64bdea084)
te
Copyright (c) 2004, Sun Microsystems, Inc. All rights reserved.
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]
libnsl 3LIB "24 Mar 2004" "SunOS 5.11" "Interface Libraries"
NAME
libnsl - network services library
SYNOPSIS

cc [ flag... ] file... -lnsl [ library... ]
DESCRIPTION

Functions in this library provide routines that provide a transport-level interface to networking services for applications, facilities for machine-independent data representation, a remote procedure call mechanism, and other networking services useful for application programs.

Some symbols are not intended to be referenced directly. Rather, they are exposed because they are used elsewhere through a private interface. One such example is the set of symbols beginning with the _xti prefix. Those symbols are used in implementing the X/Open Transport Interface (XTI) interfaces documented in libxnet. See libxnet(3LIB).

INTERFACES

The shared object libnsl.so.1 provides the public interfaces defined below. See Intro(3) for additional information on shared object interfaces.

__rpc_createerr__t_errno
_nderror_null_auth
_xti_accept_xti_alloc
_xti_bind_xti_close
_xti_connect_xti_error
_xti_free_xti_getinfo
_xti_getprotaddr_xti_getstate
_xti_listen_xti_look
_xti_open_xti_optmgmt
_xti_rcv_xti_rcvconnect
_xti_rcvdis_xti_rcvrel
_xti_rcvreldata_xti_rcvudata
_xti_rcvuderr_xti_rcvv
_xti_rcvvudata_xti_snd
_xti_snddis_xti_sndrel
_xti_sndreldata_xti_sndudata
_xti_sndv_xti_sndvudata
_xti_strerror_xti_sync
_xti_sysconf_xti_unbind
_xti_xns5_accept_xti_xns5_snd
auth_destroyauthdes_create
authdes_getucredauthdes_lock
authdes_seccreateauthnone_create
authsys_createauthsys_create_default
callrpcclnt_broadcast
clnt_callclnt_control
clnt_createclnt_create_timed
clnt_create_versclnt_create_vers_timed
clnt_destroyclnt_dg_create
clnt_door_createclnt_freeres
clnt_geterrclnt_pcreateerror
clnt_perrnoclnt_perror
clnt_raw_createclnt_spcreateerror
clnt_sperrnoclnt_sperror
clnt_tli_createclnt_tp_create
clnt_tp_create_timedclnt_vc_create
clntraw_createclnttcp_create
clntudp_bufcreateclntudp_create
dbmclosedbminit
deletedes_setparity
dialdoconfig
endhostentendnetconfig
endnetpathendrpcent
fetchfirstkey
freehostentfreenetconfigent
get_myaddressgethostbyaddr
gethostbyaddr_rgethostbyname
gethostbyname_rgethostent
gethostent_rgetipnodebyaddr
getipnodebynamegetipsecalgbyname
getipsecalgbynumgetipsecprotobyname
getipsecprotobynumgetnetconfig
getnetconfigentgetnetname
getnetpathgetpublickey
getrpcbynamegetrpcbyname_r
getrpcbynumbergetrpcbynumber_r
getrpcentgetrpcent_r
getrpcportgetsecretkey
h_errnohost2netname
inet_addrinet_netof
inet_ntoainet_ntoa_r
inet_ntopinet_pton
key_decryptsessionkey_encryptsession
key_gendeskey_secretkey_is_set
key_setsecretmaxbno
nc_perrornc_sperror
netdir_freenetdir_getbyaddr
netdir_getbynamenetdir_options
netdir_perrornetdir_sperror
netname2hostnetname2user
nextkeynis_add
nis_add_entrynis_addmember
nis_checkpointnis_clone_object
nis_creategroupnis_data
nis_destroy_objectnis_destroygroup
nis_dir_cmpnis_domain_of
nis_dumpnis_dumplog
nis_find_itemnis_finddirectory
nis_first_entrynis_free_request
nis_freenamesnis_freeresult
nis_freeservlistnis_freetags
nis_get_requestnis_get_static_storage
nis_getnamesnis_getservlist
nis_in_tablenis_insert_item
nis_insert_namenis_ismember
nis_leaf_ofnis_leaf_of_r
nis_lerrornis_list
nis_local_directorynis_local_group
nis_local_hostnis_local_principal
nis_lookupnis_make_error
nis_make_rpchandlenis_mkdir
nis_modifynis_modify_entry
nis_name_ofnis_next_entry
nis_perrornis_ping
nis_print_directorynis_print_entry
nis_print_groupnis_print_group_entry
nis_print_linknis_print_object
nis_print_rightsnis_print_table
nis_read_objnis_remove
nis_remove_entrynis_remove_item
nis_remove_namenis_removemember
nis_rmdirnis_servstate
nis_sperrnonis_sperror
nis_sperror_rnis_stats
nis_verifygroupnis_write_obj
pmap_getmapspmap_getport
pmap_rmtcallpmap_set
pmap_unsetregisterrpc
rpc_broadcastrpc_broadcast_exp
rpc_callrpc_control
rpc_createerrrpc_gss_get_error
rpc_gss_get_mech_inforpc_gss_get_mechanisms
rpc_gss_get_principal_namerpc_gss_get_versions
rpc_gss_getcredrpc_gss_is_installed
rpc_gss_max_data_lengthrpc_gss_mech_to_oid
rpc_gss_qop_to_numrpc_gss_seccreate
rpc_gss_set_callbackrpc_gss_set_defaults
rpc_gss_set_svc_namerpc_gss_svc_max_data_length
rpc_regrpcb_getaddr
rpcb_getmapsrpcb_gettime
rpcb_rmtcallrpcb_set
rpcb_unsetsethostent
setnetconfigsetnetpath
setrpcentstore
svc_auth_regsvc_control
svc_createsvc_destroy
svc_dg_createsvc_dg_enablecache
svc_donesvc_door_create
svc_exitsvc_fd_create
svc_fdsetsvc_freeargs
svc_get_local_credsvc_getargs
svc_getreqsvc_getreq_common
svc_getreq_pollsvc_getreqset
svc_getrpccallersvc_max_pollfd
svc_pollfdsvc_raw_create
svc_regsvc_register
svc_runsvc_sendreply
svc_tli_createsvc_tp_create
svc_unregsvc_unregister
svc_vc_createsvcerr_auth
svcerr_decodesvcerr_noproc
svcerr_noprogsvcerr_progvers
svcerr_systemerrsvcerr_weakauth
svcfd_createsvcraw_create
svctcp_createsvcudp_bufcreate
svcudp_createt_accept
t_alloct_bind
t_closet_connect
t_errnot_error
t_freet_getinfo
t_getnamet_getstate
t_listent_look
t_nerrt_open
t_optmgmtt_rcv
t_rcvconnectt_rcvdis
t_rcvrelt_rcvudata
t_rcvuderrt_snd
t_snddist_sndrel
t_sndudatat_strerror
t_synct_unbind
taddr2uaddruaddr2taddr
undialuser2netname
xdr_accepted_replyxdr_array
xdr_authsys_parmsxdr_bool
xdr_bytesxdr_callhdr
xdr_callmsgxdr_char
xdr_destroyxdr_double
xdr_enumxdr_float
xdr_freexdr_getpos
xdr_hyperxdr_inline
xdr_intxdr_int16_t
xdr_int32_txdr_int64_t
xdr_int8_txdr_long
xdr_longlong_txdr_opaque
xdr_opaque_authxdr_pointer
xdr_quadruplexdr_reference
xdr_rejected_replyxdr_replymsg
xdr_setposxdr_short
xdr_sizeofxdr_string
xdr_u_charxdr_u_hyper
xdr_u_intxdr_u_long
xdr_u_longlong_txdr_u_short
xdr_uint16_txdr_uint32_t
xdr_uint64_txdr_uint8_t
xdr_unionxdr_vector
xdr_voidxdr_wrapstring
xdrmem_createxdrrec_create
xdrrec_endofrecordxdrrec_eof
xdrrec_readbytesxdrrec_skiprecord
xdrstdio_createxprt_register
xprt_unregisteryp_all
yp_bindyp_first
yp_get_default_domainyp_master
yp_matchyp_next
yp_orderyp_unbind
yp_updateyperr_string
ypprot_err

The following interface is unique to the 32-bit version of this library:

_new_svc_fdset
FILES

/lib/libnsl.so.1

shared object

/lib/64/libnsl.so.1

64-bit shared object

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
MT-LevelSafe with exceptions
SEE ALSO

pvs(1), Intro(2), Intro(3), libxnet(3LIB), attributes(5)