xref: /netbsd-src/sys/fs/nfs/nlm/nlm_prot_clnt.c (revision d687e96a027d668c69e289ca0ac86d6257cf26c3)
1*d687e96aSpgoyette /*	$NetBSD: nlm_prot_clnt.c,v 1.2 2016/12/13 21:58:17 pgoyette Exp $	*/
26ca35587Sdholland /*
36ca35587Sdholland  * Please do not edit this file.
46ca35587Sdholland  * It was generated using rpcgen.
56ca35587Sdholland  */
66ca35587Sdholland 
76ca35587Sdholland #include <sys/param.h>
86ca35587Sdholland #include <sys/lock.h>
96ca35587Sdholland #include <sys/mutex.h>
106ca35587Sdholland #include <sys/systm.h>
116ca35587Sdholland 
12*d687e96aSpgoyette #include <fs/nfs/nlm/nlm_prot.h>
136ca35587Sdholland #include <sys/cdefs.h>
146ca35587Sdholland #ifndef lint
156ca35587Sdholland /*static char sccsid[] = "from: @(#)nlm_prot.x 1.8 87/09/21 Copyr 1987 Sun Micro";*/
166ca35587Sdholland /*static char sccsid[] = "from: * @(#)nlm_prot.x	2.1 88/08/01 4.0 RPCSRC";*/
176ca35587Sdholland /* __RCSID("NetBSD: nlm_prot.x,v 1.6 2000/06/07 14:30:15 bouyer Exp "); */
186ca35587Sdholland #endif /* not lint */
196ca35587Sdholland /* __FBSDID("FreeBSD: head/sys/nlm/nlm_prot_clnt.c 180025 2008-06-26 10:21:54Z dfr "); */
20*d687e96aSpgoyette __RCSID("$NetBSD: nlm_prot_clnt.c,v 1.2 2016/12/13 21:58:17 pgoyette Exp $");
216ca35587Sdholland 
226ca35587Sdholland enum clnt_stat
nlm_sm_notify_0(struct nlm_sm_status * argp,void * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)236ca35587Sdholland nlm_sm_notify_0(struct nlm_sm_status *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
246ca35587Sdholland {
256ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM_SM_NOTIFY,
266ca35587Sdholland 		(xdrproc_t) xdr_nlm_sm_status, (caddr_t) argp,
276ca35587Sdholland 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
286ca35587Sdholland 		timo));
296ca35587Sdholland }
306ca35587Sdholland 
316ca35587Sdholland enum clnt_stat
nlm_test_1(struct nlm_testargs * argp,nlm_testres * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)326ca35587Sdholland nlm_test_1(struct nlm_testargs *argp, nlm_testres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
336ca35587Sdholland {
346ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM_TEST,
356ca35587Sdholland 		(xdrproc_t) xdr_nlm_testargs, (caddr_t) argp,
366ca35587Sdholland 		(xdrproc_t) xdr_nlm_testres, (caddr_t) clnt_res,
376ca35587Sdholland 		timo));
386ca35587Sdholland }
396ca35587Sdholland 
406ca35587Sdholland enum clnt_stat
nlm_lock_1(struct nlm_lockargs * argp,nlm_res * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)416ca35587Sdholland nlm_lock_1(struct nlm_lockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
426ca35587Sdholland {
436ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM_LOCK,
446ca35587Sdholland 		(xdrproc_t) xdr_nlm_lockargs, (caddr_t) argp,
456ca35587Sdholland 		(xdrproc_t) xdr_nlm_res, (caddr_t) clnt_res,
466ca35587Sdholland 		timo));
476ca35587Sdholland }
486ca35587Sdholland 
496ca35587Sdholland enum clnt_stat
nlm_cancel_1(struct nlm_cancargs * argp,nlm_res * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)506ca35587Sdholland nlm_cancel_1(struct nlm_cancargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
516ca35587Sdholland {
526ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM_CANCEL,
536ca35587Sdholland 		(xdrproc_t) xdr_nlm_cancargs, (caddr_t) argp,
546ca35587Sdholland 		(xdrproc_t) xdr_nlm_res, (caddr_t) clnt_res,
556ca35587Sdholland 		timo));
566ca35587Sdholland }
576ca35587Sdholland 
586ca35587Sdholland enum clnt_stat
nlm_unlock_1(struct nlm_unlockargs * argp,nlm_res * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)596ca35587Sdholland nlm_unlock_1(struct nlm_unlockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
606ca35587Sdholland {
616ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM_UNLOCK,
626ca35587Sdholland 		(xdrproc_t) xdr_nlm_unlockargs, (caddr_t) argp,
636ca35587Sdholland 		(xdrproc_t) xdr_nlm_res, (caddr_t) clnt_res,
646ca35587Sdholland 		timo));
656ca35587Sdholland }
666ca35587Sdholland 
676ca35587Sdholland enum clnt_stat
nlm_granted_1(struct nlm_testargs * argp,nlm_res * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)686ca35587Sdholland nlm_granted_1(struct nlm_testargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
696ca35587Sdholland {
706ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM_GRANTED,
716ca35587Sdholland 		(xdrproc_t) xdr_nlm_testargs, (caddr_t) argp,
726ca35587Sdholland 		(xdrproc_t) xdr_nlm_res, (caddr_t) clnt_res,
736ca35587Sdholland 		timo));
746ca35587Sdholland }
756ca35587Sdholland 
766ca35587Sdholland enum clnt_stat
nlm_test_msg_1(struct nlm_testargs * argp,void * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)776ca35587Sdholland nlm_test_msg_1(struct nlm_testargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
786ca35587Sdholland {
796ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM_TEST_MSG,
806ca35587Sdholland 		(xdrproc_t) xdr_nlm_testargs, (caddr_t) argp,
816ca35587Sdholland 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
826ca35587Sdholland 		timo));
836ca35587Sdholland }
846ca35587Sdholland 
856ca35587Sdholland enum clnt_stat
nlm_lock_msg_1(struct nlm_lockargs * argp,void * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)866ca35587Sdholland nlm_lock_msg_1(struct nlm_lockargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
876ca35587Sdholland {
886ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM_LOCK_MSG,
896ca35587Sdholland 		(xdrproc_t) xdr_nlm_lockargs, (caddr_t) argp,
906ca35587Sdholland 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
916ca35587Sdholland 		timo));
926ca35587Sdholland }
936ca35587Sdholland 
946ca35587Sdholland enum clnt_stat
nlm_cancel_msg_1(struct nlm_cancargs * argp,void * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)956ca35587Sdholland nlm_cancel_msg_1(struct nlm_cancargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
966ca35587Sdholland {
976ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM_CANCEL_MSG,
986ca35587Sdholland 		(xdrproc_t) xdr_nlm_cancargs, (caddr_t) argp,
996ca35587Sdholland 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
1006ca35587Sdholland 		timo));
1016ca35587Sdholland }
1026ca35587Sdholland 
1036ca35587Sdholland enum clnt_stat
nlm_unlock_msg_1(struct nlm_unlockargs * argp,void * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)1046ca35587Sdholland nlm_unlock_msg_1(struct nlm_unlockargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
1056ca35587Sdholland {
1066ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM_UNLOCK_MSG,
1076ca35587Sdholland 		(xdrproc_t) xdr_nlm_unlockargs, (caddr_t) argp,
1086ca35587Sdholland 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
1096ca35587Sdholland 		timo));
1106ca35587Sdholland }
1116ca35587Sdholland 
1126ca35587Sdholland enum clnt_stat
nlm_granted_msg_1(struct nlm_testargs * argp,void * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)1136ca35587Sdholland nlm_granted_msg_1(struct nlm_testargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
1146ca35587Sdholland {
1156ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM_GRANTED_MSG,
1166ca35587Sdholland 		(xdrproc_t) xdr_nlm_testargs, (caddr_t) argp,
1176ca35587Sdholland 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
1186ca35587Sdholland 		timo));
1196ca35587Sdholland }
1206ca35587Sdholland 
1216ca35587Sdholland enum clnt_stat
nlm_test_res_1(nlm_testres * argp,void * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)1226ca35587Sdholland nlm_test_res_1(nlm_testres *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
1236ca35587Sdholland {
1246ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM_TEST_RES,
1256ca35587Sdholland 		(xdrproc_t) xdr_nlm_testres, (caddr_t) argp,
1266ca35587Sdholland 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
1276ca35587Sdholland 		timo));
1286ca35587Sdholland }
1296ca35587Sdholland 
1306ca35587Sdholland enum clnt_stat
nlm_lock_res_1(nlm_res * argp,void * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)1316ca35587Sdholland nlm_lock_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
1326ca35587Sdholland {
1336ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM_LOCK_RES,
1346ca35587Sdholland 		(xdrproc_t) xdr_nlm_res, (caddr_t) argp,
1356ca35587Sdholland 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
1366ca35587Sdholland 		timo));
1376ca35587Sdholland }
1386ca35587Sdholland 
1396ca35587Sdholland enum clnt_stat
nlm_cancel_res_1(nlm_res * argp,void * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)1406ca35587Sdholland nlm_cancel_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
1416ca35587Sdholland {
1426ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM_CANCEL_RES,
1436ca35587Sdholland 		(xdrproc_t) xdr_nlm_res, (caddr_t) argp,
1446ca35587Sdholland 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
1456ca35587Sdholland 		timo));
1466ca35587Sdholland }
1476ca35587Sdholland 
1486ca35587Sdholland enum clnt_stat
nlm_unlock_res_1(nlm_res * argp,void * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)1496ca35587Sdholland nlm_unlock_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
1506ca35587Sdholland {
1516ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM_UNLOCK_RES,
1526ca35587Sdholland 		(xdrproc_t) xdr_nlm_res, (caddr_t) argp,
1536ca35587Sdholland 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
1546ca35587Sdholland 		timo));
1556ca35587Sdholland }
1566ca35587Sdholland 
1576ca35587Sdholland enum clnt_stat
nlm_granted_res_1(nlm_res * argp,void * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)1586ca35587Sdholland nlm_granted_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
1596ca35587Sdholland {
1606ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM_GRANTED_RES,
1616ca35587Sdholland 		(xdrproc_t) xdr_nlm_res, (caddr_t) argp,
1626ca35587Sdholland 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
1636ca35587Sdholland 		timo));
1646ca35587Sdholland }
1656ca35587Sdholland 
1666ca35587Sdholland enum clnt_stat
nlm_share_3(nlm_shareargs * argp,nlm_shareres * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)1676ca35587Sdholland nlm_share_3(nlm_shareargs *argp, nlm_shareres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
1686ca35587Sdholland {
1696ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM_SHARE,
1706ca35587Sdholland 		(xdrproc_t) xdr_nlm_shareargs, (caddr_t) argp,
1716ca35587Sdholland 		(xdrproc_t) xdr_nlm_shareres, (caddr_t) clnt_res,
1726ca35587Sdholland 		timo));
1736ca35587Sdholland }
1746ca35587Sdholland 
1756ca35587Sdholland enum clnt_stat
nlm_unshare_3(nlm_shareargs * argp,nlm_shareres * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)1766ca35587Sdholland nlm_unshare_3(nlm_shareargs *argp, nlm_shareres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
1776ca35587Sdholland {
1786ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM_UNSHARE,
1796ca35587Sdholland 		(xdrproc_t) xdr_nlm_shareargs, (caddr_t) argp,
1806ca35587Sdholland 		(xdrproc_t) xdr_nlm_shareres, (caddr_t) clnt_res,
1816ca35587Sdholland 		timo));
1826ca35587Sdholland }
1836ca35587Sdholland 
1846ca35587Sdholland enum clnt_stat
nlm_nm_lock_3(nlm_lockargs * argp,nlm_res * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)1856ca35587Sdholland nlm_nm_lock_3(nlm_lockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
1866ca35587Sdholland {
1876ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM_NM_LOCK,
1886ca35587Sdholland 		(xdrproc_t) xdr_nlm_lockargs, (caddr_t) argp,
1896ca35587Sdholland 		(xdrproc_t) xdr_nlm_res, (caddr_t) clnt_res,
1906ca35587Sdholland 		timo));
1916ca35587Sdholland }
1926ca35587Sdholland 
1936ca35587Sdholland enum clnt_stat
nlm_free_all_3(nlm_notify * argp,void * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)1946ca35587Sdholland nlm_free_all_3(nlm_notify *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
1956ca35587Sdholland {
1966ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM_FREE_ALL,
1976ca35587Sdholland 		(xdrproc_t) xdr_nlm_notify, (caddr_t) argp,
1986ca35587Sdholland 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
1996ca35587Sdholland 		timo));
2006ca35587Sdholland }
2016ca35587Sdholland 
2026ca35587Sdholland enum clnt_stat
nlm4_test_4(nlm4_testargs * argp,nlm4_testres * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)2036ca35587Sdholland nlm4_test_4(nlm4_testargs *argp, nlm4_testres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
2046ca35587Sdholland {
2056ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM4_TEST,
2066ca35587Sdholland 		(xdrproc_t) xdr_nlm4_testargs, (caddr_t) argp,
2076ca35587Sdholland 		(xdrproc_t) xdr_nlm4_testres, (caddr_t) clnt_res,
2086ca35587Sdholland 		timo));
2096ca35587Sdholland }
2106ca35587Sdholland 
2116ca35587Sdholland enum clnt_stat
nlm4_lock_4(nlm4_lockargs * argp,nlm4_res * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)2126ca35587Sdholland nlm4_lock_4(nlm4_lockargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
2136ca35587Sdholland {
2146ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM4_LOCK,
2156ca35587Sdholland 		(xdrproc_t) xdr_nlm4_lockargs, (caddr_t) argp,
2166ca35587Sdholland 		(xdrproc_t) xdr_nlm4_res, (caddr_t) clnt_res,
2176ca35587Sdholland 		timo));
2186ca35587Sdholland }
2196ca35587Sdholland 
2206ca35587Sdholland enum clnt_stat
nlm4_cancel_4(nlm4_cancargs * argp,nlm4_res * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)2216ca35587Sdholland nlm4_cancel_4(nlm4_cancargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
2226ca35587Sdholland {
2236ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM4_CANCEL,
2246ca35587Sdholland 		(xdrproc_t) xdr_nlm4_cancargs, (caddr_t) argp,
2256ca35587Sdholland 		(xdrproc_t) xdr_nlm4_res, (caddr_t) clnt_res,
2266ca35587Sdholland 		timo));
2276ca35587Sdholland }
2286ca35587Sdholland 
2296ca35587Sdholland enum clnt_stat
nlm4_unlock_4(nlm4_unlockargs * argp,nlm4_res * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)2306ca35587Sdholland nlm4_unlock_4(nlm4_unlockargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
2316ca35587Sdholland {
2326ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM4_UNLOCK,
2336ca35587Sdholland 		(xdrproc_t) xdr_nlm4_unlockargs, (caddr_t) argp,
2346ca35587Sdholland 		(xdrproc_t) xdr_nlm4_res, (caddr_t) clnt_res,
2356ca35587Sdholland 		timo));
2366ca35587Sdholland }
2376ca35587Sdholland 
2386ca35587Sdholland enum clnt_stat
nlm4_granted_4(nlm4_testargs * argp,nlm4_res * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)2396ca35587Sdholland nlm4_granted_4(nlm4_testargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
2406ca35587Sdholland {
2416ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM4_GRANTED,
2426ca35587Sdholland 		(xdrproc_t) xdr_nlm4_testargs, (caddr_t) argp,
2436ca35587Sdholland 		(xdrproc_t) xdr_nlm4_res, (caddr_t) clnt_res,
2446ca35587Sdholland 		timo));
2456ca35587Sdholland }
2466ca35587Sdholland 
2476ca35587Sdholland enum clnt_stat
nlm4_test_msg_4(nlm4_testargs * argp,void * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)2486ca35587Sdholland nlm4_test_msg_4(nlm4_testargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
2496ca35587Sdholland {
2506ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM4_TEST_MSG,
2516ca35587Sdholland 		(xdrproc_t) xdr_nlm4_testargs, (caddr_t) argp,
2526ca35587Sdholland 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
2536ca35587Sdholland 		timo));
2546ca35587Sdholland }
2556ca35587Sdholland 
2566ca35587Sdholland enum clnt_stat
nlm4_lock_msg_4(nlm4_lockargs * argp,void * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)2576ca35587Sdholland nlm4_lock_msg_4(nlm4_lockargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
2586ca35587Sdholland {
2596ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM4_LOCK_MSG,
2606ca35587Sdholland 		(xdrproc_t) xdr_nlm4_lockargs, (caddr_t) argp,
2616ca35587Sdholland 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
2626ca35587Sdholland 		timo));
2636ca35587Sdholland }
2646ca35587Sdholland 
2656ca35587Sdholland enum clnt_stat
nlm4_cancel_msg_4(nlm4_cancargs * argp,void * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)2666ca35587Sdholland nlm4_cancel_msg_4(nlm4_cancargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
2676ca35587Sdholland {
2686ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM4_CANCEL_MSG,
2696ca35587Sdholland 		(xdrproc_t) xdr_nlm4_cancargs, (caddr_t) argp,
2706ca35587Sdholland 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
2716ca35587Sdholland 		timo));
2726ca35587Sdholland }
2736ca35587Sdholland 
2746ca35587Sdholland enum clnt_stat
nlm4_unlock_msg_4(nlm4_unlockargs * argp,void * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)2756ca35587Sdholland nlm4_unlock_msg_4(nlm4_unlockargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
2766ca35587Sdholland {
2776ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM4_UNLOCK_MSG,
2786ca35587Sdholland 		(xdrproc_t) xdr_nlm4_unlockargs, (caddr_t) argp,
2796ca35587Sdholland 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
2806ca35587Sdholland 		timo));
2816ca35587Sdholland }
2826ca35587Sdholland 
2836ca35587Sdholland enum clnt_stat
nlm4_granted_msg_4(nlm4_testargs * argp,void * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)2846ca35587Sdholland nlm4_granted_msg_4(nlm4_testargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
2856ca35587Sdholland {
2866ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM4_GRANTED_MSG,
2876ca35587Sdholland 		(xdrproc_t) xdr_nlm4_testargs, (caddr_t) argp,
2886ca35587Sdholland 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
2896ca35587Sdholland 		timo));
2906ca35587Sdholland }
2916ca35587Sdholland 
2926ca35587Sdholland enum clnt_stat
nlm4_test_res_4(nlm4_testres * argp,void * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)2936ca35587Sdholland nlm4_test_res_4(nlm4_testres *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
2946ca35587Sdholland {
2956ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM4_TEST_RES,
2966ca35587Sdholland 		(xdrproc_t) xdr_nlm4_testres, (caddr_t) argp,
2976ca35587Sdholland 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
2986ca35587Sdholland 		timo));
2996ca35587Sdholland }
3006ca35587Sdholland 
3016ca35587Sdholland enum clnt_stat
nlm4_lock_res_4(nlm4_res * argp,void * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)3026ca35587Sdholland nlm4_lock_res_4(nlm4_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
3036ca35587Sdholland {
3046ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM4_LOCK_RES,
3056ca35587Sdholland 		(xdrproc_t) xdr_nlm4_res, (caddr_t) argp,
3066ca35587Sdholland 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
3076ca35587Sdholland 		timo));
3086ca35587Sdholland }
3096ca35587Sdholland 
3106ca35587Sdholland enum clnt_stat
nlm4_cancel_res_4(nlm4_res * argp,void * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)3116ca35587Sdholland nlm4_cancel_res_4(nlm4_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
3126ca35587Sdholland {
3136ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM4_CANCEL_RES,
3146ca35587Sdholland 		(xdrproc_t) xdr_nlm4_res, (caddr_t) argp,
3156ca35587Sdholland 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
3166ca35587Sdholland 		timo));
3176ca35587Sdholland }
3186ca35587Sdholland 
3196ca35587Sdholland enum clnt_stat
nlm4_unlock_res_4(nlm4_res * argp,void * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)3206ca35587Sdholland nlm4_unlock_res_4(nlm4_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
3216ca35587Sdholland {
3226ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM4_UNLOCK_RES,
3236ca35587Sdholland 		(xdrproc_t) xdr_nlm4_res, (caddr_t) argp,
3246ca35587Sdholland 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
3256ca35587Sdholland 		timo));
3266ca35587Sdholland }
3276ca35587Sdholland 
3286ca35587Sdholland enum clnt_stat
nlm4_granted_res_4(nlm4_res * argp,void * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)3296ca35587Sdholland nlm4_granted_res_4(nlm4_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
3306ca35587Sdholland {
3316ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM4_GRANTED_RES,
3326ca35587Sdholland 		(xdrproc_t) xdr_nlm4_res, (caddr_t) argp,
3336ca35587Sdholland 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
3346ca35587Sdholland 		timo));
3356ca35587Sdholland }
3366ca35587Sdholland 
3376ca35587Sdholland enum clnt_stat
nlm4_share_4(nlm4_shareargs * argp,nlm4_shareres * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)3386ca35587Sdholland nlm4_share_4(nlm4_shareargs *argp, nlm4_shareres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
3396ca35587Sdholland {
3406ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM4_SHARE,
3416ca35587Sdholland 		(xdrproc_t) xdr_nlm4_shareargs, (caddr_t) argp,
3426ca35587Sdholland 		(xdrproc_t) xdr_nlm4_shareres, (caddr_t) clnt_res,
3436ca35587Sdholland 		timo));
3446ca35587Sdholland }
3456ca35587Sdholland 
3466ca35587Sdholland enum clnt_stat
nlm4_unshare_4(nlm4_shareargs * argp,nlm4_shareres * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)3476ca35587Sdholland nlm4_unshare_4(nlm4_shareargs *argp, nlm4_shareres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
3486ca35587Sdholland {
3496ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM4_UNSHARE,
3506ca35587Sdholland 		(xdrproc_t) xdr_nlm4_shareargs, (caddr_t) argp,
3516ca35587Sdholland 		(xdrproc_t) xdr_nlm4_shareres, (caddr_t) clnt_res,
3526ca35587Sdholland 		timo));
3536ca35587Sdholland }
3546ca35587Sdholland 
3556ca35587Sdholland enum clnt_stat
nlm4_nm_lock_4(nlm4_lockargs * argp,nlm4_res * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)3566ca35587Sdholland nlm4_nm_lock_4(nlm4_lockargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
3576ca35587Sdholland {
3586ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM4_NM_LOCK,
3596ca35587Sdholland 		(xdrproc_t) xdr_nlm4_lockargs, (caddr_t) argp,
3606ca35587Sdholland 		(xdrproc_t) xdr_nlm4_res, (caddr_t) clnt_res,
3616ca35587Sdholland 		timo));
3626ca35587Sdholland }
3636ca35587Sdholland 
3646ca35587Sdholland enum clnt_stat
nlm4_free_all_4(nlm4_notify * argp,void * clnt_res,CLIENT * clnt,struct rpc_callextra * ext,struct timeval timo)3656ca35587Sdholland nlm4_free_all_4(nlm4_notify *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
3666ca35587Sdholland {
3676ca35587Sdholland 	return (CLNT_CALL_EXT(clnt, ext, NLM4_FREE_ALL,
3686ca35587Sdholland 		(xdrproc_t) xdr_nlm4_notify, (caddr_t) argp,
3696ca35587Sdholland 		(xdrproc_t) xdr_void, (caddr_t) clnt_res,
3706ca35587Sdholland 		timo));
3716ca35587Sdholland }
372