llib-lnsl revision 7d1e83948cb684521e72cab96020be241508f449
/*
* 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
* 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 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* LINTLIBRARY */
/* PROTOLIB1 */
#include <nss_netdir.h>
#include <nss_dbdefs.h>
/*
* Declare t_errno, even though this file is compiled '_REENTRANT'. This
* way t_errno is defined in the lint library, which is used for programs
* compiled with _REENTRANT and those compiled without it.
*/
/*
*/
/* common.c */
/*
*/
/* des_crypt.c */
/* des_soft.c */
void des_setparity(char *p);
/* intl_crypt.c */
/* intl_soft.c */
/*
*/
/* callers.c */
/* conn.c */
/* dial.c */
/* getargs.c */
/* interface.c */
/* line.c */
/* stoa.c */
/* strecpy.c */
/* strsave.c */
/* sysfiles.c */
/* ulockf.c */
/* uucpdefs.c */
/*
*/
/* gen_dhkeys.c */
/* publickey.c */
void __getpublickey_flush(const char *netname);
/* xcrypt.c */
/*
*/
/* netdir.c */
int *__nderror(void);
char *netdir_sperror(void);
void netdir_perror(char *s);
/*
*/
/* netselect.c */
void *setnetconfig(void);
int endnetconfig(void *vdata);
void *setnetpath(void);
int endnetpath(void *vdata);
char *nc_sperror(void);
/*
*/
/* cache.cc */
/* cache_api.cc */
/* XXX lacking appropriate public header files */
void __nis_CacheRestart(void);
void __nis_CachePrint(void);
uint32_t __nis_CacheLocalLoadPref(void);
nis_error __nis_CacheMgrInit(void);
void __nis_CacheMgrCleanup(void);
int __nis_CacheMgrUpdateUaddr(char *uaddr);
void __nis_CacheMgrMarkUp(void);
uint32_t __nis_CacheMgrTimers(void);
uint32_t __nis_serverRefreshCache(void);
/* client_cache.cc */
/* cold_start.cc */
/* local_cache.cc */
/* mapped_cache.cc */
/* mgr_cache.cc */
/* nis_cache_clnt.cc */
/* nis_cache_xdr.cc */
/*
*/
/* nis_callback.c */
int __nis_destroy_callback(void);
void *userdata);
/* nis_cast.c */
/* nis_cback_xdr.c */
/* nis_clnt.c */
/* nis_groups.c */
int *grpcachemisses);
void nis_flushgroups(void);
/* nis_hash.c */
/* nis_lookup.c */
char *dname);
/* nis_misc.c */
int __nis_host_is_server(nis_server *, int);
void __nis_print_result(nis_result *);
/* nis_misc_proc.c */
int verbose);
/* nis_names.c */
/* nis_perror.c */
/* nis_rpc.c */
int nsrv;
char *name;
int parent_first;
int state;
int base;
int end;
int count;
int start;
int cur;
int bound_to;
int refresh_count;
void __nis_reset_state(void);
void __nis_bad_auth_server(CLIENT *c);
/* nis_subr.c */
int __start_clock(int clk);
nis_name nis_local_group(void);
nis_name nis_domain_of(char *s);
nis_name nis_leaf_of(char *s);
nis_name nis_name_of(char *s);
nis_name nis_local_directory(void);
nis_name nis_local_principal(void);
nis_name nis_local_host(void);
ib_request *reqreq);
nis_object *nis_read_obj(char *f);
int nis_write_obj(char *f, nis_object *o);
char *nis_old_data(char *s);
char *nis_data(char *s);
nis_name __nis_local_root(void);
/* nis_tags.c */
/* nis_xdr.c */
/* nislib.c */
void *cbdata);
/* npd_lib.c */
/* print_obj.c */
void nis_print_rights(u_int r);
void nis_print_directory(directory_obj *r);
void nis_print_group(group_obj *g);
void nis_print_table(table_obj *t);
void nis_print_link(link_obj *l);
void nis_print_object(nis_object *o);
/* thr_misc.c */
/*
*/
/* _conn_util.c */
/* _data2.c */
/* _errlst.c */
int *__t_errno(void);
/* _utility.c */
/* t_accept.c */
/* t_alloc.c */
char *t_alloc(int, int, int);
/* t_bind.c */
/* t_close.c */
int t_close(int);
/* t_connect.c */
/* t_error.c */
void t_error(const char *);
/* t_free.c */
int t_free(char *, int);
/* t_getinfo.c */
/* t_getname.c */
/* t_getstate.c */
int t_getstate(int);
/* t_listen.c */
/* t_look.c */
int t_look(int);
/* t_open.c */
/* t_optmgmt.c */
/* t_rcv.c */
/* t_rcvconnect.c */
/* t_rcvdis.c */
/* t_rcvrel.c */
int t_rcvrel(int);
/* t_rcvudata.c */
/* t_rcvuderr.c */
/* t_snd.c */
/* t_snddis */
/* t_sndrel.c */
int t_sndrel(int);
/* t_sndudata.c */
/* t_strerror.c */
char *t_strerror(int);
/* t_sync.c */
int t_sync(int);
/* t_unbind.c */
int t_unbind(int);
/*
* struct t_iovec is defined in <xti.h>. But <xti.h> cannot be included
* because inclusion of <xti.h> and <tiuser.h> are mututally exclusive
* be seen how to build llib-lnsl.ln from multiple source files to avoid
* this problem.
*/
void *iov_base;
};
/* t_sndv.c */
/* t_sndvudata.c */
/* t_sndreldata.c */
/* t_rcvv.c */
/* t_rcvvudata.c */
unsigned int, int *);
/* t_rcvreldata.c */
/* t_sysconf.c */
int t_sysconf(int);
/* xti_wrappers.c */
char *_xti_alloc(int, int, int);
int _xti_close(int);
int _xti_error(char *);
int _xti_free(char *, int);
int _xti_getstate(int);
int _xti_look(int);
int _xti_rcvrel(int);
unsigned int, int *);
int _xti_xns5_snd(int, char *, unsigned int, int);
int _xti_sndrel(int);
char *_xti_strerror(int);
int _xti_sync(int);
int _xti_sysconf(int);
int _xti_unbind(int);
/*
*/
/* gethostby_door.c */
/* gethostbyname_r.c */
/* gethostent.c */
/* gethostent_r.c */
int sethostent(int stay);
int endhostent(void);
int *h_errnop);
/* getipnodeby.c */
int *error_num);
int *error_num);
/* getrpcent.c */
/* getrpcent_r.c */
void endrpcent(void);
/* inet_ntop.c */
/* inet_pton.c */
/* netdir_inet.c */
void *__inet_get_local_interfaces(void);
void __inet_free_local_interfaces(void *p);
int __inet_address_count(void *p);
ulong_t __inet_get_addr(void *p, int n);
char *__inet_get_networka(void *p, int n);
/* netdir_inet_sundry.c */
/*
*/
/* auth_des.c */
/* auth_none.c */
AUTH *authnone_create(void);
/* auth_sys.c */
AUTH *authsys_create_default(void);
/* auth_time.c */
/* authdes_prot.c */
/* authsys_prot.c */
/* clnt_bcast.c */
const char *netclass);
/* clnt_dg.c */
/* clnt_door.c */
/* clnt_generic.c */
const char *nettype);
/* clnt_perror.c */
char *clnt_spcreateerror(const char *s);
void clnt_pcreateerror(const char *s);
/* clnt_raw.c */
/* clnt_simple.c */
/* clnt_vc.c */
/* getdname.c */
/* gethostname.c */
/* inet_ntoa.c */
/* key_call.c */
int key_setsecret(const char *secretkey);
int key_secretkey_is_set(void);
char *rslt);
/* key_prot.c */
/* mt_misc.c */
/* netname.c */
int getnetname(char *name);
/* netnamer.c */
/* openchild.c */
/* pmap_clnt.c */
/* pmap_prot.c */
/* rpc_callmsg.c */
/* rpc_comdata.c */
/* rpc_generic.c */
int __rpc_dtbsize(void);
void *__rpc_setconf(char *nettype);
void __rpc_endconf(void *vhandle);
/* rpc_prot.c */
/* rpc_sel2poll.c */
/* rpc_soc.c */
SVCXPRT *svcraw_create(void);
/* rpc_td.c */
/* rpcb_clnt.c */
const char *host);
/* rpcb_prot.c */
/* rpcb_st_xdr.c */
/* rpcdname.c */
int __rpc_get_default_domain(char **domain);
/* rpcsec_gss_if.c */
char **rpc_gss_get_mechanisms(void);
/* rtime_tli.c */
/* svc.c */
void svc_getreq(int rdfds);
void svc_getreq_common(int fd);
SVCXPRT *svc_xprt_alloc(void);
void *__svc_set_proc_cleanup_cb(void *cb);
/* svc_auth.c */
/* svc_auth_sys.c */
/* svc_dg.c */
/* svc_door.c */
/* svc_generic.c */
const char *nettype);
/* svc_raw.c */
SVCXPRT *svc_raw_create(void);
/* svc_run.c */
void svc_run(void);
void svc_exit(void);
/* svc_simple.c */
const char *nettype);
/* svc_vc.c */
void __svc_nisplus_fdcleanup_hack(void);
void __svc_nisplus_enable_timestamps(void);
void __svc_nisplus_purge_since(long since);
int status);
/* svcauth_des.c */
/* ti_opts.c */
int __rpc_negotiate_uid(int fd);
/* xdr.c */
/* xdr_array.c */
/* xdr_float.c */
/* xdr_mem.c */
/* xdr_rec.c */
/* xdr_refer.c */
/* xdr_sizeof.c */
/* xdr_stdio.c */
/* svid_funcs.c */
/*
*/
/* checkver.c */
/* doconfig.c */
/*
*/
/* dbm.c */
int dbmclose(void);
/* yp_all.c */
/* yp_b_clnt.c */
enum ypbind_resptype {
YPBIND_SUCC_VAL = 1,
YPBIND_FAIL_VAL = 2
};
union {
};
char *ypbind_domainname;
};
char *ypsetdom_domain;
};
/* yp_b_xdr.c */
/* yp_bind.c */
char *dom_domain;
int cache_bad;
int fd;
int ref_count;
int need_free;
};
int yp_get_default_domain(char **domain);
/* yp_enum.c */
/* yp_master.c */
/* yp_match.c */
void __empty_yp_cache(void);
/* yp_order.c */
/* yp_rsvd.c */
const char *nettype,
/* yp_update.c */
/* yp_xdr.c */
/* yperr_string.c */
char *yperr_string(int code);
/* yppasswd_xdr.c */
/* ypprot_err.c */
int ypprot_err(int yp_protocol_error);
/* ypupd.c */
/* nis_sec_mechs.c */