]> git.ozlabs.org Git - ccan/blob - ccan/nfs/rpc/nfs.h
nfs: add licenses into generated files.
[ccan] / ccan / nfs / rpc / nfs.h
1 /* Licensed under GPLv3+ - see LICENSE file for details */
2 /*
3  * Please do not edit this file.
4  * It was generated using rpcgen.
5  */
6
7 #ifndef _NFS_H_RPCGEN
8 #define _NFS_H_RPCGEN
9
10 #include <rpc/rpc.h>
11
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
17 #define NFS3_FHSIZE 64
18 #define NFS3_WRITEVERFSIZE 8
19 #define NFS3_CREATEVERFSIZE 8
20 #define NFS3_COOKIEVERFSIZE 8
21
22 typedef char cookieverf3[NFS3_COOKIEVERFSIZE];
23
24 typedef u_quad_t uint64;
25
26 typedef uint64 cookie3;
27
28 struct nfs_fh3 {
29         struct {
30                 u_int data_len;
31                 char *data_val;
32         } data;
33 };
34 typedef struct nfs_fh3 nfs_fh3;
35
36 typedef char *filename3;
37
38 struct diropargs3 {
39         nfs_fh3 dir;
40         filename3 name;
41 };
42 typedef struct diropargs3 diropargs3;
43
44 enum ftype3 {
45         NF3REG = 1,
46         NF3DIR = 2,
47         NF3BLK = 3,
48         NF3CHR = 4,
49         NF3LNK = 5,
50         NF3SOCK = 6,
51         NF3FIFO = 7,
52 };
53 typedef enum ftype3 ftype3;
54
55 typedef u_long uint32;
56
57 typedef long int32;
58
59 typedef uint32 mode3;
60
61 typedef uint32 uid3;
62
63 typedef uint32 gid3;
64
65 typedef uint64 size3;
66
67 typedef uint64 fileid3;
68
69 struct specdata3 {
70         uint32 specdata1;
71         uint32 specdata2;
72 };
73 typedef struct specdata3 specdata3;
74
75 struct nfstime3 {
76         uint32 seconds;
77         uint32 nseconds;
78 };
79 typedef struct nfstime3 nfstime3;
80
81 struct fattr3 {
82         ftype3 type;
83         mode3 mode;
84         uint32 nlink;
85         uid3 uid;
86         gid3 gid;
87         size3 size;
88         size3 used;
89         specdata3 rdev;
90         uint64 fsid;
91         fileid3 fileid;
92         nfstime3 atime;
93         nfstime3 mtime;
94         nfstime3 ctime;
95 };
96 typedef struct fattr3 fattr3;
97
98 struct post_op_attr {
99         bool_t attributes_follow;
100         union {
101                 fattr3 attributes;
102         } post_op_attr_u;
103 };
104 typedef struct post_op_attr post_op_attr;
105
106 enum nfsstat3 {
107         NFS3_OK = 0,
108         NFS3ERR_PERM = 1,
109         NFS3ERR_NOENT = 2,
110         NFS3ERR_IO = 5,
111         NFS3ERR_NXIO = 6,
112         NFS3ERR_ACCES = 13,
113         NFS3ERR_EXIST = 17,
114         NFS3ERR_XDEV = 18,
115         NFS3ERR_NODEV = 19,
116         NFS3ERR_NOTDIR = 20,
117         NFS3ERR_ISDIR = 21,
118         NFS3ERR_INVAL = 22,
119         NFS3ERR_FBIG = 27,
120         NFS3ERR_NOSPC = 28,
121         NFS3ERR_ROFS = 30,
122         NFS3ERR_MLINK = 31,
123         NFS3ERR_NAMETOOLONG = 63,
124         NFS3ERR_NOTEMPTY = 66,
125         NFS3ERR_DQUOT = 69,
126         NFS3ERR_STALE = 70,
127         NFS3ERR_REMOTE = 71,
128         NFS3ERR_BADHANDLE = 10001,
129         NFS3ERR_NOT_SYNC = 10002,
130         NFS3ERR_BAD_COOKIE = 10003,
131         NFS3ERR_NOTSUPP = 10004,
132         NFS3ERR_TOOSMALL = 10005,
133         NFS3ERR_SERVERFAULT = 10006,
134         NFS3ERR_BADTYPE = 10007,
135         NFS3ERR_JUKEBOX = 10008,
136 };
137 typedef enum nfsstat3 nfsstat3;
138
139 enum stable_how {
140         UNSTABLE = 0,
141         DATA_SYNC = 1,
142         FILE_SYNC = 2,
143 };
144 typedef enum stable_how stable_how;
145
146 typedef uint64 offset3;
147
148 typedef uint32 count3;
149
150 struct wcc_attr {
151         size3 size;
152         nfstime3 mtime;
153         nfstime3 ctime;
154 };
155 typedef struct wcc_attr wcc_attr;
156
157 struct pre_op_attr {
158         bool_t attributes_follow;
159         union {
160                 wcc_attr attributes;
161         } pre_op_attr_u;
162 };
163 typedef struct pre_op_attr pre_op_attr;
164
165 struct wcc_data {
166         pre_op_attr before;
167         post_op_attr after;
168 };
169 typedef struct wcc_data wcc_data;
170
171 struct WRITE3args {
172         nfs_fh3 file;
173         offset3 offset;
174         count3 count;
175         stable_how stable;
176         struct {
177                 u_int data_len;
178                 char *data_val;
179         } data;
180 };
181 typedef struct WRITE3args WRITE3args;
182
183 typedef char writeverf3[NFS3_WRITEVERFSIZE];
184
185 struct WRITE3resok {
186         wcc_data file_wcc;
187         count3 count;
188         stable_how committed;
189         writeverf3 verf;
190 };
191 typedef struct WRITE3resok WRITE3resok;
192
193 struct WRITE3resfail {
194         wcc_data file_wcc;
195 };
196 typedef struct WRITE3resfail WRITE3resfail;
197
198 struct WRITE3res {
199         nfsstat3 status;
200         union {
201                 WRITE3resok resok;
202                 WRITE3resfail resfail;
203         } WRITE3res_u;
204 };
205 typedef struct WRITE3res WRITE3res;
206
207 struct LOOKUP3args {
208         diropargs3 what;
209 };
210 typedef struct LOOKUP3args LOOKUP3args;
211
212 struct LOOKUP3resok {
213         nfs_fh3 object;
214         post_op_attr obj_attributes;
215         post_op_attr dir_attributes;
216 };
217 typedef struct LOOKUP3resok LOOKUP3resok;
218
219 struct LOOKUP3resfail {
220         post_op_attr dir_attributes;
221 };
222 typedef struct LOOKUP3resfail LOOKUP3resfail;
223
224 struct LOOKUP3res {
225         nfsstat3 status;
226         union {
227                 LOOKUP3resok resok;
228                 LOOKUP3resfail resfail;
229         } LOOKUP3res_u;
230 };
231 typedef struct LOOKUP3res LOOKUP3res;
232
233 struct COMMIT3args {
234         nfs_fh3 file;
235         offset3 offset;
236         count3 count;
237 };
238 typedef struct COMMIT3args COMMIT3args;
239
240 struct COMMIT3resok {
241         wcc_data file_wcc;
242         writeverf3 verf;
243 };
244 typedef struct COMMIT3resok COMMIT3resok;
245
246 struct COMMIT3resfail {
247         wcc_data file_wcc;
248 };
249 typedef struct COMMIT3resfail COMMIT3resfail;
250
251 struct COMMIT3res {
252         nfsstat3 status;
253         union {
254                 COMMIT3resok resok;
255                 COMMIT3resfail resfail;
256         } COMMIT3res_u;
257 };
258 typedef struct COMMIT3res COMMIT3res;
259 #define ACCESS3_READ 0x0001
260 #define ACCESS3_LOOKUP 0x0002
261 #define ACCESS3_MODIFY 0x0004
262 #define ACCESS3_EXTEND 0x0008
263 #define ACCESS3_DELETE 0x0010
264 #define ACCESS3_EXECUTE 0x0020
265
266 struct ACCESS3args {
267         nfs_fh3 object;
268         uint32 access;
269 };
270 typedef struct ACCESS3args ACCESS3args;
271
272 struct ACCESS3resok {
273         post_op_attr obj_attributes;
274         uint32 access;
275 };
276 typedef struct ACCESS3resok ACCESS3resok;
277
278 struct ACCESS3resfail {
279         post_op_attr obj_attributes;
280 };
281 typedef struct ACCESS3resfail ACCESS3resfail;
282
283 struct ACCESS3res {
284         nfsstat3 status;
285         union {
286                 ACCESS3resok resok;
287                 ACCESS3resfail resfail;
288         } ACCESS3res_u;
289 };
290 typedef struct ACCESS3res ACCESS3res;
291
292 struct GETATTR3args {
293         nfs_fh3 object;
294 };
295 typedef struct GETATTR3args GETATTR3args;
296
297 struct GETATTR3resok {
298         fattr3 obj_attributes;
299 };
300 typedef struct GETATTR3resok GETATTR3resok;
301
302 struct GETATTR3res {
303         nfsstat3 status;
304         union {
305                 GETATTR3resok resok;
306         } GETATTR3res_u;
307 };
308 typedef struct GETATTR3res GETATTR3res;
309
310 enum time_how {
311         DONT_CHANGE = 0,
312         SET_TO_SERVER_TIME = 1,
313         SET_TO_CLIENT_TIME = 2,
314 };
315 typedef enum time_how time_how;
316
317 struct set_mode3 {
318         bool_t set_it;
319         union {
320                 mode3 mode;
321         } set_mode3_u;
322 };
323 typedef struct set_mode3 set_mode3;
324
325 struct set_uid3 {
326         bool_t set_it;
327         union {
328                 uid3 uid;
329         } set_uid3_u;
330 };
331 typedef struct set_uid3 set_uid3;
332
333 struct set_gid3 {
334         bool_t set_it;
335         union {
336                 gid3 gid;
337         } set_gid3_u;
338 };
339 typedef struct set_gid3 set_gid3;
340
341 struct set_size3 {
342         bool_t set_it;
343         union {
344                 size3 size;
345         } set_size3_u;
346 };
347 typedef struct set_size3 set_size3;
348
349 struct set_atime {
350         time_how set_it;
351         union {
352                 nfstime3 atime;
353         } set_atime_u;
354 };
355 typedef struct set_atime set_atime;
356
357 struct set_mtime {
358         time_how set_it;
359         union {
360                 nfstime3 mtime;
361         } set_mtime_u;
362 };
363 typedef struct set_mtime set_mtime;
364
365 struct sattr3 {
366         set_mode3 mode;
367         set_uid3 uid;
368         set_gid3 gid;
369         set_size3 size;
370         set_atime atime;
371         set_mtime mtime;
372 };
373 typedef struct sattr3 sattr3;
374
375 enum createmode3 {
376         UNCHECKED = 0,
377         GUARDED = 1,
378         EXCLUSIVE = 2,
379 };
380 typedef enum createmode3 createmode3;
381
382 typedef char createverf3[NFS3_CREATEVERFSIZE];
383
384 struct createhow3 {
385         createmode3 mode;
386         union {
387                 sattr3 obj_attributes;
388                 createverf3 verf;
389         } createhow3_u;
390 };
391 typedef struct createhow3 createhow3;
392
393 struct CREATE3args {
394         diropargs3 where;
395         createhow3 how;
396 };
397 typedef struct CREATE3args CREATE3args;
398
399 struct post_op_fh3 {
400         bool_t handle_follows;
401         union {
402                 nfs_fh3 handle;
403         } post_op_fh3_u;
404 };
405 typedef struct post_op_fh3 post_op_fh3;
406
407 struct CREATE3resok {
408         post_op_fh3 obj;
409         post_op_attr obj_attributes;
410         wcc_data dir_wcc;
411 };
412 typedef struct CREATE3resok CREATE3resok;
413
414 struct CREATE3resfail {
415         wcc_data dir_wcc;
416 };
417 typedef struct CREATE3resfail CREATE3resfail;
418
419 struct CREATE3res {
420         nfsstat3 status;
421         union {
422                 CREATE3resok resok;
423                 CREATE3resfail resfail;
424         } CREATE3res_u;
425 };
426 typedef struct CREATE3res CREATE3res;
427
428 struct REMOVE3args {
429         diropargs3 object;
430 };
431 typedef struct REMOVE3args REMOVE3args;
432
433 struct REMOVE3resok {
434         wcc_data dir_wcc;
435 };
436 typedef struct REMOVE3resok REMOVE3resok;
437
438 struct REMOVE3resfail {
439         wcc_data dir_wcc;
440 };
441 typedef struct REMOVE3resfail REMOVE3resfail;
442
443 struct REMOVE3res {
444         nfsstat3 status;
445         union {
446                 REMOVE3resok resok;
447                 REMOVE3resfail resfail;
448         } REMOVE3res_u;
449 };
450 typedef struct REMOVE3res REMOVE3res;
451
452 struct READ3args {
453         nfs_fh3 file;
454         offset3 offset;
455         count3 count;
456 };
457 typedef struct READ3args READ3args;
458
459 struct READ3resok {
460         post_op_attr file_attributes;
461         count3 count;
462         bool_t eof;
463         struct {
464                 u_int data_len;
465                 char *data_val;
466         } data;
467 };
468 typedef struct READ3resok READ3resok;
469
470 struct READ3resfail {
471         post_op_attr file_attributes;
472 };
473 typedef struct READ3resfail READ3resfail;
474
475 struct READ3res {
476         nfsstat3 status;
477         union {
478                 READ3resok resok;
479                 READ3resfail resfail;
480         } READ3res_u;
481 };
482 typedef struct READ3res READ3res;
483 #define FSF3_LINK 0x0001
484 #define FSF3_SYMLINK 0x0002
485 #define FSF3_HOMOGENEOUS 0x0008
486 #define FSF3_CANSETTIME 0x0010
487
488 struct FSINFO3args {
489         nfs_fh3 fsroot;
490 };
491 typedef struct FSINFO3args FSINFO3args;
492
493 struct FSINFO3resok {
494         post_op_attr obj_attributes;
495         uint32 rtmax;
496         uint32 rtpref;
497         uint32 rtmult;
498         uint32 wtmax;
499         uint32 wtpref;
500         uint32 wtmult;
501         uint32 dtpref;
502         size3 maxfilesize;
503         nfstime3 time_delta;
504         uint32 properties;
505 };
506 typedef struct FSINFO3resok FSINFO3resok;
507
508 struct FSINFO3resfail {
509         post_op_attr obj_attributes;
510 };
511 typedef struct FSINFO3resfail FSINFO3resfail;
512
513 struct FSINFO3res {
514         nfsstat3 status;
515         union {
516                 FSINFO3resok resok;
517                 FSINFO3resfail resfail;
518         } FSINFO3res_u;
519 };
520 typedef struct FSINFO3res FSINFO3res;
521
522 struct FSSTAT3args {
523         nfs_fh3 fsroot;
524 };
525 typedef struct FSSTAT3args FSSTAT3args;
526
527 struct FSSTAT3resok {
528         post_op_attr obj_attributes;
529         size3 tbytes;
530         size3 fbytes;
531         size3 abytes;
532         size3 tfiles;
533         size3 ffiles;
534         size3 afiles;
535         uint32 invarsec;
536 };
537 typedef struct FSSTAT3resok FSSTAT3resok;
538
539 struct FSSTAT3resfail {
540         post_op_attr obj_attributes;
541 };
542 typedef struct FSSTAT3resfail FSSTAT3resfail;
543
544 struct FSSTAT3res {
545         nfsstat3 status;
546         union {
547                 FSSTAT3resok resok;
548                 FSSTAT3resfail resfail;
549         } FSSTAT3res_u;
550 };
551 typedef struct FSSTAT3res FSSTAT3res;
552
553 struct PATHCONF3args {
554         nfs_fh3 object;
555 };
556 typedef struct PATHCONF3args PATHCONF3args;
557
558 struct PATHCONF3resok {
559         post_op_attr obj_attributes;
560         uint32 linkmax;
561         uint32 name_max;
562         bool_t no_trunc;
563         bool_t chown_restricted;
564         bool_t case_insensitive;
565         bool_t case_preserving;
566 };
567 typedef struct PATHCONF3resok PATHCONF3resok;
568
569 struct PATHCONF3resfail {
570         post_op_attr obj_attributes;
571 };
572 typedef struct PATHCONF3resfail PATHCONF3resfail;
573
574 struct PATHCONF3res {
575         nfsstat3 status;
576         union {
577                 PATHCONF3resok resok;
578                 PATHCONF3resfail resfail;
579         } PATHCONF3res_u;
580 };
581 typedef struct PATHCONF3res PATHCONF3res;
582
583 typedef char *nfspath3;
584
585 struct symlinkdata3 {
586         sattr3 symlink_attributes;
587         nfspath3 symlink_data;
588 };
589 typedef struct symlinkdata3 symlinkdata3;
590
591 struct SYMLINK3args {
592         diropargs3 where;
593         symlinkdata3 symlink;
594 };
595 typedef struct SYMLINK3args SYMLINK3args;
596
597 struct SYMLINK3resok {
598         post_op_fh3 obj;
599         post_op_attr obj_attributes;
600         wcc_data dir_wcc;
601 };
602 typedef struct SYMLINK3resok SYMLINK3resok;
603
604 struct SYMLINK3resfail {
605         wcc_data dir_wcc;
606 };
607 typedef struct SYMLINK3resfail SYMLINK3resfail;
608
609 struct SYMLINK3res {
610         nfsstat3 status;
611         union {
612                 SYMLINK3resok resok;
613                 SYMLINK3resfail resfail;
614         } SYMLINK3res_u;
615 };
616 typedef struct SYMLINK3res SYMLINK3res;
617
618 struct READLINK3args {
619         nfs_fh3 symlink;
620 };
621 typedef struct READLINK3args READLINK3args;
622
623 struct READLINK3resok {
624         post_op_attr symlink_attributes;
625         nfspath3 data;
626 };
627 typedef struct READLINK3resok READLINK3resok;
628
629 struct READLINK3resfail {
630         post_op_attr symlink_attributes;
631 };
632 typedef struct READLINK3resfail READLINK3resfail;
633
634 struct READLINK3res {
635         nfsstat3 status;
636         union {
637                 READLINK3resok resok;
638                 READLINK3resfail resfail;
639         } READLINK3res_u;
640 };
641 typedef struct READLINK3res READLINK3res;
642
643 struct devicedata3 {
644         sattr3 dev_attributes;
645         specdata3 spec;
646 };
647 typedef struct devicedata3 devicedata3;
648
649 struct mknoddata3 {
650         ftype3 type;
651         union {
652                 devicedata3 device;
653                 sattr3 pipe_attributes;
654         } mknoddata3_u;
655 };
656 typedef struct mknoddata3 mknoddata3;
657
658 struct MKNOD3args {
659         diropargs3 where;
660         mknoddata3 what;
661 };
662 typedef struct MKNOD3args MKNOD3args;
663
664 struct MKNOD3resok {
665         post_op_fh3 obj;
666         post_op_attr obj_attributes;
667         wcc_data dir_wcc;
668 };
669 typedef struct MKNOD3resok MKNOD3resok;
670
671 struct MKNOD3resfail {
672         wcc_data dir_wcc;
673 };
674 typedef struct MKNOD3resfail MKNOD3resfail;
675
676 struct MKNOD3res {
677         nfsstat3 status;
678         union {
679                 MKNOD3resok resok;
680                 MKNOD3resfail resfail;
681         } MKNOD3res_u;
682 };
683 typedef struct MKNOD3res MKNOD3res;
684
685 struct MKDIR3args {
686         diropargs3 where;
687         sattr3 attributes;
688 };
689 typedef struct MKDIR3args MKDIR3args;
690
691 struct MKDIR3resok {
692         post_op_fh3 obj;
693         post_op_attr obj_attributes;
694         wcc_data dir_wcc;
695 };
696 typedef struct MKDIR3resok MKDIR3resok;
697
698 struct MKDIR3resfail {
699         wcc_data dir_wcc;
700 };
701 typedef struct MKDIR3resfail MKDIR3resfail;
702
703 struct MKDIR3res {
704         nfsstat3 status;
705         union {
706                 MKDIR3resok resok;
707                 MKDIR3resfail resfail;
708         } MKDIR3res_u;
709 };
710 typedef struct MKDIR3res MKDIR3res;
711
712 struct RMDIR3args {
713         diropargs3 object;
714 };
715 typedef struct RMDIR3args RMDIR3args;
716
717 struct RMDIR3resok {
718         wcc_data dir_wcc;
719 };
720 typedef struct RMDIR3resok RMDIR3resok;
721
722 struct RMDIR3resfail {
723         wcc_data dir_wcc;
724 };
725 typedef struct RMDIR3resfail RMDIR3resfail;
726
727 struct RMDIR3res {
728         nfsstat3 status;
729         union {
730                 RMDIR3resok resok;
731                 RMDIR3resfail resfail;
732         } RMDIR3res_u;
733 };
734 typedef struct RMDIR3res RMDIR3res;
735
736 struct RENAME3args {
737         diropargs3 from;
738         diropargs3 to;
739 };
740 typedef struct RENAME3args RENAME3args;
741
742 struct RENAME3resok {
743         wcc_data fromdir_wcc;
744         wcc_data todir_wcc;
745 };
746 typedef struct RENAME3resok RENAME3resok;
747
748 struct RENAME3resfail {
749         wcc_data fromdir_wcc;
750         wcc_data todir_wcc;
751 };
752 typedef struct RENAME3resfail RENAME3resfail;
753
754 struct RENAME3res {
755         nfsstat3 status;
756         union {
757                 RENAME3resok resok;
758                 RENAME3resfail resfail;
759         } RENAME3res_u;
760 };
761 typedef struct RENAME3res RENAME3res;
762
763 struct READDIRPLUS3args {
764         nfs_fh3 dir;
765         cookie3 cookie;
766         cookieverf3 cookieverf;
767         count3 dircount;
768         count3 maxcount;
769 };
770 typedef struct READDIRPLUS3args READDIRPLUS3args;
771
772 struct entryplus3 {
773         fileid3 fileid;
774         filename3 name;
775         cookie3 cookie;
776         post_op_attr name_attributes;
777         post_op_fh3 name_handle;
778         struct entryplus3 *nextentry;
779 };
780 typedef struct entryplus3 entryplus3;
781
782 struct dirlistplus3 {
783         entryplus3 *entries;
784         bool_t eof;
785 };
786 typedef struct dirlistplus3 dirlistplus3;
787
788 struct READDIRPLUS3resok {
789         post_op_attr dir_attributes;
790         cookieverf3 cookieverf;
791         dirlistplus3 reply;
792 };
793 typedef struct READDIRPLUS3resok READDIRPLUS3resok;
794
795 struct READDIRPLUS3resfail {
796         post_op_attr dir_attributes;
797 };
798 typedef struct READDIRPLUS3resfail READDIRPLUS3resfail;
799
800 struct READDIRPLUS3res {
801         nfsstat3 status;
802         union {
803                 READDIRPLUS3resok resok;
804                 READDIRPLUS3resfail resfail;
805         } READDIRPLUS3res_u;
806 };
807 typedef struct READDIRPLUS3res READDIRPLUS3res;
808
809 struct READDIR3args {
810         nfs_fh3 dir;
811         cookie3 cookie;
812         cookieverf3 cookieverf;
813         count3 count;
814 };
815 typedef struct READDIR3args READDIR3args;
816
817 struct entry3 {
818         fileid3 fileid;
819         filename3 name;
820         cookie3 cookie;
821         struct entry3 *nextentry;
822 };
823 typedef struct entry3 entry3;
824
825 struct dirlist3 {
826         entry3 *entries;
827         bool_t eof;
828 };
829 typedef struct dirlist3 dirlist3;
830
831 struct READDIR3resok {
832         post_op_attr dir_attributes;
833         cookieverf3 cookieverf;
834         dirlist3 reply;
835 };
836 typedef struct READDIR3resok READDIR3resok;
837
838 struct READDIR3resfail {
839         post_op_attr dir_attributes;
840 };
841 typedef struct READDIR3resfail READDIR3resfail;
842
843 struct READDIR3res {
844         nfsstat3 status;
845         union {
846                 READDIR3resok resok;
847                 READDIR3resfail resfail;
848         } READDIR3res_u;
849 };
850 typedef struct READDIR3res READDIR3res;
851
852 struct LINK3args {
853         nfs_fh3 file;
854         diropargs3 link;
855 };
856 typedef struct LINK3args LINK3args;
857
858 struct LINK3resok {
859         post_op_attr file_attributes;
860         wcc_data linkdir_wcc;
861 };
862 typedef struct LINK3resok LINK3resok;
863
864 struct LINK3resfail {
865         post_op_attr file_attributes;
866         wcc_data linkdir_wcc;
867 };
868 typedef struct LINK3resfail LINK3resfail;
869
870 struct LINK3res {
871         nfsstat3 status;
872         union {
873                 LINK3resok resok;
874                 LINK3resfail resfail;
875         } LINK3res_u;
876 };
877 typedef struct LINK3res LINK3res;
878
879 struct sattrguard3 {
880         bool_t check;
881         union {
882                 nfstime3 obj_ctime;
883         } sattrguard3_u;
884 };
885 typedef struct sattrguard3 sattrguard3;
886
887 struct SETATTR3args {
888         nfs_fh3 object;
889         sattr3 new_attributes;
890         sattrguard3 guard;
891 };
892 typedef struct SETATTR3args SETATTR3args;
893
894 struct SETATTR3resok {
895         wcc_data obj_wcc;
896 };
897 typedef struct SETATTR3resok SETATTR3resok;
898
899 struct SETATTR3resfail {
900         wcc_data obj_wcc;
901 };
902 typedef struct SETATTR3resfail SETATTR3resfail;
903
904 struct SETATTR3res {
905         nfsstat3 status;
906         union {
907                 SETATTR3resok resok;
908                 SETATTR3resfail resfail;
909         } SETATTR3res_u;
910 };
911 typedef struct SETATTR3res SETATTR3res;
912
913 #define NFS_PROGRAM 100003
914 #define NFS_V3 3
915
916 #if defined(__STDC__) || defined(__cplusplus)
917 #define NFS3_NULL 0
918 extern  void * nfs3_null_3(void *, CLIENT *);
919 extern  void * nfs3_null_3_svc(void *, struct svc_req *);
920 #define NFS3_GETATTR 1
921 extern  GETATTR3res * nfs3_getattr_3(GETATTR3args *, CLIENT *);
922 extern  GETATTR3res * nfs3_getattr_3_svc(GETATTR3args *, struct svc_req *);
923 #define NFS3_SETATTR 2
924 extern  SETATTR3res * nfs3_setattr_3(SETATTR3args *, CLIENT *);
925 extern  SETATTR3res * nfs3_setattr_3_svc(SETATTR3args *, struct svc_req *);
926 #define NFS3_LOOKUP 3
927 extern  LOOKUP3res * nfs3_lookup_3(LOOKUP3args *, CLIENT *);
928 extern  LOOKUP3res * nfs3_lookup_3_svc(LOOKUP3args *, struct svc_req *);
929 #define NFS3_ACCESS 4
930 extern  ACCESS3res * nfs3_access_3(ACCESS3args *, CLIENT *);
931 extern  ACCESS3res * nfs3_access_3_svc(ACCESS3args *, struct svc_req *);
932 #define NFS3_READLINK 5
933 extern  READLINK3res * nfs3_readlink_3(READLINK3args *, CLIENT *);
934 extern  READLINK3res * nfs3_readlink_3_svc(READLINK3args *, struct svc_req *);
935 #define NFS3_READ 6
936 extern  READ3res * nfs3_read_3(READ3args *, CLIENT *);
937 extern  READ3res * nfs3_read_3_svc(READ3args *, struct svc_req *);
938 #define NFS3_WRITE 7
939 extern  WRITE3res * nfs3_write_3(WRITE3args *, CLIENT *);
940 extern  WRITE3res * nfs3_write_3_svc(WRITE3args *, struct svc_req *);
941 #define NFS3_CREATE 8
942 extern  CREATE3res * nfs3_create_3(CREATE3args *, CLIENT *);
943 extern  CREATE3res * nfs3_create_3_svc(CREATE3args *, struct svc_req *);
944 #define NFS3_MKDIR 9
945 extern  MKDIR3res * nfs3_mkdir_3(MKDIR3args *, CLIENT *);
946 extern  MKDIR3res * nfs3_mkdir_3_svc(MKDIR3args *, struct svc_req *);
947 #define NFS3_SYMLINK 10
948 extern  SYMLINK3res * nfs3_symlink_3(SYMLINK3args *, CLIENT *);
949 extern  SYMLINK3res * nfs3_symlink_3_svc(SYMLINK3args *, struct svc_req *);
950 #define NFS3_REMOVE 12
951 extern  REMOVE3res * nfs3_remove_3(REMOVE3args *, CLIENT *);
952 extern  REMOVE3res * nfs3_remove_3_svc(REMOVE3args *, struct svc_req *);
953 #define NFS3_RMDIR 13
954 extern  RMDIR3res * nfs3_rmdir_3(RMDIR3args *, CLIENT *);
955 extern  RMDIR3res * nfs3_rmdir_3_svc(RMDIR3args *, struct svc_req *);
956 #define NFS3_RENAME 14
957 extern  RENAME3res * nfs3_rename_3(RENAME3args *, CLIENT *);
958 extern  RENAME3res * nfs3_rename_3_svc(RENAME3args *, struct svc_req *);
959 #define NFS3_LINK 15
960 extern  LINK3res * nfs3_link_3(LINK3args *, CLIENT *);
961 extern  LINK3res * nfs3_link_3_svc(LINK3args *, struct svc_req *);
962 #define NFS3_READDIR 16
963 extern  READDIR3res * nfs3_readdir_3(READDIR3args *, CLIENT *);
964 extern  READDIR3res * nfs3_readdir_3_svc(READDIR3args *, struct svc_req *);
965 #define NFS3_READDIRPLUS 17
966 extern  READDIRPLUS3res * nfs3_readdirplus_3(READDIRPLUS3args *, CLIENT *);
967 extern  READDIRPLUS3res * nfs3_readdirplus_3_svc(READDIRPLUS3args *, struct svc_req *);
968 #define NFS3_FSSTAT 18
969 extern  FSSTAT3res * nfs3_fsstat_3(FSSTAT3args *, CLIENT *);
970 extern  FSSTAT3res * nfs3_fsstat_3_svc(FSSTAT3args *, struct svc_req *);
971 #define NFS3_FSINFO 19
972 extern  FSINFO3res * nfs3_fsinfo_3(FSINFO3args *, CLIENT *);
973 extern  FSINFO3res * nfs3_fsinfo_3_svc(FSINFO3args *, struct svc_req *);
974 #define NFS3_PATHCONF 20
975 extern  PATHCONF3res * nfs3_pathconf_3(PATHCONF3args *, CLIENT *);
976 extern  PATHCONF3res * nfs3_pathconf_3_svc(PATHCONF3args *, struct svc_req *);
977 #define NFS3_COMMIT 21
978 extern  COMMIT3res * nfs3_commit_3(COMMIT3args *, CLIENT *);
979 extern  COMMIT3res * nfs3_commit_3_svc(COMMIT3args *, struct svc_req *);
980 extern int nfs_program_3_freeresult (SVCXPRT *, xdrproc_t, caddr_t);
981
982 #else /* K&R C */
983 #define NFS3_NULL 0
984 extern  void * nfs3_null_3();
985 extern  void * nfs3_null_3_svc();
986 #define NFS3_GETATTR 1
987 extern  GETATTR3res * nfs3_getattr_3();
988 extern  GETATTR3res * nfs3_getattr_3_svc();
989 #define NFS3_SETATTR 2
990 extern  SETATTR3res * nfs3_setattr_3();
991 extern  SETATTR3res * nfs3_setattr_3_svc();
992 #define NFS3_LOOKUP 3
993 extern  LOOKUP3res * nfs3_lookup_3();
994 extern  LOOKUP3res * nfs3_lookup_3_svc();
995 #define NFS3_ACCESS 4
996 extern  ACCESS3res * nfs3_access_3();
997 extern  ACCESS3res * nfs3_access_3_svc();
998 #define NFS3_READLINK 5
999 extern  READLINK3res * nfs3_readlink_3();
1000 extern  READLINK3res * nfs3_readlink_3_svc();
1001 #define NFS3_READ 6
1002 extern  READ3res * nfs3_read_3();
1003 extern  READ3res * nfs3_read_3_svc();
1004 #define NFS3_WRITE 7
1005 extern  WRITE3res * nfs3_write_3();
1006 extern  WRITE3res * nfs3_write_3_svc();
1007 #define NFS3_CREATE 8
1008 extern  CREATE3res * nfs3_create_3();
1009 extern  CREATE3res * nfs3_create_3_svc();
1010 #define NFS3_MKDIR 9
1011 extern  MKDIR3res * nfs3_mkdir_3();
1012 extern  MKDIR3res * nfs3_mkdir_3_svc();
1013 #define NFS3_SYMLINK 10
1014 extern  SYMLINK3res * nfs3_symlink_3();
1015 extern  SYMLINK3res * nfs3_symlink_3_svc();
1016 #define NFS3_REMOVE 12
1017 extern  REMOVE3res * nfs3_remove_3();
1018 extern  REMOVE3res * nfs3_remove_3_svc();
1019 #define NFS3_RMDIR 13
1020 extern  RMDIR3res * nfs3_rmdir_3();
1021 extern  RMDIR3res * nfs3_rmdir_3_svc();
1022 #define NFS3_RENAME 14
1023 extern  RENAME3res * nfs3_rename_3();
1024 extern  RENAME3res * nfs3_rename_3_svc();
1025 #define NFS3_LINK 15
1026 extern  LINK3res * nfs3_link_3();
1027 extern  LINK3res * nfs3_link_3_svc();
1028 #define NFS3_READDIR 16
1029 extern  READDIR3res * nfs3_readdir_3();
1030 extern  READDIR3res * nfs3_readdir_3_svc();
1031 #define NFS3_READDIRPLUS 17
1032 extern  READDIRPLUS3res * nfs3_readdirplus_3();
1033 extern  READDIRPLUS3res * nfs3_readdirplus_3_svc();
1034 #define NFS3_FSSTAT 18
1035 extern  FSSTAT3res * nfs3_fsstat_3();
1036 extern  FSSTAT3res * nfs3_fsstat_3_svc();
1037 #define NFS3_FSINFO 19
1038 extern  FSINFO3res * nfs3_fsinfo_3();
1039 extern  FSINFO3res * nfs3_fsinfo_3_svc();
1040 #define NFS3_PATHCONF 20
1041 extern  PATHCONF3res * nfs3_pathconf_3();
1042 extern  PATHCONF3res * nfs3_pathconf_3_svc();
1043 #define NFS3_COMMIT 21
1044 extern  COMMIT3res * nfs3_commit_3();
1045 extern  COMMIT3res * nfs3_commit_3_svc();
1046 extern int nfs_program_3_freeresult ();
1047 #endif /* K&R C */
1048
1049 /* the xdr functions */
1050
1051 #if defined(__STDC__) || defined(__cplusplus)
1052 extern  bool_t xdr_cookieverf3 (XDR *, cookieverf3);
1053 extern  bool_t xdr_uint64 (XDR *, uint64*);
1054 extern  bool_t xdr_cookie3 (XDR *, cookie3*);
1055 extern  bool_t xdr_nfs_fh3 (XDR *, nfs_fh3*);
1056 extern  bool_t xdr_filename3 (XDR *, filename3*);
1057 extern  bool_t xdr_diropargs3 (XDR *, diropargs3*);
1058 extern  bool_t xdr_ftype3 (XDR *, ftype3*);
1059 extern  bool_t xdr_uint32 (XDR *, uint32*);
1060 extern  bool_t xdr_int32 (XDR *, int32*);
1061 extern  bool_t xdr_mode3 (XDR *, mode3*);
1062 extern  bool_t xdr_uid3 (XDR *, uid3*);
1063 extern  bool_t xdr_gid3 (XDR *, gid3*);
1064 extern  bool_t xdr_size3 (XDR *, size3*);
1065 extern  bool_t xdr_fileid3 (XDR *, fileid3*);
1066 extern  bool_t xdr_specdata3 (XDR *, specdata3*);
1067 extern  bool_t xdr_nfstime3 (XDR *, nfstime3*);
1068 extern  bool_t xdr_fattr3 (XDR *, fattr3*);
1069 extern  bool_t xdr_post_op_attr (XDR *, post_op_attr*);
1070 extern  bool_t xdr_nfsstat3 (XDR *, nfsstat3*);
1071 extern  bool_t xdr_stable_how (XDR *, stable_how*);
1072 extern  bool_t xdr_offset3 (XDR *, offset3*);
1073 extern  bool_t xdr_count3 (XDR *, count3*);
1074 extern  bool_t xdr_wcc_attr (XDR *, wcc_attr*);
1075 extern  bool_t xdr_pre_op_attr (XDR *, pre_op_attr*);
1076 extern  bool_t xdr_wcc_data (XDR *, wcc_data*);
1077 extern  bool_t xdr_WRITE3args (XDR *, WRITE3args*);
1078 extern  bool_t xdr_writeverf3 (XDR *, writeverf3);
1079 extern  bool_t xdr_WRITE3resok (XDR *, WRITE3resok*);
1080 extern  bool_t xdr_WRITE3resfail (XDR *, WRITE3resfail*);
1081 extern  bool_t xdr_WRITE3res (XDR *, WRITE3res*);
1082 extern  bool_t xdr_LOOKUP3args (XDR *, LOOKUP3args*);
1083 extern  bool_t xdr_LOOKUP3resok (XDR *, LOOKUP3resok*);
1084 extern  bool_t xdr_LOOKUP3resfail (XDR *, LOOKUP3resfail*);
1085 extern  bool_t xdr_LOOKUP3res (XDR *, LOOKUP3res*);
1086 extern  bool_t xdr_COMMIT3args (XDR *, COMMIT3args*);
1087 extern  bool_t xdr_COMMIT3resok (XDR *, COMMIT3resok*);
1088 extern  bool_t xdr_COMMIT3resfail (XDR *, COMMIT3resfail*);
1089 extern  bool_t xdr_COMMIT3res (XDR *, COMMIT3res*);
1090 extern  bool_t xdr_ACCESS3args (XDR *, ACCESS3args*);
1091 extern  bool_t xdr_ACCESS3resok (XDR *, ACCESS3resok*);
1092 extern  bool_t xdr_ACCESS3resfail (XDR *, ACCESS3resfail*);
1093 extern  bool_t xdr_ACCESS3res (XDR *, ACCESS3res*);
1094 extern  bool_t xdr_GETATTR3args (XDR *, GETATTR3args*);
1095 extern  bool_t xdr_GETATTR3resok (XDR *, GETATTR3resok*);
1096 extern  bool_t xdr_GETATTR3res (XDR *, GETATTR3res*);
1097 extern  bool_t xdr_time_how (XDR *, time_how*);
1098 extern  bool_t xdr_set_mode3 (XDR *, set_mode3*);
1099 extern  bool_t xdr_set_uid3 (XDR *, set_uid3*);
1100 extern  bool_t xdr_set_gid3 (XDR *, set_gid3*);
1101 extern  bool_t xdr_set_size3 (XDR *, set_size3*);
1102 extern  bool_t xdr_set_atime (XDR *, set_atime*);
1103 extern  bool_t xdr_set_mtime (XDR *, set_mtime*);
1104 extern  bool_t xdr_sattr3 (XDR *, sattr3*);
1105 extern  bool_t xdr_createmode3 (XDR *, createmode3*);
1106 extern  bool_t xdr_createverf3 (XDR *, createverf3);
1107 extern  bool_t xdr_createhow3 (XDR *, createhow3*);
1108 extern  bool_t xdr_CREATE3args (XDR *, CREATE3args*);
1109 extern  bool_t xdr_post_op_fh3 (XDR *, post_op_fh3*);
1110 extern  bool_t xdr_CREATE3resok (XDR *, CREATE3resok*);
1111 extern  bool_t xdr_CREATE3resfail (XDR *, CREATE3resfail*);
1112 extern  bool_t xdr_CREATE3res (XDR *, CREATE3res*);
1113 extern  bool_t xdr_REMOVE3args (XDR *, REMOVE3args*);
1114 extern  bool_t xdr_REMOVE3resok (XDR *, REMOVE3resok*);
1115 extern  bool_t xdr_REMOVE3resfail (XDR *, REMOVE3resfail*);
1116 extern  bool_t xdr_REMOVE3res (XDR *, REMOVE3res*);
1117 extern  bool_t xdr_READ3args (XDR *, READ3args*);
1118 extern  bool_t xdr_READ3resok (XDR *, READ3resok*);
1119 extern  bool_t xdr_READ3resfail (XDR *, READ3resfail*);
1120 extern  bool_t xdr_READ3res (XDR *, READ3res*);
1121 extern  bool_t xdr_FSINFO3args (XDR *, FSINFO3args*);
1122 extern  bool_t xdr_FSINFO3resok (XDR *, FSINFO3resok*);
1123 extern  bool_t xdr_FSINFO3resfail (XDR *, FSINFO3resfail*);
1124 extern  bool_t xdr_FSINFO3res (XDR *, FSINFO3res*);
1125 extern  bool_t xdr_FSSTAT3args (XDR *, FSSTAT3args*);
1126 extern  bool_t xdr_FSSTAT3resok (XDR *, FSSTAT3resok*);
1127 extern  bool_t xdr_FSSTAT3resfail (XDR *, FSSTAT3resfail*);
1128 extern  bool_t xdr_FSSTAT3res (XDR *, FSSTAT3res*);
1129 extern  bool_t xdr_PATHCONF3args (XDR *, PATHCONF3args*);
1130 extern  bool_t xdr_PATHCONF3resok (XDR *, PATHCONF3resok*);
1131 extern  bool_t xdr_PATHCONF3resfail (XDR *, PATHCONF3resfail*);
1132 extern  bool_t xdr_PATHCONF3res (XDR *, PATHCONF3res*);
1133 extern  bool_t xdr_nfspath3 (XDR *, nfspath3*);
1134 extern  bool_t xdr_symlinkdata3 (XDR *, symlinkdata3*);
1135 extern  bool_t xdr_SYMLINK3args (XDR *, SYMLINK3args*);
1136 extern  bool_t xdr_SYMLINK3resok (XDR *, SYMLINK3resok*);
1137 extern  bool_t xdr_SYMLINK3resfail (XDR *, SYMLINK3resfail*);
1138 extern  bool_t xdr_SYMLINK3res (XDR *, SYMLINK3res*);
1139 extern  bool_t xdr_READLINK3args (XDR *, READLINK3args*);
1140 extern  bool_t xdr_READLINK3resok (XDR *, READLINK3resok*);
1141 extern  bool_t xdr_READLINK3resfail (XDR *, READLINK3resfail*);
1142 extern  bool_t xdr_READLINK3res (XDR *, READLINK3res*);
1143 extern  bool_t xdr_devicedata3 (XDR *, devicedata3*);
1144 extern  bool_t xdr_mknoddata3 (XDR *, mknoddata3*);
1145 extern  bool_t xdr_MKNOD3args (XDR *, MKNOD3args*);
1146 extern  bool_t xdr_MKNOD3resok (XDR *, MKNOD3resok*);
1147 extern  bool_t xdr_MKNOD3resfail (XDR *, MKNOD3resfail*);
1148 extern  bool_t xdr_MKNOD3res (XDR *, MKNOD3res*);
1149 extern  bool_t xdr_MKDIR3args (XDR *, MKDIR3args*);
1150 extern  bool_t xdr_MKDIR3resok (XDR *, MKDIR3resok*);
1151 extern  bool_t xdr_MKDIR3resfail (XDR *, MKDIR3resfail*);
1152 extern  bool_t xdr_MKDIR3res (XDR *, MKDIR3res*);
1153 extern  bool_t xdr_RMDIR3args (XDR *, RMDIR3args*);
1154 extern  bool_t xdr_RMDIR3resok (XDR *, RMDIR3resok*);
1155 extern  bool_t xdr_RMDIR3resfail (XDR *, RMDIR3resfail*);
1156 extern  bool_t xdr_RMDIR3res (XDR *, RMDIR3res*);
1157 extern  bool_t xdr_RENAME3args (XDR *, RENAME3args*);
1158 extern  bool_t xdr_RENAME3resok (XDR *, RENAME3resok*);
1159 extern  bool_t xdr_RENAME3resfail (XDR *, RENAME3resfail*);
1160 extern  bool_t xdr_RENAME3res (XDR *, RENAME3res*);
1161 extern  bool_t xdr_READDIRPLUS3args (XDR *, READDIRPLUS3args*);
1162 extern  bool_t xdr_entryplus3 (XDR *, entryplus3*);
1163 extern  bool_t xdr_dirlistplus3 (XDR *, dirlistplus3*);
1164 extern  bool_t xdr_READDIRPLUS3resok (XDR *, READDIRPLUS3resok*);
1165 extern  bool_t xdr_READDIRPLUS3resfail (XDR *, READDIRPLUS3resfail*);
1166 extern  bool_t xdr_READDIRPLUS3res (XDR *, READDIRPLUS3res*);
1167 extern  bool_t xdr_READDIR3args (XDR *, READDIR3args*);
1168 extern  bool_t xdr_entry3 (XDR *, entry3*);
1169 extern  bool_t xdr_dirlist3 (XDR *, dirlist3*);
1170 extern  bool_t xdr_READDIR3resok (XDR *, READDIR3resok*);
1171 extern  bool_t xdr_READDIR3resfail (XDR *, READDIR3resfail*);
1172 extern  bool_t xdr_READDIR3res (XDR *, READDIR3res*);
1173 extern  bool_t xdr_LINK3args (XDR *, LINK3args*);
1174 extern  bool_t xdr_LINK3resok (XDR *, LINK3resok*);
1175 extern  bool_t xdr_LINK3resfail (XDR *, LINK3resfail*);
1176 extern  bool_t xdr_LINK3res (XDR *, LINK3res*);
1177 extern  bool_t xdr_sattrguard3 (XDR *, sattrguard3*);
1178 extern  bool_t xdr_SETATTR3args (XDR *, SETATTR3args*);
1179 extern  bool_t xdr_SETATTR3resok (XDR *, SETATTR3resok*);
1180 extern  bool_t xdr_SETATTR3resfail (XDR *, SETATTR3resfail*);
1181 extern  bool_t xdr_SETATTR3res (XDR *, SETATTR3res*);
1182
1183 #else /* K&R C */
1184 extern bool_t xdr_cookieverf3 ();
1185 extern bool_t xdr_uint64 ();
1186 extern bool_t xdr_cookie3 ();
1187 extern bool_t xdr_nfs_fh3 ();
1188 extern bool_t xdr_filename3 ();
1189 extern bool_t xdr_diropargs3 ();
1190 extern bool_t xdr_ftype3 ();
1191 extern bool_t xdr_uint32 ();
1192 extern bool_t xdr_int32 ();
1193 extern bool_t xdr_mode3 ();
1194 extern bool_t xdr_uid3 ();
1195 extern bool_t xdr_gid3 ();
1196 extern bool_t xdr_size3 ();
1197 extern bool_t xdr_fileid3 ();
1198 extern bool_t xdr_specdata3 ();
1199 extern bool_t xdr_nfstime3 ();
1200 extern bool_t xdr_fattr3 ();
1201 extern bool_t xdr_post_op_attr ();
1202 extern bool_t xdr_nfsstat3 ();
1203 extern bool_t xdr_stable_how ();
1204 extern bool_t xdr_offset3 ();
1205 extern bool_t xdr_count3 ();
1206 extern bool_t xdr_wcc_attr ();
1207 extern bool_t xdr_pre_op_attr ();
1208 extern bool_t xdr_wcc_data ();
1209 extern bool_t xdr_WRITE3args ();
1210 extern bool_t xdr_writeverf3 ();
1211 extern bool_t xdr_WRITE3resok ();
1212 extern bool_t xdr_WRITE3resfail ();
1213 extern bool_t xdr_WRITE3res ();
1214 extern bool_t xdr_LOOKUP3args ();
1215 extern bool_t xdr_LOOKUP3resok ();
1216 extern bool_t xdr_LOOKUP3resfail ();
1217 extern bool_t xdr_LOOKUP3res ();
1218 extern bool_t xdr_COMMIT3args ();
1219 extern bool_t xdr_COMMIT3resok ();
1220 extern bool_t xdr_COMMIT3resfail ();
1221 extern bool_t xdr_COMMIT3res ();
1222 extern bool_t xdr_ACCESS3args ();
1223 extern bool_t xdr_ACCESS3resok ();
1224 extern bool_t xdr_ACCESS3resfail ();
1225 extern bool_t xdr_ACCESS3res ();
1226 extern bool_t xdr_GETATTR3args ();
1227 extern bool_t xdr_GETATTR3resok ();
1228 extern bool_t xdr_GETATTR3res ();
1229 extern bool_t xdr_time_how ();
1230 extern bool_t xdr_set_mode3 ();
1231 extern bool_t xdr_set_uid3 ();
1232 extern bool_t xdr_set_gid3 ();
1233 extern bool_t xdr_set_size3 ();
1234 extern bool_t xdr_set_atime ();
1235 extern bool_t xdr_set_mtime ();
1236 extern bool_t xdr_sattr3 ();
1237 extern bool_t xdr_createmode3 ();
1238 extern bool_t xdr_createverf3 ();
1239 extern bool_t xdr_createhow3 ();
1240 extern bool_t xdr_CREATE3args ();
1241 extern bool_t xdr_post_op_fh3 ();
1242 extern bool_t xdr_CREATE3resok ();
1243 extern bool_t xdr_CREATE3resfail ();
1244 extern bool_t xdr_CREATE3res ();
1245 extern bool_t xdr_REMOVE3args ();
1246 extern bool_t xdr_REMOVE3resok ();
1247 extern bool_t xdr_REMOVE3resfail ();
1248 extern bool_t xdr_REMOVE3res ();
1249 extern bool_t xdr_READ3args ();
1250 extern bool_t xdr_READ3resok ();
1251 extern bool_t xdr_READ3resfail ();
1252 extern bool_t xdr_READ3res ();
1253 extern bool_t xdr_FSINFO3args ();
1254 extern bool_t xdr_FSINFO3resok ();
1255 extern bool_t xdr_FSINFO3resfail ();
1256 extern bool_t xdr_FSINFO3res ();
1257 extern bool_t xdr_FSSTAT3args ();
1258 extern bool_t xdr_FSSTAT3resok ();
1259 extern bool_t xdr_FSSTAT3resfail ();
1260 extern bool_t xdr_FSSTAT3res ();
1261 extern bool_t xdr_PATHCONF3args ();
1262 extern bool_t xdr_PATHCONF3resok ();
1263 extern bool_t xdr_PATHCONF3resfail ();
1264 extern bool_t xdr_PATHCONF3res ();
1265 extern bool_t xdr_nfspath3 ();
1266 extern bool_t xdr_symlinkdata3 ();
1267 extern bool_t xdr_SYMLINK3args ();
1268 extern bool_t xdr_SYMLINK3resok ();
1269 extern bool_t xdr_SYMLINK3resfail ();
1270 extern bool_t xdr_SYMLINK3res ();
1271 extern bool_t xdr_READLINK3args ();
1272 extern bool_t xdr_READLINK3resok ();
1273 extern bool_t xdr_READLINK3resfail ();
1274 extern bool_t xdr_READLINK3res ();
1275 extern bool_t xdr_devicedata3 ();
1276 extern bool_t xdr_mknoddata3 ();
1277 extern bool_t xdr_MKNOD3args ();
1278 extern bool_t xdr_MKNOD3resok ();
1279 extern bool_t xdr_MKNOD3resfail ();
1280 extern bool_t xdr_MKNOD3res ();
1281 extern bool_t xdr_MKDIR3args ();
1282 extern bool_t xdr_MKDIR3resok ();
1283 extern bool_t xdr_MKDIR3resfail ();
1284 extern bool_t xdr_MKDIR3res ();
1285 extern bool_t xdr_RMDIR3args ();
1286 extern bool_t xdr_RMDIR3resok ();
1287 extern bool_t xdr_RMDIR3resfail ();
1288 extern bool_t xdr_RMDIR3res ();
1289 extern bool_t xdr_RENAME3args ();
1290 extern bool_t xdr_RENAME3resok ();
1291 extern bool_t xdr_RENAME3resfail ();
1292 extern bool_t xdr_RENAME3res ();
1293 extern bool_t xdr_READDIRPLUS3args ();
1294 extern bool_t xdr_entryplus3 ();
1295 extern bool_t xdr_dirlistplus3 ();
1296 extern bool_t xdr_READDIRPLUS3resok ();
1297 extern bool_t xdr_READDIRPLUS3resfail ();
1298 extern bool_t xdr_READDIRPLUS3res ();
1299 extern bool_t xdr_READDIR3args ();
1300 extern bool_t xdr_entry3 ();
1301 extern bool_t xdr_dirlist3 ();
1302 extern bool_t xdr_READDIR3resok ();
1303 extern bool_t xdr_READDIR3resfail ();
1304 extern bool_t xdr_READDIR3res ();
1305 extern bool_t xdr_LINK3args ();
1306 extern bool_t xdr_LINK3resok ();
1307 extern bool_t xdr_LINK3resfail ();
1308 extern bool_t xdr_LINK3res ();
1309 extern bool_t xdr_sattrguard3 ();
1310 extern bool_t xdr_SETATTR3args ();
1311 extern bool_t xdr_SETATTR3resok ();
1312 extern bool_t xdr_SETATTR3resfail ();
1313 extern bool_t xdr_SETATTR3res ();
1314
1315 #endif /* K&R C */
1316
1317 #ifdef __cplusplus
1318 }
1319 #endif
1320
1321 #endif /* !_NFS_H_RPCGEN */