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