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