X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Finclude%2Frpcmisc.h;h=665df8ecfd702bd2098486c8bbb7ff28845ccd26;hp=06970cde223a4e48d45802cbe3a20c730aa548b2;hb=7e76a0509947d9b906f25cf762b0aac1a3281809;hpb=8b7ad01b14df1e7529b9ba8a1ea17df0d6004ef9 diff --git a/support/include/rpcmisc.h b/support/include/rpcmisc.h index 06970cd..665df8e 100644 --- a/support/include/rpcmisc.h +++ b/support/include/rpcmisc.h @@ -41,14 +41,15 @@ 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, void *argp, void *resp); -void rpc_logcall(struct svc_req *, char *xname, char *args); extern int _rpcpmstart; extern int _rpcfdtype;