Home | History | Annotate | Line # | Download | only in rpc
rpc_internal.h revision 1.1.2.2
      1  1.1.2.2  nathanw /*	$NetBSD: rpc_internal.h,v 1.1.2.2 2002/11/11 22:22:43 nathanw Exp $	*/
      2  1.1.2.2  nathanw 
      3  1.1.2.2  nathanw /*
      4  1.1.2.2  nathanw  * Private include file for XDR functions only used internally in libc.
      5  1.1.2.2  nathanw  * These are not exported interfaces.
      6  1.1.2.2  nathanw  */
      7  1.1.2.2  nathanw 
      8  1.1.2.2  nathanw bool_t __xdrrec_getrec __P((XDR *, enum xprt_stat *, bool_t));
      9  1.1.2.2  nathanw bool_t __xdrrec_setnonblock __P((XDR *, int));
     10  1.1.2.2  nathanw void __xprt_unregister_unlocked __P((SVCXPRT *));
     11  1.1.2.2  nathanw bool_t __svc_clean_idle __P((fd_set *, int, bool_t));
     12  1.1.2.2  nathanw 
     13  1.1.2.2  nathanw bool_t __xdrrec_getrec __P((XDR *, enum xprt_stat *, bool_t));
     14  1.1.2.2  nathanw bool_t __xdrrec_setnonblock __P((XDR *, int));
     15  1.1.2.2  nathanw 
     16  1.1.2.2  nathanw u_int __rpc_get_a_size __P((int));
     17  1.1.2.2  nathanw int __rpc_dtbsize __P((void));
     18  1.1.2.2  nathanw struct netconfig * __rpcgettp __P((int));
     19  1.1.2.2  nathanw int  __rpc_get_default_domain __P((char **));
     20  1.1.2.2  nathanw 
     21  1.1.2.2  nathanw char *__rpc_taddr2uaddr_af __P((int, const struct netbuf *));
     22  1.1.2.2  nathanw struct netbuf *__rpc_uaddr2taddr_af __P((int, const char *));
     23  1.1.2.2  nathanw int __rpc_fixup_addr __P((struct netbuf *, const struct netbuf *));
     24  1.1.2.2  nathanw int __rpc_sockinfo2netid __P((struct __rpc_sockinfo *, const char **));
     25  1.1.2.2  nathanw int __rpc_seman2socktype __P((int));
     26  1.1.2.2  nathanw int __rpc_socktype2seman __P((int));
     27  1.1.2.2  nathanw void *rpc_nullproc __P((CLIENT *));
     28  1.1.2.2  nathanw int __rpc_sockisbound __P((int));
     29  1.1.2.2  nathanw 
     30  1.1.2.2  nathanw struct netbuf *__rpcb_findaddr __P((rpcprog_t, rpcvers_t,
     31  1.1.2.2  nathanw 				    const struct netconfig *,
     32  1.1.2.2  nathanw 				    const char *, CLIENT **));
     33  1.1.2.2  nathanw bool_t __rpc_control __P((int,void *));
     34  1.1.2.2  nathanw 
     35  1.1.2.2  nathanw char *_get_next_token __P((char *, int));
     36  1.1.2.2  nathanw 
     37  1.1.2.2  nathanw #define __RPC_GETXID(now) ((u_int32_t)getpid() ^ (u_int32_t)(now)->tv_sec ^ \
     38  1.1.2.2  nathanw     (u_int32_t)(now)->tv_usec)
     39  1.1.2.2  nathanw 
     40  1.1.2.2  nathanw extern SVCXPRT **__svc_xports;
     41  1.1.2.2  nathanw extern int __svc_maxrec;
     42