Back to index

glibc  2.9
svc.h
Go to the documentation of this file.
00001 #ifndef _RPC_SVC_H
00002 #include <sunrpc/rpc/svc.h>
00003 
00004 libc_hidden_proto (xprt_register)
00005 libc_hidden_proto (xprt_unregister)
00006 libc_hidden_proto (svc_register)
00007 libc_hidden_proto (svc_unregister)
00008 libc_hidden_proto (svcerr_auth)
00009 libc_hidden_proto (svcerr_noprog)
00010 libc_hidden_proto (svcerr_progvers)
00011 
00012 /* Now define the internal interfaces.  */
00013 extern int registerrpc (u_long prognum, u_long versnum, u_long procnum,
00014                      char *(*progname) (char *), xdrproc_t inproc,
00015                      xdrproc_t outproc);
00016 
00017 extern SVCXPRT *svcfd_create (int fd, u_int sendsize, u_int recvsize);
00018 
00019 extern int svcudp_enablecache (SVCXPRT *transp, u_long size);
00020 extern SVCXPRT *svcunixfd_create (int fd, u_int sendsize, u_int recvsize);
00021 extern bool_t svc_sendreply_internal (SVCXPRT *xprt, xdrproc_t __xdr_results,
00022                                   caddr_t __xdr_location) attribute_hidden;
00023 extern void svcerr_decode_internal (SVCXPRT *__xprt) attribute_hidden;
00024 extern void svc_getreq_internal (int __rdfds) attribute_hidden;
00025 extern void svc_getreq_common_internal (const int __fd) attribute_hidden;
00026 extern void svc_getreqset_internal (fd_set *__readfds) attribute_hidden;
00027 extern void svc_getreq_poll_internal (struct pollfd *,
00028                                   const int) attribute_hidden;
00029 extern SVCXPRT *svcudp_create_internal (int __sock) attribute_hidden;
00030 extern SVCXPRT *svcudp_bufcreate_internal (int __sock, u_int __sendsz,
00031                                       u_int __recvsz) attribute_hidden;
00032 
00033 #endif