X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Finclude%2Frpcmisc.h;h=665df8ecfd702bd2098486c8bbb7ff28845ccd26;hp=d999ab9346518d716e3d62e91f28613cb0a96d7a;hb=7e76a0509947d9b906f25cf762b0aac1a3281809;hpb=0bdb8d4f216cafb4fef03c9a1fc1f87508eed2d3 diff --git a/support/include/rpcmisc.h b/support/include/rpcmisc.h index d999ab9..665df8e 100644 --- a/support/include/rpcmisc.h +++ b/support/include/rpcmisc.h @@ -41,6 +41,8 @@ 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); @@ -48,7 +50,6 @@ 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;