summaryrefslogtreecommitdiff
path: root/include/rpc/svc.h
blob: bf948d51e21abaa5b1f5f99aedb358e406621cbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef _RPC_SVC_H
#include <sunrpc/rpc/svc.h>

/* Now define the internal interfaces.  */
extern int registerrpc (u_long prognum, u_long versnum, u_long procnum,
			char *(*progname) (char *), xdrproc_t inproc,
			xdrproc_t outproc);

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);

#endif