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