nlm_prot_clnt.c revision 1.2 1 1.2 pgoyette /* $NetBSD: nlm_prot_clnt.c,v 1.2 2016/12/13 21:58:17 pgoyette Exp $ */
2 1.1 dholland /*
3 1.1 dholland * Please do not edit this file.
4 1.1 dholland * It was generated using rpcgen.
5 1.1 dholland */
6 1.1 dholland
7 1.1 dholland #include <sys/param.h>
8 1.1 dholland #include <sys/lock.h>
9 1.1 dholland #include <sys/mutex.h>
10 1.1 dholland #include <sys/systm.h>
11 1.1 dholland
12 1.2 pgoyette #include <fs/nfs/nlm/nlm_prot.h>
13 1.1 dholland #include <sys/cdefs.h>
14 1.1 dholland #ifndef lint
15 1.1 dholland /*static char sccsid[] = "from: @(#)nlm_prot.x 1.8 87/09/21 Copyr 1987 Sun Micro";*/
16 1.1 dholland /*static char sccsid[] = "from: * @(#)nlm_prot.x 2.1 88/08/01 4.0 RPCSRC";*/
17 1.1 dholland /* __RCSID("NetBSD: nlm_prot.x,v 1.6 2000/06/07 14:30:15 bouyer Exp "); */
18 1.1 dholland #endif /* not lint */
19 1.1 dholland /* __FBSDID("FreeBSD: head/sys/nlm/nlm_prot_clnt.c 180025 2008-06-26 10:21:54Z dfr "); */
20 1.2 pgoyette __RCSID("$NetBSD: nlm_prot_clnt.c,v 1.2 2016/12/13 21:58:17 pgoyette Exp $");
21 1.1 dholland
22 1.1 dholland enum clnt_stat
23 1.1 dholland nlm_sm_notify_0(struct nlm_sm_status *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
24 1.1 dholland {
25 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM_SM_NOTIFY,
26 1.1 dholland (xdrproc_t) xdr_nlm_sm_status, (caddr_t) argp,
27 1.1 dholland (xdrproc_t) xdr_void, (caddr_t) clnt_res,
28 1.1 dholland timo));
29 1.1 dholland }
30 1.1 dholland
31 1.1 dholland enum clnt_stat
32 1.1 dholland nlm_test_1(struct nlm_testargs *argp, nlm_testres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
33 1.1 dholland {
34 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM_TEST,
35 1.1 dholland (xdrproc_t) xdr_nlm_testargs, (caddr_t) argp,
36 1.1 dholland (xdrproc_t) xdr_nlm_testres, (caddr_t) clnt_res,
37 1.1 dholland timo));
38 1.1 dholland }
39 1.1 dholland
40 1.1 dholland enum clnt_stat
41 1.1 dholland nlm_lock_1(struct nlm_lockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
42 1.1 dholland {
43 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM_LOCK,
44 1.1 dholland (xdrproc_t) xdr_nlm_lockargs, (caddr_t) argp,
45 1.1 dholland (xdrproc_t) xdr_nlm_res, (caddr_t) clnt_res,
46 1.1 dholland timo));
47 1.1 dholland }
48 1.1 dholland
49 1.1 dholland enum clnt_stat
50 1.1 dholland nlm_cancel_1(struct nlm_cancargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
51 1.1 dholland {
52 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM_CANCEL,
53 1.1 dholland (xdrproc_t) xdr_nlm_cancargs, (caddr_t) argp,
54 1.1 dholland (xdrproc_t) xdr_nlm_res, (caddr_t) clnt_res,
55 1.1 dholland timo));
56 1.1 dholland }
57 1.1 dholland
58 1.1 dholland enum clnt_stat
59 1.1 dholland nlm_unlock_1(struct nlm_unlockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
60 1.1 dholland {
61 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM_UNLOCK,
62 1.1 dholland (xdrproc_t) xdr_nlm_unlockargs, (caddr_t) argp,
63 1.1 dholland (xdrproc_t) xdr_nlm_res, (caddr_t) clnt_res,
64 1.1 dholland timo));
65 1.1 dholland }
66 1.1 dholland
67 1.1 dholland enum clnt_stat
68 1.1 dholland nlm_granted_1(struct nlm_testargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
69 1.1 dholland {
70 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM_GRANTED,
71 1.1 dholland (xdrproc_t) xdr_nlm_testargs, (caddr_t) argp,
72 1.1 dholland (xdrproc_t) xdr_nlm_res, (caddr_t) clnt_res,
73 1.1 dholland timo));
74 1.1 dholland }
75 1.1 dholland
76 1.1 dholland enum clnt_stat
77 1.1 dholland nlm_test_msg_1(struct nlm_testargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
78 1.1 dholland {
79 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM_TEST_MSG,
80 1.1 dholland (xdrproc_t) xdr_nlm_testargs, (caddr_t) argp,
81 1.1 dholland (xdrproc_t) xdr_void, (caddr_t) clnt_res,
82 1.1 dholland timo));
83 1.1 dholland }
84 1.1 dholland
85 1.1 dholland enum clnt_stat
86 1.1 dholland nlm_lock_msg_1(struct nlm_lockargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
87 1.1 dholland {
88 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM_LOCK_MSG,
89 1.1 dholland (xdrproc_t) xdr_nlm_lockargs, (caddr_t) argp,
90 1.1 dholland (xdrproc_t) xdr_void, (caddr_t) clnt_res,
91 1.1 dholland timo));
92 1.1 dholland }
93 1.1 dholland
94 1.1 dholland enum clnt_stat
95 1.1 dholland nlm_cancel_msg_1(struct nlm_cancargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
96 1.1 dholland {
97 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM_CANCEL_MSG,
98 1.1 dholland (xdrproc_t) xdr_nlm_cancargs, (caddr_t) argp,
99 1.1 dholland (xdrproc_t) xdr_void, (caddr_t) clnt_res,
100 1.1 dholland timo));
101 1.1 dholland }
102 1.1 dholland
103 1.1 dholland enum clnt_stat
104 1.1 dholland nlm_unlock_msg_1(struct nlm_unlockargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
105 1.1 dholland {
106 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM_UNLOCK_MSG,
107 1.1 dholland (xdrproc_t) xdr_nlm_unlockargs, (caddr_t) argp,
108 1.1 dholland (xdrproc_t) xdr_void, (caddr_t) clnt_res,
109 1.1 dholland timo));
110 1.1 dholland }
111 1.1 dholland
112 1.1 dholland enum clnt_stat
113 1.1 dholland nlm_granted_msg_1(struct nlm_testargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
114 1.1 dholland {
115 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM_GRANTED_MSG,
116 1.1 dholland (xdrproc_t) xdr_nlm_testargs, (caddr_t) argp,
117 1.1 dholland (xdrproc_t) xdr_void, (caddr_t) clnt_res,
118 1.1 dholland timo));
119 1.1 dholland }
120 1.1 dholland
121 1.1 dholland enum clnt_stat
122 1.1 dholland nlm_test_res_1(nlm_testres *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
123 1.1 dholland {
124 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM_TEST_RES,
125 1.1 dholland (xdrproc_t) xdr_nlm_testres, (caddr_t) argp,
126 1.1 dholland (xdrproc_t) xdr_void, (caddr_t) clnt_res,
127 1.1 dholland timo));
128 1.1 dholland }
129 1.1 dholland
130 1.1 dholland enum clnt_stat
131 1.1 dholland nlm_lock_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
132 1.1 dholland {
133 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM_LOCK_RES,
134 1.1 dholland (xdrproc_t) xdr_nlm_res, (caddr_t) argp,
135 1.1 dholland (xdrproc_t) xdr_void, (caddr_t) clnt_res,
136 1.1 dholland timo));
137 1.1 dholland }
138 1.1 dholland
139 1.1 dholland enum clnt_stat
140 1.1 dholland nlm_cancel_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
141 1.1 dholland {
142 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM_CANCEL_RES,
143 1.1 dholland (xdrproc_t) xdr_nlm_res, (caddr_t) argp,
144 1.1 dholland (xdrproc_t) xdr_void, (caddr_t) clnt_res,
145 1.1 dholland timo));
146 1.1 dholland }
147 1.1 dholland
148 1.1 dholland enum clnt_stat
149 1.1 dholland nlm_unlock_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
150 1.1 dholland {
151 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM_UNLOCK_RES,
152 1.1 dholland (xdrproc_t) xdr_nlm_res, (caddr_t) argp,
153 1.1 dholland (xdrproc_t) xdr_void, (caddr_t) clnt_res,
154 1.1 dholland timo));
155 1.1 dholland }
156 1.1 dholland
157 1.1 dholland enum clnt_stat
158 1.1 dholland nlm_granted_res_1(nlm_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
159 1.1 dholland {
160 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM_GRANTED_RES,
161 1.1 dholland (xdrproc_t) xdr_nlm_res, (caddr_t) argp,
162 1.1 dholland (xdrproc_t) xdr_void, (caddr_t) clnt_res,
163 1.1 dholland timo));
164 1.1 dholland }
165 1.1 dholland
166 1.1 dholland enum clnt_stat
167 1.1 dholland nlm_share_3(nlm_shareargs *argp, nlm_shareres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
168 1.1 dholland {
169 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM_SHARE,
170 1.1 dholland (xdrproc_t) xdr_nlm_shareargs, (caddr_t) argp,
171 1.1 dholland (xdrproc_t) xdr_nlm_shareres, (caddr_t) clnt_res,
172 1.1 dholland timo));
173 1.1 dholland }
174 1.1 dholland
175 1.1 dholland enum clnt_stat
176 1.1 dholland nlm_unshare_3(nlm_shareargs *argp, nlm_shareres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
177 1.1 dholland {
178 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM_UNSHARE,
179 1.1 dholland (xdrproc_t) xdr_nlm_shareargs, (caddr_t) argp,
180 1.1 dholland (xdrproc_t) xdr_nlm_shareres, (caddr_t) clnt_res,
181 1.1 dholland timo));
182 1.1 dholland }
183 1.1 dholland
184 1.1 dholland enum clnt_stat
185 1.1 dholland nlm_nm_lock_3(nlm_lockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
186 1.1 dholland {
187 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM_NM_LOCK,
188 1.1 dholland (xdrproc_t) xdr_nlm_lockargs, (caddr_t) argp,
189 1.1 dholland (xdrproc_t) xdr_nlm_res, (caddr_t) clnt_res,
190 1.1 dholland timo));
191 1.1 dholland }
192 1.1 dholland
193 1.1 dholland enum clnt_stat
194 1.1 dholland nlm_free_all_3(nlm_notify *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
195 1.1 dholland {
196 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM_FREE_ALL,
197 1.1 dholland (xdrproc_t) xdr_nlm_notify, (caddr_t) argp,
198 1.1 dholland (xdrproc_t) xdr_void, (caddr_t) clnt_res,
199 1.1 dholland timo));
200 1.1 dholland }
201 1.1 dholland
202 1.1 dholland enum clnt_stat
203 1.1 dholland nlm4_test_4(nlm4_testargs *argp, nlm4_testres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
204 1.1 dholland {
205 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM4_TEST,
206 1.1 dholland (xdrproc_t) xdr_nlm4_testargs, (caddr_t) argp,
207 1.1 dholland (xdrproc_t) xdr_nlm4_testres, (caddr_t) clnt_res,
208 1.1 dholland timo));
209 1.1 dholland }
210 1.1 dholland
211 1.1 dholland enum clnt_stat
212 1.1 dholland nlm4_lock_4(nlm4_lockargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
213 1.1 dholland {
214 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM4_LOCK,
215 1.1 dholland (xdrproc_t) xdr_nlm4_lockargs, (caddr_t) argp,
216 1.1 dholland (xdrproc_t) xdr_nlm4_res, (caddr_t) clnt_res,
217 1.1 dholland timo));
218 1.1 dholland }
219 1.1 dholland
220 1.1 dholland enum clnt_stat
221 1.1 dholland nlm4_cancel_4(nlm4_cancargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
222 1.1 dholland {
223 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM4_CANCEL,
224 1.1 dholland (xdrproc_t) xdr_nlm4_cancargs, (caddr_t) argp,
225 1.1 dholland (xdrproc_t) xdr_nlm4_res, (caddr_t) clnt_res,
226 1.1 dholland timo));
227 1.1 dholland }
228 1.1 dholland
229 1.1 dholland enum clnt_stat
230 1.1 dholland nlm4_unlock_4(nlm4_unlockargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
231 1.1 dholland {
232 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM4_UNLOCK,
233 1.1 dholland (xdrproc_t) xdr_nlm4_unlockargs, (caddr_t) argp,
234 1.1 dholland (xdrproc_t) xdr_nlm4_res, (caddr_t) clnt_res,
235 1.1 dholland timo));
236 1.1 dholland }
237 1.1 dholland
238 1.1 dholland enum clnt_stat
239 1.1 dholland nlm4_granted_4(nlm4_testargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
240 1.1 dholland {
241 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM4_GRANTED,
242 1.1 dholland (xdrproc_t) xdr_nlm4_testargs, (caddr_t) argp,
243 1.1 dholland (xdrproc_t) xdr_nlm4_res, (caddr_t) clnt_res,
244 1.1 dholland timo));
245 1.1 dholland }
246 1.1 dholland
247 1.1 dholland enum clnt_stat
248 1.1 dholland nlm4_test_msg_4(nlm4_testargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
249 1.1 dholland {
250 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM4_TEST_MSG,
251 1.1 dholland (xdrproc_t) xdr_nlm4_testargs, (caddr_t) argp,
252 1.1 dholland (xdrproc_t) xdr_void, (caddr_t) clnt_res,
253 1.1 dholland timo));
254 1.1 dholland }
255 1.1 dholland
256 1.1 dholland enum clnt_stat
257 1.1 dholland nlm4_lock_msg_4(nlm4_lockargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
258 1.1 dholland {
259 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM4_LOCK_MSG,
260 1.1 dholland (xdrproc_t) xdr_nlm4_lockargs, (caddr_t) argp,
261 1.1 dholland (xdrproc_t) xdr_void, (caddr_t) clnt_res,
262 1.1 dholland timo));
263 1.1 dholland }
264 1.1 dholland
265 1.1 dholland enum clnt_stat
266 1.1 dholland nlm4_cancel_msg_4(nlm4_cancargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
267 1.1 dholland {
268 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM4_CANCEL_MSG,
269 1.1 dholland (xdrproc_t) xdr_nlm4_cancargs, (caddr_t) argp,
270 1.1 dholland (xdrproc_t) xdr_void, (caddr_t) clnt_res,
271 1.1 dholland timo));
272 1.1 dholland }
273 1.1 dholland
274 1.1 dholland enum clnt_stat
275 1.1 dholland nlm4_unlock_msg_4(nlm4_unlockargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
276 1.1 dholland {
277 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM4_UNLOCK_MSG,
278 1.1 dholland (xdrproc_t) xdr_nlm4_unlockargs, (caddr_t) argp,
279 1.1 dholland (xdrproc_t) xdr_void, (caddr_t) clnt_res,
280 1.1 dholland timo));
281 1.1 dholland }
282 1.1 dholland
283 1.1 dholland enum clnt_stat
284 1.1 dholland nlm4_granted_msg_4(nlm4_testargs *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
285 1.1 dholland {
286 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM4_GRANTED_MSG,
287 1.1 dholland (xdrproc_t) xdr_nlm4_testargs, (caddr_t) argp,
288 1.1 dholland (xdrproc_t) xdr_void, (caddr_t) clnt_res,
289 1.1 dholland timo));
290 1.1 dholland }
291 1.1 dholland
292 1.1 dholland enum clnt_stat
293 1.1 dholland nlm4_test_res_4(nlm4_testres *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
294 1.1 dholland {
295 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM4_TEST_RES,
296 1.1 dholland (xdrproc_t) xdr_nlm4_testres, (caddr_t) argp,
297 1.1 dholland (xdrproc_t) xdr_void, (caddr_t) clnt_res,
298 1.1 dholland timo));
299 1.1 dholland }
300 1.1 dholland
301 1.1 dholland enum clnt_stat
302 1.1 dholland nlm4_lock_res_4(nlm4_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
303 1.1 dholland {
304 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM4_LOCK_RES,
305 1.1 dholland (xdrproc_t) xdr_nlm4_res, (caddr_t) argp,
306 1.1 dholland (xdrproc_t) xdr_void, (caddr_t) clnt_res,
307 1.1 dholland timo));
308 1.1 dholland }
309 1.1 dholland
310 1.1 dholland enum clnt_stat
311 1.1 dholland nlm4_cancel_res_4(nlm4_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
312 1.1 dholland {
313 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM4_CANCEL_RES,
314 1.1 dholland (xdrproc_t) xdr_nlm4_res, (caddr_t) argp,
315 1.1 dholland (xdrproc_t) xdr_void, (caddr_t) clnt_res,
316 1.1 dholland timo));
317 1.1 dholland }
318 1.1 dholland
319 1.1 dholland enum clnt_stat
320 1.1 dholland nlm4_unlock_res_4(nlm4_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
321 1.1 dholland {
322 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM4_UNLOCK_RES,
323 1.1 dholland (xdrproc_t) xdr_nlm4_res, (caddr_t) argp,
324 1.1 dholland (xdrproc_t) xdr_void, (caddr_t) clnt_res,
325 1.1 dholland timo));
326 1.1 dholland }
327 1.1 dholland
328 1.1 dholland enum clnt_stat
329 1.1 dholland nlm4_granted_res_4(nlm4_res *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
330 1.1 dholland {
331 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM4_GRANTED_RES,
332 1.1 dholland (xdrproc_t) xdr_nlm4_res, (caddr_t) argp,
333 1.1 dholland (xdrproc_t) xdr_void, (caddr_t) clnt_res,
334 1.1 dholland timo));
335 1.1 dholland }
336 1.1 dholland
337 1.1 dholland enum clnt_stat
338 1.1 dholland nlm4_share_4(nlm4_shareargs *argp, nlm4_shareres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
339 1.1 dholland {
340 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM4_SHARE,
341 1.1 dholland (xdrproc_t) xdr_nlm4_shareargs, (caddr_t) argp,
342 1.1 dholland (xdrproc_t) xdr_nlm4_shareres, (caddr_t) clnt_res,
343 1.1 dholland timo));
344 1.1 dholland }
345 1.1 dholland
346 1.1 dholland enum clnt_stat
347 1.1 dholland nlm4_unshare_4(nlm4_shareargs *argp, nlm4_shareres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
348 1.1 dholland {
349 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM4_UNSHARE,
350 1.1 dholland (xdrproc_t) xdr_nlm4_shareargs, (caddr_t) argp,
351 1.1 dholland (xdrproc_t) xdr_nlm4_shareres, (caddr_t) clnt_res,
352 1.1 dholland timo));
353 1.1 dholland }
354 1.1 dholland
355 1.1 dholland enum clnt_stat
356 1.1 dholland nlm4_nm_lock_4(nlm4_lockargs *argp, nlm4_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
357 1.1 dholland {
358 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM4_NM_LOCK,
359 1.1 dholland (xdrproc_t) xdr_nlm4_lockargs, (caddr_t) argp,
360 1.1 dholland (xdrproc_t) xdr_nlm4_res, (caddr_t) clnt_res,
361 1.1 dholland timo));
362 1.1 dholland }
363 1.1 dholland
364 1.1 dholland enum clnt_stat
365 1.1 dholland nlm4_free_all_4(nlm4_notify *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo)
366 1.1 dholland {
367 1.1 dholland return (CLNT_CALL_EXT(clnt, ext, NLM4_FREE_ALL,
368 1.1 dholland (xdrproc_t) xdr_nlm4_notify, (caddr_t) argp,
369 1.1 dholland (xdrproc_t) xdr_void, (caddr_t) clnt_res,
370 1.1 dholland timo));
371 1.1 dholland }
372