X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Finclude%2Frpcmisc.h;h=b806227ecc50acd633ae4d375f6edd1bda6994fc;hp=c5847fa261fd2635a6499ec1323d8a8b5bbf34e2;hb=e1501725a9088533ce252e4cac789357db859d2e;hpb=0bd7e91cea26bcfc5581290e4cdd87870da29b9e diff --git a/support/include/rpcmisc.h b/support/include/rpcmisc.h index c5847fa..b806227 100644 --- a/support/include/rpcmisc.h +++ b/support/include/rpcmisc.h @@ -31,7 +31,7 @@ struct rpc_dentry { struct rpc_dtable { struct rpc_dentry *entries; - int nproc; + rpcproc_t nproc; }; #define dtable_ent(func, vers, arg_type, res_type) \ @@ -53,6 +53,7 @@ void rpc_init(char *name, int prog, int vers, void rpc_dispatch(struct svc_req *rq, SVCXPRT *xprt, struct rpc_dtable *dtable, int nvers, void *argp, void *resp); +int getservport(u_long number, const char *proto); extern int _rpcpmstart; extern int _rpcfdtype;