diff options
Diffstat (limited to 'include/rpc/svc.h')
-rw-r--r-- | include/rpc/svc.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/include/rpc/svc.h b/include/rpc/svc.h index 3ffca50bd..689832548 100644 --- a/include/rpc/svc.h +++ b/include/rpc/svc.h @@ -173,6 +173,7 @@ typedef void (*__dispatch_fn_t) (struct svc_req*, SVCXPRT*); extern bool_t svc_register (SVCXPRT *__xprt, rpcprog_t __prog, rpcvers_t __vers, __dispatch_fn_t __dispatch, rpcprot_t __protocol) __THROW; +libc_hidden_proto(svc_register) /* * Service un-registration @@ -182,6 +183,7 @@ extern bool_t svc_register (SVCXPRT *__xprt, rpcprog_t __prog, * rpcvers_t vers; */ extern void svc_unregister (rpcprog_t __prog, rpcvers_t __vers) __THROW; +libc_hidden_proto(svc_unregister) /* * Transport registration. @@ -190,6 +192,7 @@ extern void svc_unregister (rpcprog_t __prog, rpcvers_t __vers) __THROW; * SVCXPRT *xprt; */ extern void xprt_register (SVCXPRT *__xprt) __THROW; +libc_hidden_proto(xprt_register) /* * Transport un-register @@ -198,7 +201,7 @@ extern void xprt_register (SVCXPRT *__xprt) __THROW; * SVCXPRT *xprt; */ extern void xprt_unregister (SVCXPRT *__xprt) __THROW; - +libc_hidden_proto(xprt_unregister) /* * When the service routine is called, it must first check to see if it @@ -228,8 +231,10 @@ extern void xprt_unregister (SVCXPRT *__xprt) __THROW; extern bool_t svc_sendreply (SVCXPRT *xprt, xdrproc_t __xdr_results, caddr_t __xdr_location) __THROW; +libc_hidden_proto(svc_sendreply) extern void svcerr_decode (SVCXPRT *__xprt) __THROW; +libc_hidden_proto(svcerr_decode) extern void svcerr_weakauth (SVCXPRT *__xprt) __THROW; @@ -237,10 +242,13 @@ extern void svcerr_noproc (SVCXPRT *__xprt) __THROW; extern void svcerr_progvers (SVCXPRT *__xprt, rpcvers_t __low_vers, rpcvers_t __high_vers) __THROW; +libc_hidden_proto(svcerr_progvers) extern void svcerr_auth (SVCXPRT *__xprt, enum auth_stat __why) __THROW; +libc_hidden_proto(svcerr_auth) extern void svcerr_noprog (SVCXPRT *__xprt) __THROW; +libc_hidden_proto(svcerr_noprog) extern void svcerr_systemerr (SVCXPRT *__xprt) __THROW; @@ -270,9 +278,13 @@ extern fd_set svc_fdset; * also see clnt.h for protocol numbers. */ extern void svc_getreq (int __rdfds) __THROW; +libc_hidden_proto(svc_getreq) extern void svc_getreq_common (const int __fd) __THROW; +libc_hidden_proto(svc_getreq_common) extern void svc_getreqset (fd_set *__readfds) __THROW; +libc_hidden_proto(svc_getreqset) extern void svc_getreq_poll (struct pollfd *, const int) __THROW; +libc_hidden_proto(svc_getreq_poll) extern void svc_exit (void) __THROW; extern void svc_run (void) __THROW; @@ -294,8 +306,10 @@ extern SVCXPRT *svcraw_create (void) __THROW; * Udp based rpc. */ extern SVCXPRT *svcudp_create (int __sock) __THROW; +libc_hidden_proto(svcudp_create) extern SVCXPRT *svcudp_bufcreate (int __sock, u_int __sendsz, u_int __recvsz) __THROW; +libc_hidden_proto(svcudp_bufcreate) /* * Tcp based rpc. |