2000-12-31 15:34:47 +00:00
|
|
|
#ifndef _RPC_SVC_H
|
1995-02-18 01:27:10 +00:00
|
|
|
#include <sunrpc/rpc/svc.h>
|
2000-12-31 15:34:47 +00:00
|
|
|
|
2002-08-06 01:23:20 +00:00
|
|
|
libc_hidden_proto (xprt_register)
|
|
|
|
libc_hidden_proto (xprt_unregister)
|
* include/stdlib.h: Use libc_hidden_proto for wctomb.
* stdlib/wctomb.c: Add libc_hidden_def.
* include/netdb.h: Use libc_hidden_proto for innetgr, rcmd_af,
rexec_af, rresvport_af, ruserok_af, iruserok_af, ruserpass, hstrerror.
* resolv/herror.c: Likewise.
* inet/rcmd.c: Add libc_hidden_def.
* inet/ruserpass.c: Likewise.
* inet/getnetgrent_r.c: Likewise.
* include/rpc/auth.h: Use libc_hidden_proto for getnetname,
netname2user, host2netname, user2netname.
* sunrpc/netname.c: Add libc_hidden_def.
* include/rpc/svc.h: Use libc_hidden_proto for svc_register,
svc_unregister, remove *_internal decls. Use libc_hidden_proto
for svcerr_auth, svcerr_noprog, svcerr_progvers.
* sunrpc/svc.c (svc_register, svc_unregister): Change INTDEF to
libc_hidden_def.
(svcerr_auth, svcerr_noprog, svcerr_progvers): Add libc_hidden_def.
* sunrpc/svc_simple.c (registerrpc): Nix INTUSE for svc_register.
2002-08-06 05:10:45 +00:00
|
|
|
libc_hidden_proto (svc_register)
|
|
|
|
libc_hidden_proto (svc_unregister)
|
|
|
|
libc_hidden_proto (svcerr_auth)
|
|
|
|
libc_hidden_proto (svcerr_noprog)
|
|
|
|
libc_hidden_proto (svcerr_progvers)
|
2002-08-06 01:23:20 +00:00
|
|
|
|
2000-12-31 15:34:47 +00:00
|
|
|
/* Now define the internal interfaces. */
|
|
|
|
extern SVCXPRT *svcfd_create (int fd, u_int sendsize, u_int recvsize);
|
|
|
|
|
|
|
|
extern int svcudp_enablecache (SVCXPRT *transp, u_long size);
|
|
|
|
extern SVCXPRT *svcunixfd_create (int fd, u_int sendsize, u_int recvsize);
|
2011-04-17 01:59:36 +00:00
|
|
|
|
|
|
|
libc_hidden_proto (svc_exit)
|
|
|
|
libc_hidden_proto (svc_getreq)
|
|
|
|
libc_hidden_proto (svc_getreqset)
|
|
|
|
libc_hidden_proto (svc_run)
|
|
|
|
libc_hidden_proto (svc_sendreply)
|
|
|
|
libc_hidden_proto (svcerr_decode)
|
|
|
|
libc_hidden_proto (svcerr_noproc)
|
|
|
|
libc_hidden_proto (svcerr_systemerr)
|
|
|
|
libc_hidden_proto (svcerr_weakauth)
|
|
|
|
libc_hidden_proto (svcfd_create)
|
|
|
|
libc_hidden_proto (svcraw_create)
|
|
|
|
libc_hidden_proto (svctcp_create)
|
|
|
|
libc_hidden_proto (svcudp_bufcreate)
|
|
|
|
libc_hidden_proto (svcudp_create)
|
|
|
|
libc_hidden_proto (svcudp_enablecache)
|
|
|
|
libc_hidden_proto (svcunix_create)
|
|
|
|
libc_hidden_proto (svcunixfd_create)
|
|
|
|
libc_hidden_proto (svc_getreq_common)
|
|
|
|
libc_hidden_proto (svc_getreq_poll)
|
2000-12-31 15:34:47 +00:00
|
|
|
|
|
|
|
#endif
|