1/*
2 * Please do not edit this file.
3 * It was generated using rpcgen.
4 */
5
6#ifndef _NLM_PROT_H_RPCGEN
7#define _NLM_PROT_H_RPCGEN
8
9#define RPCGEN_VERSION	199506
10
11#include <oncrpc/rpc.h>
12
13#define LM_MAXSTRLEN	1024
14#define MAXNAMELEN	LM_MAXSTRLEN+1
15
16enum nlm_stats {
17	nlm_granted = 0,
18	nlm_denied = 1,
19	nlm_denied_nolocks = 2,
20	nlm_blocked = 3,
21	nlm_denied_grace_period = 4,
22	nlm_deadlck = 5,
23};
24typedef enum nlm_stats nlm_stats;
25#ifdef __cplusplus
26extern "C" bool_t xdr_nlm_stats(XDR *, nlm_stats*);
27#elif __STDC__
28extern  bool_t xdr_nlm_stats(XDR *, nlm_stats*);
29#else /* Old Style C */
30bool_t xdr_nlm_stats();
31#endif /* Old Style C */
32
33
34struct nlm_holder {
35	bool_t exclusive;
36	int svid;
37	netobj oh;
38	u_int l_offset;
39	u_int l_len;
40};
41typedef struct nlm_holder nlm_holder;
42#ifdef __cplusplus
43extern "C" bool_t xdr_nlm_holder(XDR *, nlm_holder*);
44#elif __STDC__
45extern  bool_t xdr_nlm_holder(XDR *, nlm_holder*);
46#else /* Old Style C */
47bool_t xdr_nlm_holder();
48#endif /* Old Style C */
49
50
51struct nlm_testrply {
52	nlm_stats stat;
53	union {
54		struct nlm_holder holder;
55	} nlm_testrply_u;
56};
57typedef struct nlm_testrply nlm_testrply;
58#ifdef __cplusplus
59extern "C" bool_t xdr_nlm_testrply(XDR *, nlm_testrply*);
60#elif __STDC__
61extern  bool_t xdr_nlm_testrply(XDR *, nlm_testrply*);
62#else /* Old Style C */
63bool_t xdr_nlm_testrply();
64#endif /* Old Style C */
65
66
67struct nlm_stat {
68	nlm_stats stat;
69};
70typedef struct nlm_stat nlm_stat;
71#ifdef __cplusplus
72extern "C" bool_t xdr_nlm_stat(XDR *, nlm_stat*);
73#elif __STDC__
74extern  bool_t xdr_nlm_stat(XDR *, nlm_stat*);
75#else /* Old Style C */
76bool_t xdr_nlm_stat();
77#endif /* Old Style C */
78
79
80struct nlm_res {
81	netobj cookie;
82	nlm_stat stat;
83};
84typedef struct nlm_res nlm_res;
85#ifdef __cplusplus
86extern "C" bool_t xdr_nlm_res(XDR *, nlm_res*);
87#elif __STDC__
88extern  bool_t xdr_nlm_res(XDR *, nlm_res*);
89#else /* Old Style C */
90bool_t xdr_nlm_res();
91#endif /* Old Style C */
92
93
94struct nlm_testres {
95	netobj cookie;
96	nlm_testrply stat;
97};
98typedef struct nlm_testres nlm_testres;
99#ifdef __cplusplus
100extern "C" bool_t xdr_nlm_testres(XDR *, nlm_testres*);
101#elif __STDC__
102extern  bool_t xdr_nlm_testres(XDR *, nlm_testres*);
103#else /* Old Style C */
104bool_t xdr_nlm_testres();
105#endif /* Old Style C */
106
107
108struct nlm_lock {
109	char *caller_name;
110	netobj fh;
111	netobj oh;
112	int svid;
113	u_int l_offset;
114	u_int l_len;
115};
116typedef struct nlm_lock nlm_lock;
117#ifdef __cplusplus
118extern "C" bool_t xdr_nlm_lock(XDR *, nlm_lock*);
119#elif __STDC__
120extern  bool_t xdr_nlm_lock(XDR *, nlm_lock*);
121#else /* Old Style C */
122bool_t xdr_nlm_lock();
123#endif /* Old Style C */
124
125
126struct nlm_lockargs {
127	netobj cookie;
128	bool_t block;
129	bool_t exclusive;
130	struct nlm_lock alock;
131	bool_t reclaim;
132	int state;
133};
134typedef struct nlm_lockargs nlm_lockargs;
135#ifdef __cplusplus
136extern "C" bool_t xdr_nlm_lockargs(XDR *, nlm_lockargs*);
137#elif __STDC__
138extern  bool_t xdr_nlm_lockargs(XDR *, nlm_lockargs*);
139#else /* Old Style C */
140bool_t xdr_nlm_lockargs();
141#endif /* Old Style C */
142
143
144struct nlm_cancargs {
145	netobj cookie;
146	bool_t block;
147	bool_t exclusive;
148	struct nlm_lock alock;
149};
150typedef struct nlm_cancargs nlm_cancargs;
151#ifdef __cplusplus
152extern "C" bool_t xdr_nlm_cancargs(XDR *, nlm_cancargs*);
153#elif __STDC__
154extern  bool_t xdr_nlm_cancargs(XDR *, nlm_cancargs*);
155#else /* Old Style C */
156bool_t xdr_nlm_cancargs();
157#endif /* Old Style C */
158
159
160struct nlm_testargs {
161	netobj cookie;
162	bool_t exclusive;
163	struct nlm_lock alock;
164};
165typedef struct nlm_testargs nlm_testargs;
166#ifdef __cplusplus
167extern "C" bool_t xdr_nlm_testargs(XDR *, nlm_testargs*);
168#elif __STDC__
169extern  bool_t xdr_nlm_testargs(XDR *, nlm_testargs*);
170#else /* Old Style C */
171bool_t xdr_nlm_testargs();
172#endif /* Old Style C */
173
174
175struct nlm_unlockargs {
176	netobj cookie;
177	struct nlm_lock alock;
178};
179typedef struct nlm_unlockargs nlm_unlockargs;
180#ifdef __cplusplus
181extern "C" bool_t xdr_nlm_unlockargs(XDR *, nlm_unlockargs*);
182#elif __STDC__
183extern  bool_t xdr_nlm_unlockargs(XDR *, nlm_unlockargs*);
184#else /* Old Style C */
185bool_t xdr_nlm_unlockargs();
186#endif /* Old Style C */
187
188/*
189 * The following enums are actually bit encoded for efficient
190 * boolean algebra.... DON'T change them.....
191 */
192
193enum fsh_mode {
194	fsm_DN = 0,
195	fsm_DR = 1,
196	fsm_DW = 2,
197	fsm_DRW = 3,
198};
199typedef enum fsh_mode fsh_mode;
200#ifdef __cplusplus
201extern "C" bool_t xdr_fsh_mode(XDR *, fsh_mode*);
202#elif __STDC__
203extern  bool_t xdr_fsh_mode(XDR *, fsh_mode*);
204#else /* Old Style C */
205bool_t xdr_fsh_mode();
206#endif /* Old Style C */
207
208
209enum fsh_access {
210	fsa_NONE = 0,
211	fsa_R = 1,
212	fsa_W = 2,
213	fsa_RW = 3,
214};
215typedef enum fsh_access fsh_access;
216#ifdef __cplusplus
217extern "C" bool_t xdr_fsh_access(XDR *, fsh_access*);
218#elif __STDC__
219extern  bool_t xdr_fsh_access(XDR *, fsh_access*);
220#else /* Old Style C */
221bool_t xdr_fsh_access();
222#endif /* Old Style C */
223
224
225struct nlm_share {
226	char *caller_name;
227	netobj fh;
228	netobj oh;
229	fsh_mode mode;
230	fsh_access access;
231};
232typedef struct nlm_share nlm_share;
233#ifdef __cplusplus
234extern "C" bool_t xdr_nlm_share(XDR *, nlm_share*);
235#elif __STDC__
236extern  bool_t xdr_nlm_share(XDR *, nlm_share*);
237#else /* Old Style C */
238bool_t xdr_nlm_share();
239#endif /* Old Style C */
240
241
242struct nlm_shareargs {
243	netobj cookie;
244	nlm_share share;
245	bool_t reclaim;
246};
247typedef struct nlm_shareargs nlm_shareargs;
248#ifdef __cplusplus
249extern "C" bool_t xdr_nlm_shareargs(XDR *, nlm_shareargs*);
250#elif __STDC__
251extern  bool_t xdr_nlm_shareargs(XDR *, nlm_shareargs*);
252#else /* Old Style C */
253bool_t xdr_nlm_shareargs();
254#endif /* Old Style C */
255
256
257struct nlm_shareres {
258	netobj cookie;
259	nlm_stats stat;
260	int sequence;
261};
262typedef struct nlm_shareres nlm_shareres;
263#ifdef __cplusplus
264extern "C" bool_t xdr_nlm_shareres(XDR *, nlm_shareres*);
265#elif __STDC__
266extern  bool_t xdr_nlm_shareres(XDR *, nlm_shareres*);
267#else /* Old Style C */
268bool_t xdr_nlm_shareres();
269#endif /* Old Style C */
270
271
272struct nlm_notify {
273	char *name;
274	rpc_int state;
275};
276typedef struct nlm_notify nlm_notify;
277#ifdef __cplusplus
278extern "C" bool_t xdr_nlm_notify(XDR *, nlm_notify*);
279#elif __STDC__
280extern  bool_t xdr_nlm_notify(XDR *, nlm_notify*);
281#else /* Old Style C */
282bool_t xdr_nlm_notify();
283#endif /* Old Style C */
284
285/* definitions for NLM version 4 */
286
287enum nlm4_stats {
288	nlm4_granted = 0,
289	nlm4_denied = 1,
290	nlm4_denied_nolocks = 2,
291	nlm4_blocked = 3,
292	nlm4_denied_grace_period = 4,
293	nlm4_deadlck = 5,
294	nlm4_rofs = 6,
295	nlm4_stale_fh = 7,
296	nlm4_fbig = 8,
297	nlm4_failed = 9,
298};
299typedef enum nlm4_stats nlm4_stats;
300#ifdef __cplusplus
301extern "C" bool_t xdr_nlm4_stats(XDR *, nlm4_stats*);
302#elif __STDC__
303extern  bool_t xdr_nlm4_stats(XDR *, nlm4_stats*);
304#else /* Old Style C */
305bool_t xdr_nlm4_stats();
306#endif /* Old Style C */
307
308
309struct nlm4_stat {
310	nlm4_stats stat;
311};
312typedef struct nlm4_stat nlm4_stat;
313#ifdef __cplusplus
314extern "C" bool_t xdr_nlm4_stat(XDR *, nlm4_stat*);
315#elif __STDC__
316extern  bool_t xdr_nlm4_stat(XDR *, nlm4_stat*);
317#else /* Old Style C */
318bool_t xdr_nlm4_stat();
319#endif /* Old Style C */
320
321
322struct nlm4_holder {
323	bool_t exclusive;
324	u_int32_t svid;
325	netobj oh;
326	u_int64_t l_offset;
327	u_int64_t l_len;
328};
329typedef struct nlm4_holder nlm4_holder;
330#ifdef __cplusplus
331extern "C" bool_t xdr_nlm4_holder(XDR *, nlm4_holder*);
332#elif __STDC__
333extern  bool_t xdr_nlm4_holder(XDR *, nlm4_holder*);
334#else /* Old Style C */
335bool_t xdr_nlm4_holder();
336#endif /* Old Style C */
337
338
339struct nlm4_lock {
340	char *caller_name;
341	netobj fh;
342	netobj oh;
343	u_int32_t svid;
344	u_int64_t l_offset;
345	u_int64_t l_len;
346};
347typedef struct nlm4_lock nlm4_lock;
348#ifdef __cplusplus
349extern "C" bool_t xdr_nlm4_lock(XDR *, nlm4_lock*);
350#elif __STDC__
351extern  bool_t xdr_nlm4_lock(XDR *, nlm4_lock*);
352#else /* Old Style C */
353bool_t xdr_nlm4_lock();
354#endif /* Old Style C */
355
356
357struct nlm4_share {
358	char *caller_name;
359	netobj fh;
360	netobj oh;
361	fsh_mode mode;
362	fsh_access access;
363};
364typedef struct nlm4_share nlm4_share;
365#ifdef __cplusplus
366extern "C" bool_t xdr_nlm4_share(XDR *, nlm4_share*);
367#elif __STDC__
368extern  bool_t xdr_nlm4_share(XDR *, nlm4_share*);
369#else /* Old Style C */
370bool_t xdr_nlm4_share();
371#endif /* Old Style C */
372
373
374struct nlm4_testrply {
375	nlm4_stats stat;
376	union {
377		struct nlm4_holder holder;
378	} nlm4_testrply_u;
379};
380typedef struct nlm4_testrply nlm4_testrply;
381#ifdef __cplusplus
382extern "C" bool_t xdr_nlm4_testrply(XDR *, nlm4_testrply*);
383#elif __STDC__
384extern  bool_t xdr_nlm4_testrply(XDR *, nlm4_testrply*);
385#else /* Old Style C */
386bool_t xdr_nlm4_testrply();
387#endif /* Old Style C */
388
389
390struct nlm4_testres {
391	netobj cookie;
392	nlm4_testrply stat;
393};
394typedef struct nlm4_testres nlm4_testres;
395#ifdef __cplusplus
396extern "C" bool_t xdr_nlm4_testres(XDR *, nlm4_testres*);
397#elif __STDC__
398extern  bool_t xdr_nlm4_testres(XDR *, nlm4_testres*);
399#else /* Old Style C */
400bool_t xdr_nlm4_testres();
401#endif /* Old Style C */
402
403
404struct nlm4_testargs {
405	netobj cookie;
406	bool_t exclusive;
407	struct nlm4_lock alock;
408};
409typedef struct nlm4_testargs nlm4_testargs;
410#ifdef __cplusplus
411extern "C" bool_t xdr_nlm4_testargs(XDR *, nlm4_testargs*);
412#elif __STDC__
413extern  bool_t xdr_nlm4_testargs(XDR *, nlm4_testargs*);
414#else /* Old Style C */
415bool_t xdr_nlm4_testargs();
416#endif /* Old Style C */
417
418
419struct nlm4_res {
420	netobj cookie;
421	nlm4_stat stat;
422};
423typedef struct nlm4_res nlm4_res;
424#ifdef __cplusplus
425extern "C" bool_t xdr_nlm4_res(XDR *, nlm4_res*);
426#elif __STDC__
427extern  bool_t xdr_nlm4_res(XDR *, nlm4_res*);
428#else /* Old Style C */
429bool_t xdr_nlm4_res();
430#endif /* Old Style C */
431
432
433struct nlm4_lockargs {
434	netobj cookie;
435	bool_t block;
436	bool_t exclusive;
437	struct nlm4_lock alock;
438	bool_t reclaim;
439	int state;
440};
441typedef struct nlm4_lockargs nlm4_lockargs;
442#ifdef __cplusplus
443extern "C" bool_t xdr_nlm4_lockargs(XDR *, nlm4_lockargs*);
444#elif __STDC__
445extern  bool_t xdr_nlm4_lockargs(XDR *, nlm4_lockargs*);
446#else /* Old Style C */
447bool_t xdr_nlm4_lockargs();
448#endif /* Old Style C */
449
450
451struct nlm4_cancargs {
452	netobj cookie;
453	bool_t block;
454	bool_t exclusive;
455	struct nlm4_lock alock;
456};
457typedef struct nlm4_cancargs nlm4_cancargs;
458#ifdef __cplusplus
459extern "C" bool_t xdr_nlm4_cancargs(XDR *, nlm4_cancargs*);
460#elif __STDC__
461extern  bool_t xdr_nlm4_cancargs(XDR *, nlm4_cancargs*);
462#else /* Old Style C */
463bool_t xdr_nlm4_cancargs();
464#endif /* Old Style C */
465
466
467struct nlm4_unlockargs {
468	netobj cookie;
469	struct nlm4_lock alock;
470};
471typedef struct nlm4_unlockargs nlm4_unlockargs;
472#ifdef __cplusplus
473extern "C" bool_t xdr_nlm4_unlockargs(XDR *, nlm4_unlockargs*);
474#elif __STDC__
475extern  bool_t xdr_nlm4_unlockargs(XDR *, nlm4_unlockargs*);
476#else /* Old Style C */
477bool_t xdr_nlm4_unlockargs();
478#endif /* Old Style C */
479
480
481struct nlm4_shareargs {
482	netobj cookie;
483	nlm4_share share;
484	bool_t reclaim;
485};
486typedef struct nlm4_shareargs nlm4_shareargs;
487#ifdef __cplusplus
488extern "C" bool_t xdr_nlm4_shareargs(XDR *, nlm4_shareargs*);
489#elif __STDC__
490extern  bool_t xdr_nlm4_shareargs(XDR *, nlm4_shareargs*);
491#else /* Old Style C */
492bool_t xdr_nlm4_shareargs();
493#endif /* Old Style C */
494
495
496struct nlm4_shareres {
497	netobj cookie;
498	nlm4_stats stat;
499	int sequence;
500};
501typedef struct nlm4_shareres nlm4_shareres;
502#ifdef __cplusplus
503extern "C" bool_t xdr_nlm4_shareres(XDR *, nlm4_shareres*);
504#elif __STDC__
505extern  bool_t xdr_nlm4_shareres(XDR *, nlm4_shareres*);
506#else /* Old Style C */
507bool_t xdr_nlm4_shareres();
508#endif /* Old Style C */
509
510
511struct nlm_sm_status {
512	char *mon_name;
513	int state;
514	char priv[16];
515};
516typedef struct nlm_sm_status nlm_sm_status;
517#ifdef __cplusplus
518extern "C" bool_t xdr_nlm_sm_status(XDR *, nlm_sm_status*);
519#elif __STDC__
520extern  bool_t xdr_nlm_sm_status(XDR *, nlm_sm_status*);
521#else /* Old Style C */
522bool_t xdr_nlm_sm_status();
523#endif /* Old Style C */
524
525
526struct nlm4_notify {
527	char *name;
528	int32_t state;
529};
530typedef struct nlm4_notify nlm4_notify;
531#ifdef __cplusplus
532extern "C" bool_t xdr_nlm4_notify(XDR *, nlm4_notify*);
533#elif __STDC__
534extern  bool_t xdr_nlm4_notify(XDR *, nlm4_notify*);
535#else /* Old Style C */
536bool_t xdr_nlm4_notify();
537#endif /* Old Style C */
538
539
540#define NLM_PROG ((rpc_uint)100021)
541#define NLM_SM ((rpc_uint)0)
542
543#ifdef __cplusplus
544#define NLM_SM_NOTIFY ((rpc_uint)1)
545extern "C" void * nlm_sm_notify_0(struct nlm_sm_status *, CLIENT *);
546extern "C" void * nlm_sm_notify_0_svc(struct nlm_sm_status *, struct svc_req *);
547
548#elif __STDC__
549#define NLM_SM_NOTIFY ((rpc_uint)1)
550extern  void * nlm_sm_notify_0(struct nlm_sm_status *, CLIENT *);
551extern  void * nlm_sm_notify_0_svc(struct nlm_sm_status *, struct svc_req *);
552
553#else /* Old Style C */
554#define NLM_SM_NOTIFY ((rpc_uint)1)
555extern  void * nlm_sm_notify_0();
556extern  void * nlm_sm_notify_0_svc();
557#endif /* Old Style C */
558#define NLM_VERS ((rpc_uint)1)
559
560#ifdef __cplusplus
561#define NLM_TEST ((rpc_uint)1)
562extern "C" nlm_testres * nlm_test_1(struct nlm_testargs *, CLIENT *);
563extern "C" nlm_testres * nlm_test_1_svc(struct nlm_testargs *, struct svc_req *);
564#define NLM_LOCK ((rpc_uint)2)
565extern "C" nlm_res * nlm_lock_1(struct nlm_lockargs *, CLIENT *);
566extern "C" nlm_res * nlm_lock_1_svc(struct nlm_lockargs *, struct svc_req *);
567#define NLM_CANCEL ((rpc_uint)3)
568extern "C" nlm_res * nlm_cancel_1(struct nlm_cancargs *, CLIENT *);
569extern "C" nlm_res * nlm_cancel_1_svc(struct nlm_cancargs *, struct svc_req *);
570#define NLM_UNLOCK ((rpc_uint)4)
571extern "C" nlm_res * nlm_unlock_1(struct nlm_unlockargs *, CLIENT *);
572extern "C" nlm_res * nlm_unlock_1_svc(struct nlm_unlockargs *, struct svc_req *);
573#define NLM_GRANTED ((rpc_uint)5)
574extern "C" nlm_res * nlm_granted_1(struct nlm_testargs *, CLIENT *);
575extern "C" nlm_res * nlm_granted_1_svc(struct nlm_testargs *, struct svc_req *);
576#define NLM_TEST_MSG ((rpc_uint)6)
577extern "C" void * nlm_test_msg_1(struct nlm_testargs *, CLIENT *);
578extern "C" void * nlm_test_msg_1_svc(struct nlm_testargs *, struct svc_req *);
579#define NLM_LOCK_MSG ((rpc_uint)7)
580extern "C" void * nlm_lock_msg_1(struct nlm_lockargs *, CLIENT *);
581extern "C" void * nlm_lock_msg_1_svc(struct nlm_lockargs *, struct svc_req *);
582#define NLM_CANCEL_MSG ((rpc_uint)8)
583extern "C" void * nlm_cancel_msg_1(struct nlm_cancargs *, CLIENT *);
584extern "C" void * nlm_cancel_msg_1_svc(struct nlm_cancargs *, struct svc_req *);
585#define NLM_UNLOCK_MSG ((rpc_uint)9)
586extern "C" void * nlm_unlock_msg_1(struct nlm_unlockargs *, CLIENT *);
587extern "C" void * nlm_unlock_msg_1_svc(struct nlm_unlockargs *, struct svc_req *);
588#define NLM_GRANTED_MSG ((rpc_uint)10)
589extern "C" void * nlm_granted_msg_1(struct nlm_testargs *, CLIENT *);
590extern "C" void * nlm_granted_msg_1_svc(struct nlm_testargs *, struct svc_req *);
591#define NLM_TEST_RES ((rpc_uint)11)
592extern "C" void * nlm_test_res_1(nlm_testres *, CLIENT *);
593extern "C" void * nlm_test_res_1_svc(nlm_testres *, struct svc_req *);
594#define NLM_LOCK_RES ((rpc_uint)12)
595extern "C" void * nlm_lock_res_1(nlm_res *, CLIENT *);
596extern "C" void * nlm_lock_res_1_svc(nlm_res *, struct svc_req *);
597#define NLM_CANCEL_RES ((rpc_uint)13)
598extern "C" void * nlm_cancel_res_1(nlm_res *, CLIENT *);
599extern "C" void * nlm_cancel_res_1_svc(nlm_res *, struct svc_req *);
600#define NLM_UNLOCK_RES ((rpc_uint)14)
601extern "C" void * nlm_unlock_res_1(nlm_res *, CLIENT *);
602extern "C" void * nlm_unlock_res_1_svc(nlm_res *, struct svc_req *);
603#define NLM_GRANTED_RES ((rpc_uint)15)
604extern "C" void * nlm_granted_res_1(nlm_res *, CLIENT *);
605extern "C" void * nlm_granted_res_1_svc(nlm_res *, struct svc_req *);
606
607#elif __STDC__
608#define NLM_TEST ((rpc_uint)1)
609extern  nlm_testres * nlm_test_1(struct nlm_testargs *, CLIENT *);
610extern  nlm_testres * nlm_test_1_svc(struct nlm_testargs *, struct svc_req *);
611#define NLM_LOCK ((rpc_uint)2)
612extern  nlm_res * nlm_lock_1(struct nlm_lockargs *, CLIENT *);
613extern  nlm_res * nlm_lock_1_svc(struct nlm_lockargs *, struct svc_req *);
614#define NLM_CANCEL ((rpc_uint)3)
615extern  nlm_res * nlm_cancel_1(struct nlm_cancargs *, CLIENT *);
616extern  nlm_res * nlm_cancel_1_svc(struct nlm_cancargs *, struct svc_req *);
617#define NLM_UNLOCK ((rpc_uint)4)
618extern  nlm_res * nlm_unlock_1(struct nlm_unlockargs *, CLIENT *);
619extern  nlm_res * nlm_unlock_1_svc(struct nlm_unlockargs *, struct svc_req *);
620#define NLM_GRANTED ((rpc_uint)5)
621extern  nlm_res * nlm_granted_1(struct nlm_testargs *, CLIENT *);
622extern  nlm_res * nlm_granted_1_svc(struct nlm_testargs *, struct svc_req *);
623#define NLM_TEST_MSG ((rpc_uint)6)
624extern  void * nlm_test_msg_1(struct nlm_testargs *, CLIENT *);
625extern  void * nlm_test_msg_1_svc(struct nlm_testargs *, struct svc_req *);
626#define NLM_LOCK_MSG ((rpc_uint)7)
627extern  void * nlm_lock_msg_1(struct nlm_lockargs *, CLIENT *);
628extern  void * nlm_lock_msg_1_svc(struct nlm_lockargs *, struct svc_req *);
629#define NLM_CANCEL_MSG ((rpc_uint)8)
630extern  void * nlm_cancel_msg_1(struct nlm_cancargs *, CLIENT *);
631extern  void * nlm_cancel_msg_1_svc(struct nlm_cancargs *, struct svc_req *);
632#define NLM_UNLOCK_MSG ((rpc_uint)9)
633extern  void * nlm_unlock_msg_1(struct nlm_unlockargs *, CLIENT *);
634extern  void * nlm_unlock_msg_1_svc(struct nlm_unlockargs *, struct svc_req *);
635#define NLM_GRANTED_MSG ((rpc_uint)10)
636extern  void * nlm_granted_msg_1(struct nlm_testargs *, CLIENT *);
637extern  void * nlm_granted_msg_1_svc(struct nlm_testargs *, struct svc_req *);
638#define NLM_TEST_RES ((rpc_uint)11)
639extern  void * nlm_test_res_1(nlm_testres *, CLIENT *);
640extern  void * nlm_test_res_1_svc(nlm_testres *, struct svc_req *);
641#define NLM_LOCK_RES ((rpc_uint)12)
642extern  void * nlm_lock_res_1(nlm_res *, CLIENT *);
643extern  void * nlm_lock_res_1_svc(nlm_res *, struct svc_req *);
644#define NLM_CANCEL_RES ((rpc_uint)13)
645extern  void * nlm_cancel_res_1(nlm_res *, CLIENT *);
646extern  void * nlm_cancel_res_1_svc(nlm_res *, struct svc_req *);
647#define NLM_UNLOCK_RES ((rpc_uint)14)
648extern  void * nlm_unlock_res_1(nlm_res *, CLIENT *);
649extern  void * nlm_unlock_res_1_svc(nlm_res *, struct svc_req *);
650#define NLM_GRANTED_RES ((rpc_uint)15)
651extern  void * nlm_granted_res_1(nlm_res *, CLIENT *);
652extern  void * nlm_granted_res_1_svc(nlm_res *, struct svc_req *);
653
654#else /* Old Style C */
655#define NLM_TEST ((rpc_uint)1)
656extern  nlm_testres * nlm_test_1();
657extern  nlm_testres * nlm_test_1_svc();
658#define NLM_LOCK ((rpc_uint)2)
659extern  nlm_res * nlm_lock_1();
660extern  nlm_res * nlm_lock_1_svc();
661#define NLM_CANCEL ((rpc_uint)3)
662extern  nlm_res * nlm_cancel_1();
663extern  nlm_res * nlm_cancel_1_svc();
664#define NLM_UNLOCK ((rpc_uint)4)
665extern  nlm_res * nlm_unlock_1();
666extern  nlm_res * nlm_unlock_1_svc();
667#define NLM_GRANTED ((rpc_uint)5)
668extern  nlm_res * nlm_granted_1();
669extern  nlm_res * nlm_granted_1_svc();
670#define NLM_TEST_MSG ((rpc_uint)6)
671extern  void * nlm_test_msg_1();
672extern  void * nlm_test_msg_1_svc();
673#define NLM_LOCK_MSG ((rpc_uint)7)
674extern  void * nlm_lock_msg_1();
675extern  void * nlm_lock_msg_1_svc();
676#define NLM_CANCEL_MSG ((rpc_uint)8)
677extern  void * nlm_cancel_msg_1();
678extern  void * nlm_cancel_msg_1_svc();
679#define NLM_UNLOCK_MSG ((rpc_uint)9)
680extern  void * nlm_unlock_msg_1();
681extern  void * nlm_unlock_msg_1_svc();
682#define NLM_GRANTED_MSG ((rpc_uint)10)
683extern  void * nlm_granted_msg_1();
684extern  void * nlm_granted_msg_1_svc();
685#define NLM_TEST_RES ((rpc_uint)11)
686extern  void * nlm_test_res_1();
687extern  void * nlm_test_res_1_svc();
688#define NLM_LOCK_RES ((rpc_uint)12)
689extern  void * nlm_lock_res_1();
690extern  void * nlm_lock_res_1_svc();
691#define NLM_CANCEL_RES ((rpc_uint)13)
692extern  void * nlm_cancel_res_1();
693extern  void * nlm_cancel_res_1_svc();
694#define NLM_UNLOCK_RES ((rpc_uint)14)
695extern  void * nlm_unlock_res_1();
696extern  void * nlm_unlock_res_1_svc();
697#define NLM_GRANTED_RES ((rpc_uint)15)
698extern  void * nlm_granted_res_1();
699extern  void * nlm_granted_res_1_svc();
700#endif /* Old Style C */
701#define NLM_VERSX ((rpc_uint)3)
702
703#ifdef __cplusplus
704extern "C" nlm_testres * nlm_test_3(struct nlm_testargs *, CLIENT *);
705extern "C" nlm_testres * nlm_test_3_svc(struct nlm_testargs *, struct svc_req *);
706extern "C" nlm_res * nlm_lock_3(struct nlm_lockargs *, CLIENT *);
707extern "C" nlm_res * nlm_lock_3_svc(struct nlm_lockargs *, struct svc_req *);
708extern "C" nlm_res * nlm_cancel_3(struct nlm_cancargs *, CLIENT *);
709extern "C" nlm_res * nlm_cancel_3_svc(struct nlm_cancargs *, struct svc_req *);
710extern "C" nlm_res * nlm_unlock_3(struct nlm_unlockargs *, CLIENT *);
711extern "C" nlm_res * nlm_unlock_3_svc(struct nlm_unlockargs *, struct svc_req *);
712extern "C" nlm_res * nlm_granted_3(struct nlm_testargs *, CLIENT *);
713extern "C" nlm_res * nlm_granted_3_svc(struct nlm_testargs *, struct svc_req *);
714extern "C" void * nlm_test_msg_3(struct nlm_testargs *, CLIENT *);
715extern "C" void * nlm_test_msg_3_svc(struct nlm_testargs *, struct svc_req *);
716extern "C" void * nlm_lock_msg_3(struct nlm_lockargs *, CLIENT *);
717extern "C" void * nlm_lock_msg_3_svc(struct nlm_lockargs *, struct svc_req *);
718extern "C" void * nlm_cancel_msg_3(struct nlm_cancargs *, CLIENT *);
719extern "C" void * nlm_cancel_msg_3_svc(struct nlm_cancargs *, struct svc_req *);
720extern "C" void * nlm_unlock_msg_3(struct nlm_unlockargs *, CLIENT *);
721extern "C" void * nlm_unlock_msg_3_svc(struct nlm_unlockargs *, struct svc_req *);
722extern "C" void * nlm_granted_msg_3(struct nlm_testargs *, CLIENT *);
723extern "C" void * nlm_granted_msg_3_svc(struct nlm_testargs *, struct svc_req *);
724extern "C" void * nlm_test_res_3(nlm_testres *, CLIENT *);
725extern "C" void * nlm_test_res_3_svc(nlm_testres *, struct svc_req *);
726extern "C" void * nlm_lock_res_3(nlm_res *, CLIENT *);
727extern "C" void * nlm_lock_res_3_svc(nlm_res *, struct svc_req *);
728extern "C" void * nlm_cancel_res_3(nlm_res *, CLIENT *);
729extern "C" void * nlm_cancel_res_3_svc(nlm_res *, struct svc_req *);
730extern "C" void * nlm_unlock_res_3(nlm_res *, CLIENT *);
731extern "C" void * nlm_unlock_res_3_svc(nlm_res *, struct svc_req *);
732extern "C" void * nlm_granted_res_3(nlm_res *, CLIENT *);
733extern "C" void * nlm_granted_res_3_svc(nlm_res *, struct svc_req *);
734#define NLM_SHARE ((rpc_uint)20)
735extern "C" nlm_shareres * nlm_share_3(nlm_shareargs *, CLIENT *);
736extern "C" nlm_shareres * nlm_share_3_svc(nlm_shareargs *, struct svc_req *);
737#define NLM_UNSHARE ((rpc_uint)21)
738extern "C" nlm_shareres * nlm_unshare_3(nlm_shareargs *, CLIENT *);
739extern "C" nlm_shareres * nlm_unshare_3_svc(nlm_shareargs *, struct svc_req *);
740#define NLM_NM_LOCK ((rpc_uint)22)
741extern "C" nlm_res * nlm_nm_lock_3(nlm_lockargs *, CLIENT *);
742extern "C" nlm_res * nlm_nm_lock_3_svc(nlm_lockargs *, struct svc_req *);
743#define NLM_FREE_ALL ((rpc_uint)23)
744extern "C" void * nlm_free_all_3(nlm_notify *, CLIENT *);
745extern "C" void * nlm_free_all_3_svc(nlm_notify *, struct svc_req *);
746
747#elif __STDC__
748extern  nlm_testres * nlm_test_3(struct nlm_testargs *, CLIENT *);
749extern  nlm_testres * nlm_test_3_svc(struct nlm_testargs *, struct svc_req *);
750extern  nlm_res * nlm_lock_3(struct nlm_lockargs *, CLIENT *);
751extern  nlm_res * nlm_lock_3_svc(struct nlm_lockargs *, struct svc_req *);
752extern  nlm_res * nlm_cancel_3(struct nlm_cancargs *, CLIENT *);
753extern  nlm_res * nlm_cancel_3_svc(struct nlm_cancargs *, struct svc_req *);
754extern  nlm_res * nlm_unlock_3(struct nlm_unlockargs *, CLIENT *);
755extern  nlm_res * nlm_unlock_3_svc(struct nlm_unlockargs *, struct svc_req *);
756extern  nlm_res * nlm_granted_3(struct nlm_testargs *, CLIENT *);
757extern  nlm_res * nlm_granted_3_svc(struct nlm_testargs *, struct svc_req *);
758extern  void * nlm_test_msg_3(struct nlm_testargs *, CLIENT *);
759extern  void * nlm_test_msg_3_svc(struct nlm_testargs *, struct svc_req *);
760extern  void * nlm_lock_msg_3(struct nlm_lockargs *, CLIENT *);
761extern  void * nlm_lock_msg_3_svc(struct nlm_lockargs *, struct svc_req *);
762extern  void * nlm_cancel_msg_3(struct nlm_cancargs *, CLIENT *);
763extern  void * nlm_cancel_msg_3_svc(struct nlm_cancargs *, struct svc_req *);
764extern  void * nlm_unlock_msg_3(struct nlm_unlockargs *, CLIENT *);
765extern  void * nlm_unlock_msg_3_svc(struct nlm_unlockargs *, struct svc_req *);
766extern  void * nlm_granted_msg_3(struct nlm_testargs *, CLIENT *);
767extern  void * nlm_granted_msg_3_svc(struct nlm_testargs *, struct svc_req *);
768extern  void * nlm_test_res_3(nlm_testres *, CLIENT *);
769extern  void * nlm_test_res_3_svc(nlm_testres *, struct svc_req *);
770extern  void * nlm_lock_res_3(nlm_res *, CLIENT *);
771extern  void * nlm_lock_res_3_svc(nlm_res *, struct svc_req *);
772extern  void * nlm_cancel_res_3(nlm_res *, CLIENT *);
773extern  void * nlm_cancel_res_3_svc(nlm_res *, struct svc_req *);
774extern  void * nlm_unlock_res_3(nlm_res *, CLIENT *);
775extern  void * nlm_unlock_res_3_svc(nlm_res *, struct svc_req *);
776extern  void * nlm_granted_res_3(nlm_res *, CLIENT *);
777extern  void * nlm_granted_res_3_svc(nlm_res *, struct svc_req *);
778#define NLM_SHARE ((rpc_uint)20)
779extern  nlm_shareres * nlm_share_3(nlm_shareargs *, CLIENT *);
780extern  nlm_shareres * nlm_share_3_svc(nlm_shareargs *, struct svc_req *);
781#define NLM_UNSHARE ((rpc_uint)21)
782extern  nlm_shareres * nlm_unshare_3(nlm_shareargs *, CLIENT *);
783extern  nlm_shareres * nlm_unshare_3_svc(nlm_shareargs *, struct svc_req *);
784#define NLM_NM_LOCK ((rpc_uint)22)
785extern  nlm_res * nlm_nm_lock_3(nlm_lockargs *, CLIENT *);
786extern  nlm_res * nlm_nm_lock_3_svc(nlm_lockargs *, struct svc_req *);
787#define NLM_FREE_ALL ((rpc_uint)23)
788extern  void * nlm_free_all_3(nlm_notify *, CLIENT *);
789extern  void * nlm_free_all_3_svc(nlm_notify *, struct svc_req *);
790
791#else /* Old Style C */
792extern  nlm_testres * nlm_test_3();
793extern  nlm_testres * nlm_test_3_svc();
794extern  nlm_res * nlm_lock_3();
795extern  nlm_res * nlm_lock_3_svc();
796extern  nlm_res * nlm_cancel_3();
797extern  nlm_res * nlm_cancel_3_svc();
798extern  nlm_res * nlm_unlock_3();
799extern  nlm_res * nlm_unlock_3_svc();
800extern  nlm_res * nlm_granted_3();
801extern  nlm_res * nlm_granted_3_svc();
802extern  void * nlm_test_msg_3();
803extern  void * nlm_test_msg_3_svc();
804extern  void * nlm_lock_msg_3();
805extern  void * nlm_lock_msg_3_svc();
806extern  void * nlm_cancel_msg_3();
807extern  void * nlm_cancel_msg_3_svc();
808extern  void * nlm_unlock_msg_3();
809extern  void * nlm_unlock_msg_3_svc();
810extern  void * nlm_granted_msg_3();
811extern  void * nlm_granted_msg_3_svc();
812extern  void * nlm_test_res_3();
813extern  void * nlm_test_res_3_svc();
814extern  void * nlm_lock_res_3();
815extern  void * nlm_lock_res_3_svc();
816extern  void * nlm_cancel_res_3();
817extern  void * nlm_cancel_res_3_svc();
818extern  void * nlm_unlock_res_3();
819extern  void * nlm_unlock_res_3_svc();
820extern  void * nlm_granted_res_3();
821extern  void * nlm_granted_res_3_svc();
822#define NLM_SHARE ((rpc_uint)20)
823extern  nlm_shareres * nlm_share_3();
824extern  nlm_shareres * nlm_share_3_svc();
825#define NLM_UNSHARE ((rpc_uint)21)
826extern  nlm_shareres * nlm_unshare_3();
827extern  nlm_shareres * nlm_unshare_3_svc();
828#define NLM_NM_LOCK ((rpc_uint)22)
829extern  nlm_res * nlm_nm_lock_3();
830extern  nlm_res * nlm_nm_lock_3_svc();
831#define NLM_FREE_ALL ((rpc_uint)23)
832extern  void * nlm_free_all_3();
833extern  void * nlm_free_all_3_svc();
834#endif /* Old Style C */
835#define NLM_VERS4 ((rpc_uint)4)
836
837#ifdef __cplusplus
838#define NLM4_TEST ((rpc_uint)1)
839extern "C" nlm4_testres * nlm4_test_4(nlm4_testargs *, CLIENT *);
840extern "C" nlm4_testres * nlm4_test_4_svc(nlm4_testargs *, struct svc_req *);
841#define NLM4_LOCK ((rpc_uint)2)
842extern "C" nlm4_res * nlm4_lock_4(nlm4_lockargs *, CLIENT *);
843extern "C" nlm4_res * nlm4_lock_4_svc(nlm4_lockargs *, struct svc_req *);
844#define NLM4_CANCEL ((rpc_uint)3)
845extern "C" nlm4_res * nlm4_cancel_4(nlm4_cancargs *, CLIENT *);
846extern "C" nlm4_res * nlm4_cancel_4_svc(nlm4_cancargs *, struct svc_req *);
847#define NLM4_UNLOCK ((rpc_uint)4)
848extern "C" nlm4_res * nlm4_unlock_4(nlm4_unlockargs *, CLIENT *);
849extern "C" nlm4_res * nlm4_unlock_4_svc(nlm4_unlockargs *, struct svc_req *);
850#define NLM4_GRANTED ((rpc_uint)5)
851extern "C" nlm4_res * nlm4_granted_4(nlm4_testargs *, CLIENT *);
852extern "C" nlm4_res * nlm4_granted_4_svc(nlm4_testargs *, struct svc_req *);
853#define NLM4_TEST_MSG ((rpc_uint)6)
854extern "C" void * nlm4_test_msg_4(nlm4_testargs *, CLIENT *);
855extern "C" void * nlm4_test_msg_4_svc(nlm4_testargs *, struct svc_req *);
856#define NLM4_LOCK_MSG ((rpc_uint)7)
857extern "C" void * nlm4_lock_msg_4(nlm4_lockargs *, CLIENT *);
858extern "C" void * nlm4_lock_msg_4_svc(nlm4_lockargs *, struct svc_req *);
859#define NLM4_CANCEL_MSG ((rpc_uint)8)
860extern "C" void * nlm4_cancel_msg_4(nlm4_cancargs *, CLIENT *);
861extern "C" void * nlm4_cancel_msg_4_svc(nlm4_cancargs *, struct svc_req *);
862#define NLM4_UNLOCK_MSG ((rpc_uint)9)
863extern "C" void * nlm4_unlock_msg_4(nlm4_unlockargs *, CLIENT *);
864extern "C" void * nlm4_unlock_msg_4_svc(nlm4_unlockargs *, struct svc_req *);
865#define NLM4_GRANTED_MSG ((rpc_uint)10)
866extern "C" void * nlm4_granted_msg_4(nlm4_testargs *, CLIENT *);
867extern "C" void * nlm4_granted_msg_4_svc(nlm4_testargs *, struct svc_req *);
868#define NLM4_TEST_RES ((rpc_uint)11)
869extern "C" void * nlm4_test_res_4(nlm4_testres *, CLIENT *);
870extern "C" void * nlm4_test_res_4_svc(nlm4_testres *, struct svc_req *);
871#define NLM4_LOCK_RES ((rpc_uint)12)
872extern "C" void * nlm4_lock_res_4(nlm4_res *, CLIENT *);
873extern "C" void * nlm4_lock_res_4_svc(nlm4_res *, struct svc_req *);
874#define NLM4_CANCEL_RES ((rpc_uint)13)
875extern "C" void * nlm4_cancel_res_4(nlm4_res *, CLIENT *);
876extern "C" void * nlm4_cancel_res_4_svc(nlm4_res *, struct svc_req *);
877#define NLM4_UNLOCK_RES ((rpc_uint)14)
878extern "C" void * nlm4_unlock_res_4(nlm4_res *, CLIENT *);
879extern "C" void * nlm4_unlock_res_4_svc(nlm4_res *, struct svc_req *);
880#define NLM4_GRANTED_RES ((rpc_uint)15)
881extern "C" void * nlm4_granted_res_4(nlm4_res *, CLIENT *);
882extern "C" void * nlm4_granted_res_4_svc(nlm4_res *, struct svc_req *);
883#define NLM4_SHARE ((rpc_uint)20)
884extern "C" nlm4_shareres * nlm4_share_4(nlm4_shareargs *, CLIENT *);
885extern "C" nlm4_shareres * nlm4_share_4_svc(nlm4_shareargs *, struct svc_req *);
886#define NLM4_UNSHARE ((rpc_uint)21)
887extern "C" nlm4_shareres * nlm4_unshare_4(nlm4_shareargs *, CLIENT *);
888extern "C" nlm4_shareres * nlm4_unshare_4_svc(nlm4_shareargs *, struct svc_req *);
889#define NLM4_NM_LOCK ((rpc_uint)22)
890extern "C" nlm4_res * nlm4_nm_lock_4(nlm4_lockargs *, CLIENT *);
891extern "C" nlm4_res * nlm4_nm_lock_4_svc(nlm4_lockargs *, struct svc_req *);
892#define NLM4_FREE_ALL ((rpc_uint)23)
893extern "C" void * nlm4_free_all_4(nlm4_notify *, CLIENT *);
894extern "C" void * nlm4_free_all_4_svc(nlm4_notify *, struct svc_req *);
895
896#elif __STDC__
897#define NLM4_TEST ((rpc_uint)1)
898extern  nlm4_testres * nlm4_test_4(nlm4_testargs *, CLIENT *);
899extern  nlm4_testres * nlm4_test_4_svc(nlm4_testargs *, struct svc_req *);
900#define NLM4_LOCK ((rpc_uint)2)
901extern  nlm4_res * nlm4_lock_4(nlm4_lockargs *, CLIENT *);
902extern  nlm4_res * nlm4_lock_4_svc(nlm4_lockargs *, struct svc_req *);
903#define NLM4_CANCEL ((rpc_uint)3)
904extern  nlm4_res * nlm4_cancel_4(nlm4_cancargs *, CLIENT *);
905extern  nlm4_res * nlm4_cancel_4_svc(nlm4_cancargs *, struct svc_req *);
906#define NLM4_UNLOCK ((rpc_uint)4)
907extern  nlm4_res * nlm4_unlock_4(nlm4_unlockargs *, CLIENT *);
908extern  nlm4_res * nlm4_unlock_4_svc(nlm4_unlockargs *, struct svc_req *);
909#define NLM4_GRANTED ((rpc_uint)5)
910extern  nlm4_res * nlm4_granted_4(nlm4_testargs *, CLIENT *);
911extern  nlm4_res * nlm4_granted_4_svc(nlm4_testargs *, struct svc_req *);
912#define NLM4_TEST_MSG ((rpc_uint)6)
913extern  void * nlm4_test_msg_4(nlm4_testargs *, CLIENT *);
914extern  void * nlm4_test_msg_4_svc(nlm4_testargs *, struct svc_req *);
915#define NLM4_LOCK_MSG ((rpc_uint)7)
916extern  void * nlm4_lock_msg_4(nlm4_lockargs *, CLIENT *);
917extern  void * nlm4_lock_msg_4_svc(nlm4_lockargs *, struct svc_req *);
918#define NLM4_CANCEL_MSG ((rpc_uint)8)
919extern  void * nlm4_cancel_msg_4(nlm4_cancargs *, CLIENT *);
920extern  void * nlm4_cancel_msg_4_svc(nlm4_cancargs *, struct svc_req *);
921#define NLM4_UNLOCK_MSG ((rpc_uint)9)
922extern  void * nlm4_unlock_msg_4(nlm4_unlockargs *, CLIENT *);
923extern  void * nlm4_unlock_msg_4_svc(nlm4_unlockargs *, struct svc_req *);
924#define NLM4_GRANTED_MSG ((rpc_uint)10)
925extern  void * nlm4_granted_msg_4(nlm4_testargs *, CLIENT *);
926extern  void * nlm4_granted_msg_4_svc(nlm4_testargs *, struct svc_req *);
927#define NLM4_TEST_RES ((rpc_uint)11)
928extern  void * nlm4_test_res_4(nlm4_testres *, CLIENT *);
929extern  void * nlm4_test_res_4_svc(nlm4_testres *, struct svc_req *);
930#define NLM4_LOCK_RES ((rpc_uint)12)
931extern  void * nlm4_lock_res_4(nlm4_res *, CLIENT *);
932extern  void * nlm4_lock_res_4_svc(nlm4_res *, struct svc_req *);
933#define NLM4_CANCEL_RES ((rpc_uint)13)
934extern  void * nlm4_cancel_res_4(nlm4_res *, CLIENT *);
935extern  void * nlm4_cancel_res_4_svc(nlm4_res *, struct svc_req *);
936#define NLM4_UNLOCK_RES ((rpc_uint)14)
937extern  void * nlm4_unlock_res_4(nlm4_res *, CLIENT *);
938extern  void * nlm4_unlock_res_4_svc(nlm4_res *, struct svc_req *);
939#define NLM4_GRANTED_RES ((rpc_uint)15)
940extern  void * nlm4_granted_res_4(nlm4_res *, CLIENT *);
941extern  void * nlm4_granted_res_4_svc(nlm4_res *, struct svc_req *);
942#define NLM4_SHARE ((rpc_uint)20)
943extern  nlm4_shareres * nlm4_share_4(nlm4_shareargs *, CLIENT *);
944extern  nlm4_shareres * nlm4_share_4_svc(nlm4_shareargs *, struct svc_req *);
945#define NLM4_UNSHARE ((rpc_uint)21)
946extern  nlm4_shareres * nlm4_unshare_4(nlm4_shareargs *, CLIENT *);
947extern  nlm4_shareres * nlm4_unshare_4_svc(nlm4_shareargs *, struct svc_req *);
948#define NLM4_NM_LOCK ((rpc_uint)22)
949extern  nlm4_res * nlm4_nm_lock_4(nlm4_lockargs *, CLIENT *);
950extern  nlm4_res * nlm4_nm_lock_4_svc(nlm4_lockargs *, struct svc_req *);
951#define NLM4_FREE_ALL ((rpc_uint)23)
952extern  void * nlm4_free_all_4(nlm4_notify *, CLIENT *);
953extern  void * nlm4_free_all_4_svc(nlm4_notify *, struct svc_req *);
954
955#else /* Old Style C */
956#define NLM4_TEST ((rpc_uint)1)
957extern  nlm4_testres * nlm4_test_4();
958extern  nlm4_testres * nlm4_test_4_svc();
959#define NLM4_LOCK ((rpc_uint)2)
960extern  nlm4_res * nlm4_lock_4();
961extern  nlm4_res * nlm4_lock_4_svc();
962#define NLM4_CANCEL ((rpc_uint)3)
963extern  nlm4_res * nlm4_cancel_4();
964extern  nlm4_res * nlm4_cancel_4_svc();
965#define NLM4_UNLOCK ((rpc_uint)4)
966extern  nlm4_res * nlm4_unlock_4();
967extern  nlm4_res * nlm4_unlock_4_svc();
968#define NLM4_GRANTED ((rpc_uint)5)
969extern  nlm4_res * nlm4_granted_4();
970extern  nlm4_res * nlm4_granted_4_svc();
971#define NLM4_TEST_MSG ((rpc_uint)6)
972extern  void * nlm4_test_msg_4();
973extern  void * nlm4_test_msg_4_svc();
974#define NLM4_LOCK_MSG ((rpc_uint)7)
975extern  void * nlm4_lock_msg_4();
976extern  void * nlm4_lock_msg_4_svc();
977#define NLM4_CANCEL_MSG ((rpc_uint)8)
978extern  void * nlm4_cancel_msg_4();
979extern  void * nlm4_cancel_msg_4_svc();
980#define NLM4_UNLOCK_MSG ((rpc_uint)9)
981extern  void * nlm4_unlock_msg_4();
982extern  void * nlm4_unlock_msg_4_svc();
983#define NLM4_GRANTED_MSG ((rpc_uint)10)
984extern  void * nlm4_granted_msg_4();
985extern  void * nlm4_granted_msg_4_svc();
986#define NLM4_TEST_RES ((rpc_uint)11)
987extern  void * nlm4_test_res_4();
988extern  void * nlm4_test_res_4_svc();
989#define NLM4_LOCK_RES ((rpc_uint)12)
990extern  void * nlm4_lock_res_4();
991extern  void * nlm4_lock_res_4_svc();
992#define NLM4_CANCEL_RES ((rpc_uint)13)
993extern  void * nlm4_cancel_res_4();
994extern  void * nlm4_cancel_res_4_svc();
995#define NLM4_UNLOCK_RES ((rpc_uint)14)
996extern  void * nlm4_unlock_res_4();
997extern  void * nlm4_unlock_res_4_svc();
998#define NLM4_GRANTED_RES ((rpc_uint)15)
999extern  void * nlm4_granted_res_4();
1000extern  void * nlm4_granted_res_4_svc();
1001#define NLM4_SHARE ((rpc_uint)20)
1002extern  nlm4_shareres * nlm4_share_4();
1003extern  nlm4_shareres * nlm4_share_4_svc();
1004#define NLM4_UNSHARE ((rpc_uint)21)
1005extern  nlm4_shareres * nlm4_unshare_4();
1006extern  nlm4_shareres * nlm4_unshare_4_svc();
1007#define NLM4_NM_LOCK ((rpc_uint)22)
1008extern  nlm4_res * nlm4_nm_lock_4();
1009extern  nlm4_res * nlm4_nm_lock_4_svc();
1010#define NLM4_FREE_ALL ((rpc_uint)23)
1011extern  void * nlm4_free_all_4();
1012extern  void * nlm4_free_all_4_svc();
1013#endif /* Old Style C */
1014
1015#endif /* !_NLM_PROT_H_RPCGEN */
1016