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