Define _POSIX_THREAD_PRIORITY_SCHEDULING.
[glibc/pb-stable.git] / include / rpc / svc.h
blobdc758391a255b7bdbc48192bd817986bce344075
1 #ifndef _RPC_SVC_H
2 #include <sunrpc/rpc/svc.h>
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)
12 /* Now define the internal interfaces. */
13 extern int registerrpc (u_long prognum, u_long versnum, u_long procnum,
14 char *(*progname) (char *), xdrproc_t inproc,
15 xdrproc_t outproc);
17 extern SVCXPRT *svcfd_create (int fd, u_int sendsize, u_int recvsize);
19 extern int svcudp_enablecache (SVCXPRT *transp, u_long size);
20 extern SVCXPRT *svcunixfd_create (int fd, u_int sendsize, u_int recvsize);
21 extern bool_t svc_sendreply_internal (SVCXPRT *xprt, xdrproc_t __xdr_results,
22 caddr_t __xdr_location) attribute_hidden;
23 extern void svcerr_decode_internal (SVCXPRT *__xprt) attribute_hidden;
24 extern void svc_getreq_internal (int __rdfds) attribute_hidden;
25 extern void svc_getreq_common_internal (const int __fd) attribute_hidden;
26 extern void svc_getreqset_internal (fd_set *__readfds) attribute_hidden;
27 extern void svc_getreq_poll_internal (struct pollfd *,
28 const int) attribute_hidden;
29 extern SVCXPRT *svcudp_create_internal (int __sock) attribute_hidden;
30 extern SVCXPRT *svcudp_bufcreate_internal (int __sock, u_int __sendsz,
31 u_int __recvsz) attribute_hidden;
33 #endif