X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Finclude%2Frpcmisc.h;h=a2b2b5a9d4d5b4572c8f016c77228363626b7667;hp=06970cde223a4e48d45802cbe3a20c730aa548b2;hb=7a1b307cfbdbb2364274252b21094d9f2207342b;hpb=8b7ad01b14df1e7529b9ba8a1ea17df0d6004ef9 diff --git a/support/include/rpcmisc.h b/support/include/rpcmisc.h index 06970cd..a2b2b5a 100644 --- a/support/include/rpcmisc.h +++ b/support/include/rpcmisc.h @@ -41,9 +41,11 @@ struct rpc_dtable { (xdrproc_t)xdr_##res_type, sizeof(res_type), \ } + +int makesock(int port, int proto); void rpc_init(char *name, int prog, int vers, void (*dispatch)(struct svc_req *, SVCXPRT *), - int defport, int bufsize); + int defport); void rpc_svcrun(void); void rpc_dispatch(struct svc_req *rq, SVCXPRT *xprt, struct rpc_dtable *dtable, int nvers,