1 #ifndef _RPC_SVC_H
2 #include <sunrpc/rpc/svc.h>
3 
4 # ifndef _ISOMAC
5 
6 libc_hidden_proto (xprt_register)
7 libc_hidden_proto (xprt_unregister)
8 libc_hidden_proto (svc_register)
9 libc_hidden_proto (svc_unregister)
10 libc_hidden_proto (svcerr_auth)
11 libc_hidden_proto (svcerr_noprog)
12 libc_hidden_proto (svcerr_progvers)
13 
14 /* Now define the internal interfaces.  */
15 extern SVCXPRT *svcfd_create (int fd, u_int sendsize, u_int recvsize);
16 
17 extern int svcudp_enablecache (SVCXPRT *transp, u_long size);
18 extern SVCXPRT *svcunixfd_create (int fd, u_int sendsize, u_int recvsize);
19 
20 libc_hidden_proto (svc_exit)
21 libc_hidden_proto (svc_getreq)
22 libc_hidden_proto (svc_getreqset)
23 libc_hidden_proto (svc_run)
24 libc_hidden_proto (svc_sendreply)
25 libc_hidden_proto (svcerr_decode)
26 libc_hidden_proto (svcerr_noproc)
27 libc_hidden_proto (svcerr_systemerr)
28 libc_hidden_proto (svcerr_weakauth)
29 libc_hidden_proto (svcfd_create)
30 libc_hidden_proto (svcraw_create)
31 libc_hidden_proto (svctcp_create)
32 libc_hidden_proto (svcudp_bufcreate)
33 libc_hidden_proto (svcudp_create)
34 libc_hidden_proto (svcudp_enablecache)
35 libc_hidden_proto (svcunix_create)
36 libc_hidden_proto (svcunixfd_create)
37 libc_hidden_proto (svc_getreq_common)
38 libc_hidden_proto (svc_getreq_poll)
39 
40 extern void __svc_accept_failed (void) attribute_hidden;
41 extern void __svc_wait_on_error (void) attribute_hidden;
42 
43 # endif /* !_ISOMAC */
44 #endif
45