1/*
2 * Please do not edit this file.
3 * It was generated using rpcgen.
4 */
5
6#ifndef _NFS_PROT_H_RPCGEN
7#define _NFS_PROT_H_RPCGEN
8
9#define RPCGEN_VERSION 199506
10
11#include <rpc/rpc.h>
12
13#define NFS_PORT 2049
14#define NFS_MAXDATA 8192
15#define NFS_MAXPATHLEN 1024
16#define NFS_MAXNAMLEN 255
17#define NFS_FHSIZE 32
18#define NFS_COOKIESIZE 4
19#define NFS_FIFO_DEV -1
20#define NFSMODE_FMT 0170000
21#define NFSMODE_DIR 0040000
22#define NFSMODE_CHR 0020000
23#define NFSMODE_BLK 0060000
24#define NFSMODE_REG 0100000
25#define NFSMODE_LNK 0120000
26#define NFSMODE_SOCK 0140000
27#define NFSMODE_FIFO 0010000
28
29enum nfsstat {
30 NFS_OK = 0,
31 NFSERR_PERM = 1,
32 NFSERR_NOENT = 2,
33 NFSERR_IO = 5,
34 NFSERR_NXIO = 6,
35 NFSERR_ACCES = 13,
36 NFSERR_EXIST = 17,
37 NFSERR_NODEV = 19,
38 NFSERR_NOTDIR = 20,
39 NFSERR_ISDIR = 21,
40 NFSERR_FBIG = 27,
41 NFSERR_NOSPC = 28,
42 NFSERR_ROFS = 30,
43 NFSERR_NAMETOOLONG = 63,
44 NFSERR_NOTEMPTY = 66,
45 NFSERR_DQUOT = 69,
46 NFSERR_STALE = 70,
47 NFSERR_WFLUSH = 99
48};
49typedef enum nfsstat nfsstat;
50
51enum ftype {
52 NFNON = 0,
53 NFREG = 1,
54 NFDIR = 2,
55 NFBLK = 3,
56 NFCHR = 4,
57 NFLNK = 5,
58 NFSOCK = 6,
59 NFBAD = 7,
60 NFFIFO = 8
61};
62typedef enum ftype ftype;
63
64struct nfs_fh {
65 char data[NFS_FHSIZE];
66};
67typedef struct nfs_fh nfs_fh;
68
69struct nfstime {
70 u_int seconds;
71 u_int useconds;
72};
73typedef struct nfstime nfstime;
74
75struct fattr {
76 ftype type;
77 u_int mode;
78 u_int nlink;
79 u_int uid;
80 u_int gid;
81 u_int size;
82 u_int blocksize;
83 u_int rdev;
84 u_int blocks;
85 u_int fsid;
86 u_int fileid;
87 nfstime atime;
88 nfstime mtime;
89 nfstime ctime;
90};
91typedef struct fattr fattr;
92
93struct sattr {
94 u_int mode;
95 u_int uid;
96 u_int gid;
97 u_int size;
98 nfstime atime;
99 nfstime mtime;
100};
101typedef struct sattr sattr;
102
103typedef char *filename;
104
105typedef char *nfspath;
106
107struct attrstat {
108 nfsstat status;
109 union {
110 fattr attributes;
111 } attrstat_u;
112};
113typedef struct attrstat attrstat;
114
115struct sattrargs {
116 nfs_fh file;
117 sattr attributes;
118};
119typedef struct sattrargs sattrargs;
120
121struct diropargs {
122 nfs_fh dir;
123 filename name;
124};
125typedef struct diropargs diropargs;
126
127struct diropokres {
128 nfs_fh file;
129 fattr attributes;
130};
131typedef struct diropokres diropokres;
132
133struct diropres {
134 nfsstat status;
135 union {
136 diropokres diropres;
137 } diropres_u;
138};
139typedef struct diropres diropres;
140
141struct readlinkres {
142 nfsstat status;
143 union {
144 nfspath data;
145 } readlinkres_u;
146};
147typedef struct readlinkres readlinkres;
148
149struct readargs {
150 nfs_fh file;
151 u_int offset;
152 u_int count;
153 u_int totalcount;
154};
155typedef struct readargs readargs;
156
157struct readokres {
158 fattr attributes;
159 struct {
160 unsigned int data_len;
161 char *data_val;
162 } data;
163};
164typedef struct readokres readokres;
165
166struct readres {
167 nfsstat status;
168 union {
169 readokres reply;
170 } readres_u;
171};
172typedef struct readres readres;
173
174struct writeargs {
175 nfs_fh file;
176 u_int beginoffset;
177 u_int offset;
178 u_int totalcount;
179 struct {
180 unsigned int data_len;
181 char *data_val;
182 } data;
183};
184typedef struct writeargs writeargs;
185
186struct createargs {
187 diropargs where;
188 sattr attributes;
189};
190typedef struct createargs createargs;
191
192struct renameargs {
193 diropargs from;
194 diropargs to;
195};
196typedef struct renameargs renameargs;
197
198struct linkargs {
199 nfs_fh from;
200 diropargs to;
201};
202typedef struct linkargs linkargs;
203
204struct symlinkargs {
205 diropargs from;
206 nfspath to;
207 sattr attributes;
208};
209typedef struct symlinkargs symlinkargs;
210
211typedef char nfscookie[NFS_COOKIESIZE];
212
213struct readdirargs {
214 nfs_fh dir;
215 nfscookie cookie;
216 u_int count;
217};
218typedef struct readdirargs readdirargs;
219
220struct entry {
221 u_int fileid;
222 filename name;
223 nfscookie cookie;
224 struct entry *nextentry;
225};
226typedef struct entry entry;
227
228struct dirlist {
229 entry *entries;
230 bool_t eof;
231};
232typedef struct dirlist dirlist;
233
234struct readdirres {
235 nfsstat status;
236 union {
237 dirlist reply;
238 } readdirres_u;
239};
240typedef struct readdirres readdirres;
241
242struct statfsokres {
243 u_int tsize;
244 u_int bsize;
245 u_int blocks;
246 u_int bfree;
247 u_int bavail;
248};
249typedef struct statfsokres statfsokres;
250
251struct statfsres {
252 nfsstat status;
253 union {
254 statfsokres reply;
255 } statfsres_u;
256};
257typedef struct statfsres statfsres;
258#define NFS3_FHSIZE 64
259#define NFS3_COOKIEVERFSIZE 8
260#define NFS3_CREATEVERFSIZE 8
261#define NFS3_WRITEVERFSIZE 8
262
263typedef char *filename3;
264
265typedef char *nfspath3;
266
267typedef u_int64_t fileid3;
268
269typedef u_int64_t cookie3;
270
271typedef char cookieverf3[NFS3_COOKIEVERFSIZE];
272
273typedef char createverf3[NFS3_CREATEVERFSIZE];
274
275typedef char writeverf3[NFS3_WRITEVERFSIZE];
276
277typedef u_int32_t uid3;
278
279typedef u_int32_t gid3;
280
281typedef u_int64_t size3;
282
283typedef u_int64_t offset3;
284
285typedef u_int32_t mode3;
286
287typedef u_int32_t count3;
288
289enum nfsstat3 {
290 NFS3_OK = 0,
291 NFS3ERR_PERM = 1,
292 NFS3ERR_NOENT = 2,
293 NFS3ERR_IO = 5,
294 NFS3ERR_NXIO = 6,
295 NFS3ERR_ACCES = 13,
296 NFS3ERR_EXIST = 17,
297 NFS3ERR_XDEV = 18,
298 NFS3ERR_NODEV = 19,
299 NFS3ERR_NOTDIR = 20,
300 NFS3ERR_ISDIR = 21,
301 NFS3ERR_INVAL = 22,
302 NFS3ERR_FBIG = 27,
303 NFS3ERR_NOSPC = 28,
304 NFS3ERR_ROFS = 30,
305 NFS3ERR_MLINK = 31,
306 NFS3ERR_NAMETOOLONG = 63,
307 NFS3ERR_NOTEMPTY = 66,
308 NFS3ERR_DQUOT = 69,
309 NFS3ERR_STALE = 70,
310 NFS3ERR_REMOTE = 71,
311 NFS3ERR_BADHANDLE = 10001,
312 NFS3ERR_NOT_SYNC = 10002,
313 NFS3ERR_BAD_COOKIE = 10003,
314 NFS3ERR_NOTSUPP = 10004,
315 NFS3ERR_TOOSMALL = 10005,
316 NFS3ERR_SERVERFAULT = 10006,
317 NFS3ERR_BADTYPE = 10007,
318 NFS3ERR_JUKEBOX = 10008
319};
320typedef enum nfsstat3 nfsstat3;
321
322enum ftype3 {
323 NF3REG = 1,
324 NF3DIR = 2,
325 NF3BLK = 3,
326 NF3CHR = 4,
327 NF3LNK = 5,
328 NF3SOCK = 6,
329 NF3FIFO = 7
330};
331typedef enum ftype3 ftype3;
332
333struct specdata3 {
334 u_int32_t specdata1;
335 u_int32_t specdata2;
336};
337typedef struct specdata3 specdata3;
338
339struct nfs_fh3 {
340 struct {
341 unsigned int data_len;
342 char *data_val;
343 } data;
344};
345typedef struct nfs_fh3 nfs_fh3;
346
347struct nfstime3 {
348 u_int32_t seconds;
349 u_int32_t nseconds;
350};
351typedef struct nfstime3 nfstime3;
352
353struct fattr3 {
354 ftype3 type;
355 mode3 mode;
356 u_int32_t nlink;
357 uid3 uid;
358 gid3 gid;
359 size3 size;
360 size3 used;
361 specdata3 rdev;
362 u_int64_t fsid;
363 fileid3 fileid;
364 nfstime3 atime;
365 nfstime3 mtime;
366 nfstime3 ctime;
367};
368typedef struct fattr3 fattr3;
369
370struct post_op_attr {
371 bool_t attributes_follow;
372 union {
373 fattr3 attributes;
374 } post_op_attr_u;
375};
376typedef struct post_op_attr post_op_attr;
377
378struct wcc_attr {
379 size3 size;
380 nfstime3 mtime;
381 nfstime3 ctime;
382};
383typedef struct wcc_attr wcc_attr;
384
385struct pre_op_attr {
386 bool_t attributes_follow;
387 union {
388 wcc_attr attributes;
389 } pre_op_attr_u;
390};
391typedef struct pre_op_attr pre_op_attr;
392
393struct wcc_data {
394 pre_op_attr before;
395 post_op_attr after;
396};
397typedef struct wcc_data wcc_data;
398
399struct post_op_fh3 {
400 bool_t handle_follows;
401 union {
402 nfs_fh3 handle;
403 } post_op_fh3_u;
404};
405typedef struct post_op_fh3 post_op_fh3;
406
407enum time_how {
408 DONT_CHANGE = 0,
409 SET_TO_SERVER_TIME = 1,
410 SET_TO_CLIENT_TIME = 2
411};
412typedef enum time_how time_how;
413
414struct set_mode3 {
415 bool_t set_it;
416 union {
417 mode3 mode;
418 } set_mode3_u;
419};
420typedef struct set_mode3 set_mode3;
421
422struct set_uid3 {
423 bool_t set_it;
424 union {
425 uid3 uid;
426 } set_uid3_u;
427};
428typedef struct set_uid3 set_uid3;
429
430struct set_gid3 {
431 bool_t set_it;
432 union {
433 gid3 gid;
434 } set_gid3_u;
435};
436typedef struct set_gid3 set_gid3;
437
438struct set_size3 {
439 bool_t set_it;
440 union {
441 size3 size;
442 } set_size3_u;
443};
444typedef struct set_size3 set_size3;
445
446struct set_atime {
447 time_how set_it;
448 union {
449 nfstime3 atime;
450 } set_atime_u;
451};
452typedef struct set_atime set_atime;
453
454struct set_mtime {
455 time_how set_it;
456 union {
457 nfstime3 mtime;
458 } set_mtime_u;
459};
460typedef struct set_mtime set_mtime;
461
462struct sattr3 {
463 set_mode3 mode;
464 set_uid3 uid;
465 set_gid3 gid;
466 set_size3 size;
467 set_atime atime;
468 set_mtime mtime;
469};
470typedef struct sattr3 sattr3;
471
472struct diropargs3 {
473 nfs_fh3 dir;
474 filename3 name;
475};
476typedef struct diropargs3 diropargs3;
477
478struct GETATTR3args {
479 nfs_fh3 object;
480};
481typedef struct GETATTR3args GETATTR3args;
482
483struct GETATTR3resok {
484 fattr3 obj_attributes;
485};
486typedef struct GETATTR3resok GETATTR3resok;
487
488struct GETATTR3res {
489 nfsstat3 status;
490 union {
491 GETATTR3resok resok;
492 } GETATTR3res_u;
493};
494typedef struct GETATTR3res GETATTR3res;
495
496struct sattrguard3 {
497 bool_t check;
498 union {
499 nfstime3 obj_ctime;
500 } sattrguard3_u;
501};
502typedef struct sattrguard3 sattrguard3;
503
504struct SETATTR3args {
505 nfs_fh3 object;
506 sattr3 new_attributes;
507 sattrguard3 guard;
508};
509typedef struct SETATTR3args SETATTR3args;
510
511struct SETATTR3resok {
512 wcc_data obj_wcc;
513};
514typedef struct SETATTR3resok SETATTR3resok;
515
516struct SETATTR3resfail {
517 wcc_data obj_wcc;
518};
519typedef struct SETATTR3resfail SETATTR3resfail;
520
521struct SETATTR3res {
522 nfsstat3 status;
523 union {
524 SETATTR3resok resok;
525 SETATTR3resfail resfail;
526 } SETATTR3res_u;
527};
528typedef struct SETATTR3res SETATTR3res;
529
530struct LOOKUP3args {
531 diropargs3 what;
532};
533typedef struct LOOKUP3args LOOKUP3args;
534
535struct LOOKUP3resok {
536 nfs_fh3 object;
537 post_op_attr obj_attributes;
538 post_op_attr dir_attributes;
539};
540typedef struct LOOKUP3resok LOOKUP3resok;
541
542struct LOOKUP3resfail {
543 post_op_attr dir_attributes;
544};
545typedef struct LOOKUP3resfail LOOKUP3resfail;
546
547struct LOOKUP3res {
548 nfsstat3 status;
549 union {
550 LOOKUP3resok resok;
551 LOOKUP3resfail resfail;
552 } LOOKUP3res_u;
553};
554typedef struct LOOKUP3res LOOKUP3res;
555#define ACCESS3_READ 0x0001
556#define ACCESS3_LOOKUP 0x0002
557#define ACCESS3_MODIFY 0x0004
558#define ACCESS3_EXTEND 0x0008
559#define ACCESS3_DELETE 0x0010
560#define ACCESS3_EXECUTE 0x0020
561
562struct ACCESS3args {
563 nfs_fh3 object;
564 u_int32_t access;
565};
566typedef struct ACCESS3args ACCESS3args;
567
568struct ACCESS3resok {
569 post_op_attr obj_attributes;
570 u_int32_t access;
571};
572typedef struct ACCESS3resok ACCESS3resok;
573
574struct ACCESS3resfail {
575 post_op_attr obj_attributes;
576};
577typedef struct ACCESS3resfail ACCESS3resfail;
578
579struct ACCESS3res {
580 nfsstat3 status;
581 union {
582 ACCESS3resok resok;
583 ACCESS3resfail resfail;
584 } ACCESS3res_u;
585};
586typedef struct ACCESS3res ACCESS3res;
587
588struct READLINK3args {
589 nfs_fh3 symlink;
590};
591typedef struct READLINK3args READLINK3args;
592
593struct READLINK3resok {
594 post_op_attr symlink_attributes;
595 nfspath3 data;
596};
597typedef struct READLINK3resok READLINK3resok;
598
599struct READLINK3resfail {
600 post_op_attr symlink_attributes;
601};
602typedef struct READLINK3resfail READLINK3resfail;
603
604struct READLINK3res {
605 nfsstat3 status;
606 union {
607 READLINK3resok resok;
608 READLINK3resfail resfail;
609 } READLINK3res_u;
610};
611typedef struct READLINK3res READLINK3res;
612
613struct READ3args {
614 nfs_fh3 file;
615 offset3 offset;
616 count3 count;
617};
618typedef struct READ3args READ3args;
619
620struct READ3resok {
621 post_op_attr file_attributes;
622 count3 count;
623 bool_t eof;
624 struct {
625 unsigned int data_len;
626 char *data_val;
627 } data;
628};
629typedef struct READ3resok READ3resok;
630
631struct READ3resfail {
632 post_op_attr file_attributes;
633};
634typedef struct READ3resfail READ3resfail;
635
636struct READ3res {
637 nfsstat3 status;
638 union {
639 READ3resok resok;
640 READ3resfail resfail;
641 } READ3res_u;
642};
643typedef struct READ3res READ3res;
644
645enum stable_how {
646 UNSTABLE = 0,
647 DATA_SYNC = 1,
648 FILE_SYNC = 2
649};
650typedef enum stable_how stable_how;
651
652struct WRITE3args {
653 nfs_fh3 file;
654 offset3 offset;
655 count3 count;
656 stable_how stable;
657 struct {
658 unsigned int data_len;
659 char *data_val;
660 } data;
661};
662typedef struct WRITE3args WRITE3args;
663
664struct WRITE3resok {
665 wcc_data file_wcc;
666 count3 count;
667 stable_how committed;
668 writeverf3 verf;
669};
670typedef struct WRITE3resok WRITE3resok;
671
672struct WRITE3resfail {
673 wcc_data file_wcc;
674};
675typedef struct WRITE3resfail WRITE3resfail;
676
677struct WRITE3res {
678 nfsstat3 status;
679 union {
680 WRITE3resok resok;
681 WRITE3resfail resfail;
682 } WRITE3res_u;
683};
684typedef struct WRITE3res WRITE3res;
685
686enum createmode3 {
687 UNCHECKED = 0,
688 GUARDED = 1,
689 EXCLUSIVE = 2
690};
691typedef enum createmode3 createmode3;
692
693struct createhow3 {
694 createmode3 mode;
695 union {
696 sattr3 obj_attributes;
697 createverf3 verf;
698 } createhow3_u;
699};
700typedef struct createhow3 createhow3;
701
702struct CREATE3args {
703 diropargs3 where;
704 createhow3 how;
705};
706typedef struct CREATE3args CREATE3args;
707
708struct CREATE3resok {
709 post_op_fh3 obj;
710 post_op_attr obj_attributes;
711 wcc_data dir_wcc;
712};
713typedef struct CREATE3resok CREATE3resok;
714
715struct CREATE3resfail {
716 wcc_data dir_wcc;
717};
718typedef struct CREATE3resfail CREATE3resfail;
719
720struct CREATE3res {
721 nfsstat3 status;
722 union {
723 CREATE3resok resok;
724 CREATE3resfail resfail;
725 } CREATE3res_u;
726};
727typedef struct CREATE3res CREATE3res;
728
729struct MKDIR3args {
730 diropargs3 where;
731 sattr3 attributes;
732};
733typedef struct MKDIR3args MKDIR3args;
734
735struct MKDIR3resok {
736 post_op_fh3 obj;
737 post_op_attr obj_attributes;
738 wcc_data dir_wcc;
739};
740typedef struct MKDIR3resok MKDIR3resok;
741
742struct MKDIR3resfail {
743 wcc_data dir_wcc;
744};
745typedef struct MKDIR3resfail MKDIR3resfail;
746
747struct MKDIR3res {
748 nfsstat3 status;
749 union {
750 MKDIR3resok resok;
751 MKDIR3resfail resfail;
752 } MKDIR3res_u;
753};
754typedef struct MKDIR3res MKDIR3res;
755
756struct symlinkdata3 {
757 sattr3 symlink_attributes;
758 nfspath3 symlink_data;
759};
760typedef struct symlinkdata3 symlinkdata3;
761
762struct SYMLINK3args {
763 diropargs3 where;
764 symlinkdata3 symlink;
765};
766typedef struct SYMLINK3args SYMLINK3args;
767
768struct SYMLINK3resok {
769 post_op_fh3 obj;
770 post_op_attr obj_attributes;
771 wcc_data dir_wcc;
772};
773typedef struct SYMLINK3resok SYMLINK3resok;
774
775struct SYMLINK3resfail {
776 wcc_data dir_wcc;
777};
778typedef struct SYMLINK3resfail SYMLINK3resfail;
779
780struct SYMLINK3res {
781 nfsstat3 status;
782 union {
783 SYMLINK3resok resok;
784 SYMLINK3resfail resfail;
785 } SYMLINK3res_u;
786};
787typedef struct SYMLINK3res SYMLINK3res;
788
789struct devicedata3 {
790 sattr3 dev_attributes;
791 specdata3 spec;
792};
793typedef struct devicedata3 devicedata3;
794
795struct mknoddata3 {
796 ftype3 type;
797 union {
798 devicedata3 device;
799 sattr3 pipe_attributes;
800 } mknoddata3_u;
801};
802typedef struct mknoddata3 mknoddata3;
803
804struct MKNOD3args {
805 diropargs3 where;
806 mknoddata3 what;
807};
808typedef struct MKNOD3args MKNOD3args;
809
810struct MKNOD3resok {
811 post_op_fh3 obj;
812 post_op_attr obj_attributes;
813 wcc_data dir_wcc;
814};
815typedef struct MKNOD3resok MKNOD3resok;
816
817struct MKNOD3resfail {
818 wcc_data dir_wcc;
819};
820typedef struct MKNOD3resfail MKNOD3resfail;
821
822struct MKNOD3res {
823 nfsstat3 status;
824 union {
825 MKNOD3resok resok;
826 MKNOD3resfail resfail;
827 } MKNOD3res_u;
828};
829typedef struct MKNOD3res MKNOD3res;
830
831struct REMOVE3args {
832 diropargs3 object;
833};
834typedef struct REMOVE3args REMOVE3args;
835
836struct REMOVE3resok {
837 wcc_data dir_wcc;
838};
839typedef struct REMOVE3resok REMOVE3resok;
840
841struct REMOVE3resfail {
842 wcc_data dir_wcc;
843};
844typedef struct REMOVE3resfail REMOVE3resfail;
845
846struct REMOVE3res {
847 nfsstat3 status;
848 union {
849 REMOVE3resok resok;
850 REMOVE3resfail resfail;
851 } REMOVE3res_u;
852};
853typedef struct REMOVE3res REMOVE3res;
854
855struct RMDIR3args {
856 diropargs3 object;
857};
858typedef struct RMDIR3args RMDIR3args;
859
860struct RMDIR3resok {
861 wcc_data dir_wcc;
862};
863typedef struct RMDIR3resok RMDIR3resok;
864
865struct RMDIR3resfail {
866 wcc_data dir_wcc;
867};
868typedef struct RMDIR3resfail RMDIR3resfail;
869
870struct RMDIR3res {
871 nfsstat3 status;
872 union {
873 RMDIR3resok resok;
874 RMDIR3resfail resfail;
875 } RMDIR3res_u;
876};
877typedef struct RMDIR3res RMDIR3res;
878
879struct RENAME3args {
880 diropargs3 from;
881 diropargs3 to;
882};
883typedef struct RENAME3args RENAME3args;
884
885struct RENAME3resok {
886 wcc_data fromdir_wcc;
887 wcc_data todir_wcc;
888};
889typedef struct RENAME3resok RENAME3resok;
890
891struct RENAME3resfail {
892 wcc_data fromdir_wcc;
893 wcc_data todir_wcc;
894};
895typedef struct RENAME3resfail RENAME3resfail;
896
897struct RENAME3res {
898 nfsstat3 status;
899 union {
900 RENAME3resok resok;
901 RENAME3resfail resfail;
902 } RENAME3res_u;
903};
904typedef struct RENAME3res RENAME3res;
905
906struct LINK3args {
907 nfs_fh3 file;
908 diropargs3 link;
909};
910typedef struct LINK3args LINK3args;
911
912struct LINK3resok {
913 post_op_attr file_attributes;
914 wcc_data linkdir_wcc;
915};
916typedef struct LINK3resok LINK3resok;
917
918struct LINK3resfail {
919 post_op_attr file_attributes;
920 wcc_data linkdir_wcc;
921};
922typedef struct LINK3resfail LINK3resfail;
923
924struct LINK3res {
925 nfsstat3 status;
926 union {
927 LINK3resok resok;
928 LINK3resfail resfail;
929 } LINK3res_u;
930};
931typedef struct LINK3res LINK3res;
932
933struct READDIR3args {
934 nfs_fh3 dir;
935 cookie3 cookie;
936 cookieverf3 cookieverf;
937 count3 count;
938};
939typedef struct READDIR3args READDIR3args;
940
941struct entry3 {
942 fileid3 fileid;
943 filename3 name;
944 cookie3 cookie;
945 struct entry3 *nextentry;
946};
947typedef struct entry3 entry3;
948
949struct dirlist3 {
950 entry3 *entries;
951 bool_t eof;
952};
953typedef struct dirlist3 dirlist3;
954
955struct READDIR3resok {
956 post_op_attr dir_attributes;
957 cookieverf3 cookieverf;
958 dirlist3 reply;
959};
960typedef struct READDIR3resok READDIR3resok;
961
962struct READDIR3resfail {
963 post_op_attr dir_attributes;
964};
965typedef struct READDIR3resfail READDIR3resfail;
966
967struct READDIR3res {
968 nfsstat3 status;
969 union {
970 READDIR3resok resok;
971 READDIR3resfail resfail;
972 } READDIR3res_u;
973};
974typedef struct READDIR3res READDIR3res;
975
976struct READDIRPLUS3args {
977 nfs_fh3 dir;
978 cookie3 cookie;
979 cookieverf3 cookieverf;
980 count3 dircount;
981 count3 maxcount;
982};
983typedef struct READDIRPLUS3args READDIRPLUS3args;
984
985struct entryplus3 {
986 fileid3 fileid;
987 filename3 name;
988 cookie3 cookie;
989 post_op_attr name_attributes;
990 post_op_fh3 name_handle;
991 struct entryplus3 *nextentry;
992};
993typedef struct entryplus3 entryplus3;
994
995struct dirlistplus3 {
996 entryplus3 *entries;
997 bool_t eof;
998};
999typedef struct dirlistplus3 dirlistplus3;
1000
1001struct READDIRPLUS3resok {
1002 post_op_attr dir_attributes;
1003 cookieverf3 cookieverf;
1004 dirlistplus3 reply;
1005};
1006typedef struct READDIRPLUS3resok READDIRPLUS3resok;
1007
1008struct READDIRPLUS3resfail {
1009 post_op_attr dir_attributes;
1010};
1011typedef struct READDIRPLUS3resfail READDIRPLUS3resfail;
1012
1013struct READDIRPLUS3res {
1014 nfsstat3 status;
1015 union {
1016 READDIRPLUS3resok resok;
1017 READDIRPLUS3resfail resfail;
1018 } READDIRPLUS3res_u;
1019};
1020typedef struct READDIRPLUS3res READDIRPLUS3res;
1021
1022struct FSSTAT3args {
1023 nfs_fh3 fsroot;
1024};
1025typedef struct FSSTAT3args FSSTAT3args;
1026
1027struct FSSTAT3resok {
1028 post_op_attr obj_attributes;
1029 size3 tbytes;
1030 size3 fbytes;
1031 size3 abytes;
1032 size3 tfiles;
1033 size3 ffiles;
1034 size3 afiles;
1035 u_int32_t invarsec;
1036};
1037typedef struct FSSTAT3resok FSSTAT3resok;
1038
1039struct FSSTAT3resfail {
1040 post_op_attr obj_attributes;
1041};
1042typedef struct FSSTAT3resfail FSSTAT3resfail;
1043
1044struct FSSTAT3res {
1045 nfsstat3 status;
1046 union {
1047 FSSTAT3resok resok;
1048 FSSTAT3resfail resfail;
1049 } FSSTAT3res_u;
1050};
1051typedef struct FSSTAT3res FSSTAT3res;
1052#define FSF3_LINK 0x0001
1053#define FSF3_SYMLINK 0x0002
1054#define FSF3_HOMOGENEOUS 0x0008
1055#define FSF3_CANSETTIME 0x0010
1056
1057struct FSINFO3args {
1058 nfs_fh3 fsroot;
1059};
1060typedef struct FSINFO3args FSINFO3args;
1061
1062struct FSINFO3resok {
1063 post_op_attr obj_attributes;
1064 u_int32_t rtmax;
1065 u_int32_t rtpref;
1066 u_int32_t rtmult;
1067 u_int32_t wtmax;
1068 u_int32_t wtpref;
1069 u_int32_t wtmult;
1070 u_int32_t dtpref;
1071 size3 maxfilesize;
1072 nfstime3 time_delta;
1073 u_int32_t properties;
1074};
1075typedef struct FSINFO3resok FSINFO3resok;
1076
1077struct FSINFO3resfail {
1078 post_op_attr obj_attributes;
1079};
1080typedef struct FSINFO3resfail FSINFO3resfail;
1081
1082struct FSINFO3res {
1083 nfsstat3 status;
1084 union {
1085 FSINFO3resok resok;
1086 FSINFO3resfail resfail;
1087 } FSINFO3res_u;
1088};
1089typedef struct FSINFO3res FSINFO3res;
1090
1091struct PATHCONF3args {
1092 nfs_fh3 object;
1093};
1094typedef struct PATHCONF3args PATHCONF3args;
1095
1096struct PATHCONF3resok {
1097 post_op_attr obj_attributes;
1098 u_int32_t linkmax;
1099 u_int32_t name_max;
1100 bool_t no_trunc;
1101 bool_t chown_restricted;
1102 bool_t case_insensitive;
1103 bool_t case_preserving;
1104};
1105typedef struct PATHCONF3resok PATHCONF3resok;
1106
1107struct PATHCONF3resfail {
1108 post_op_attr obj_attributes;
1109};
1110typedef struct PATHCONF3resfail PATHCONF3resfail;
1111
1112struct PATHCONF3res {
1113 nfsstat3 status;
1114 union {
1115 PATHCONF3resok resok;
1116 PATHCONF3resfail resfail;
1117 } PATHCONF3res_u;
1118};
1119typedef struct PATHCONF3res PATHCONF3res;
1120
1121struct COMMIT3args {
1122 nfs_fh3 file;
1123 offset3 offset;
1124 count3 count;
1125};
1126typedef struct COMMIT3args COMMIT3args;
1127
1128struct COMMIT3resok {
1129 wcc_data file_wcc;
1130 writeverf3 verf;
1131};
1132typedef struct COMMIT3resok COMMIT3resok;
1133
1134struct COMMIT3resfail {
1135 wcc_data file_wcc;
1136};
1137typedef struct COMMIT3resfail COMMIT3resfail;
1138
1139struct COMMIT3res {
1140 nfsstat3 status;
1141 union {
1142 COMMIT3resok resok;
1143 COMMIT3resfail resfail;
1144 } COMMIT3res_u;
1145};
1146typedef struct COMMIT3res COMMIT3res;
1147
1148__BEGIN_DECLS
1149bool_t xdr_nfsstat(XDR *, nfsstat *);
1150bool_t xdr_ftype(XDR *, ftype *);
1151bool_t xdr_nfs_fh(XDR *, nfs_fh *);
1152bool_t xdr_nfstime(XDR *, nfstime *);
1153bool_t xdr_fattr(XDR *, fattr *);
1154bool_t xdr_sattr(XDR *, sattr *);
1155bool_t xdr_filename(XDR *, filename *);
1156bool_t xdr_nfspath(XDR *, nfspath *);
1157bool_t xdr_attrstat(XDR *, attrstat *);
1158bool_t xdr_sattrargs(XDR *, sattrargs *);
1159bool_t xdr_diropargs(XDR *, diropargs *);
1160bool_t xdr_diropokres(XDR *, diropokres *);
1161bool_t xdr_diropres(XDR *, diropres *);
1162bool_t xdr_readlinkres(XDR *, readlinkres *);
1163bool_t xdr_readargs(XDR *, readargs *);
1164bool_t xdr_readokres(XDR *, readokres *);
1165bool_t xdr_readres(XDR *, readres *);
1166bool_t xdr_writeargs(XDR *, writeargs *);
1167bool_t xdr_createargs(XDR *, createargs *);
1168bool_t xdr_renameargs(XDR *, renameargs *);
1169bool_t xdr_linkargs(XDR *, linkargs *);
1170bool_t xdr_symlinkargs(XDR *, symlinkargs *);
1171bool_t xdr_nfscookie(XDR *, nfscookie);
1172bool_t xdr_readdirargs(XDR *, readdirargs *);
1173bool_t xdr_entry(XDR *, entry *);
1174bool_t xdr_dirlist(XDR *, dirlist *);
1175bool_t xdr_readdirres(XDR *, readdirres *);
1176bool_t xdr_statfsokres(XDR *, statfsokres *);
1177bool_t xdr_statfsres(XDR *, statfsres *);
1178bool_t xdr_filename3(XDR *, filename3 *);
1179bool_t xdr_nfspath3(XDR *, nfspath3 *);
1180bool_t xdr_fileid3(XDR *, fileid3 *);
1181bool_t xdr_cookie3(XDR *, cookie3 *);
1182bool_t xdr_cookieverf3(XDR *, cookieverf3);
1183bool_t xdr_createverf3(XDR *, createverf3);
1184bool_t xdr_writeverf3(XDR *, writeverf3);
1185bool_t xdr_uid3(XDR *, uid3 *);
1186bool_t xdr_gid3(XDR *, gid3 *);
1187bool_t xdr_size3(XDR *, size3 *);
1188bool_t xdr_offset3(XDR *, offset3 *);
1189bool_t xdr_mode3(XDR *, mode3 *);
1190bool_t xdr_count3(XDR *, count3 *);
1191bool_t xdr_nfsstat3(XDR *, nfsstat3 *);
1192bool_t xdr_ftype3(XDR *, ftype3 *);
1193bool_t xdr_specdata3(XDR *, specdata3 *);
1194bool_t xdr_nfs_fh3(XDR *, nfs_fh3 *);
1195bool_t xdr_nfstime3(XDR *, nfstime3 *);
1196bool_t xdr_fattr3(XDR *, fattr3 *);
1197bool_t xdr_post_op_attr(XDR *, post_op_attr *);
1198bool_t xdr_wcc_attr(XDR *, wcc_attr *);
1199bool_t xdr_pre_op_attr(XDR *, pre_op_attr *);
1200bool_t xdr_wcc_data(XDR *, wcc_data *);
1201bool_t xdr_post_op_fh3(XDR *, post_op_fh3 *);
1202bool_t xdr_time_how(XDR *, time_how *);
1203bool_t xdr_set_mode3(XDR *, set_mode3 *);
1204bool_t xdr_set_uid3(XDR *, set_uid3 *);
1205bool_t xdr_set_gid3(XDR *, set_gid3 *);
1206bool_t xdr_set_size3(XDR *, set_size3 *);
1207bool_t xdr_set_atime(XDR *, set_atime *);
1208bool_t xdr_set_mtime(XDR *, set_mtime *);
1209bool_t xdr_sattr3(XDR *, sattr3 *);
1210bool_t xdr_diropargs3(XDR *, diropargs3 *);
1211bool_t xdr_GETATTR3args(XDR *, GETATTR3args *);
1212bool_t xdr_GETATTR3resok(XDR *, GETATTR3resok *);
1213bool_t xdr_GETATTR3res(XDR *, GETATTR3res *);
1214bool_t xdr_sattrguard3(XDR *, sattrguard3 *);
1215bool_t xdr_SETATTR3args(XDR *, SETATTR3args *);
1216bool_t xdr_SETATTR3resok(XDR *, SETATTR3resok *);
1217bool_t xdr_SETATTR3resfail(XDR *, SETATTR3resfail *);
1218bool_t xdr_SETATTR3res(XDR *, SETATTR3res *);
1219bool_t xdr_LOOKUP3args(XDR *, LOOKUP3args *);
1220bool_t xdr_LOOKUP3resok(XDR *, LOOKUP3resok *);
1221bool_t xdr_LOOKUP3resfail(XDR *, LOOKUP3resfail *);
1222bool_t xdr_LOOKUP3res(XDR *, LOOKUP3res *);
1223bool_t xdr_ACCESS3args(XDR *, ACCESS3args *);
1224bool_t xdr_ACCESS3resok(XDR *, ACCESS3resok *);
1225bool_t xdr_ACCESS3resfail(XDR *, ACCESS3resfail *);
1226bool_t xdr_ACCESS3res(XDR *, ACCESS3res *);
1227bool_t xdr_READLINK3args(XDR *, READLINK3args *);
1228bool_t xdr_READLINK3resok(XDR *, READLINK3resok *);
1229bool_t xdr_READLINK3resfail(XDR *, READLINK3resfail *);
1230bool_t xdr_READLINK3res(XDR *, READLINK3res *);
1231bool_t xdr_READ3args(XDR *, READ3args *);
1232bool_t xdr_READ3resok(XDR *, READ3resok *);
1233bool_t xdr_READ3resfail(XDR *, READ3resfail *);
1234bool_t xdr_READ3res(XDR *, READ3res *);
1235bool_t xdr_stable_how(XDR *, stable_how *);
1236bool_t xdr_WRITE3args(XDR *, WRITE3args *);
1237bool_t xdr_WRITE3resok(XDR *, WRITE3resok *);
1238bool_t xdr_WRITE3resfail(XDR *, WRITE3resfail *);
1239bool_t xdr_WRITE3res(XDR *, WRITE3res *);
1240bool_t xdr_createmode3(XDR *, createmode3 *);
1241bool_t xdr_createhow3(XDR *, createhow3 *);
1242bool_t xdr_CREATE3args(XDR *, CREATE3args *);
1243bool_t xdr_CREATE3resok(XDR *, CREATE3resok *);
1244bool_t xdr_CREATE3resfail(XDR *, CREATE3resfail *);
1245bool_t xdr_CREATE3res(XDR *, CREATE3res *);
1246bool_t xdr_MKDIR3args(XDR *, MKDIR3args *);
1247bool_t xdr_MKDIR3resok(XDR *, MKDIR3resok *);
1248bool_t xdr_MKDIR3resfail(XDR *, MKDIR3resfail *);
1249bool_t xdr_MKDIR3res(XDR *, MKDIR3res *);
1250bool_t xdr_symlinkdata3(XDR *, symlinkdata3 *);
1251bool_t xdr_SYMLINK3args(XDR *, SYMLINK3args *);
1252bool_t xdr_SYMLINK3resok(XDR *, SYMLINK3resok *);
1253bool_t xdr_SYMLINK3resfail(XDR *, SYMLINK3resfail *);
1254bool_t xdr_SYMLINK3res(XDR *, SYMLINK3res *);
1255bool_t xdr_devicedata3(XDR *, devicedata3 *);
1256bool_t xdr_mknoddata3(XDR *, mknoddata3 *);
1257bool_t xdr_MKNOD3args(XDR *, MKNOD3args *);
1258bool_t xdr_MKNOD3resok(XDR *, MKNOD3resok *);
1259bool_t xdr_MKNOD3resfail(XDR *, MKNOD3resfail *);
1260bool_t xdr_MKNOD3res(XDR *, MKNOD3res *);
1261bool_t xdr_REMOVE3args(XDR *, REMOVE3args *);
1262bool_t xdr_REMOVE3resok(XDR *, REMOVE3resok *);
1263bool_t xdr_REMOVE3resfail(XDR *, REMOVE3resfail *);
1264bool_t xdr_REMOVE3res(XDR *, REMOVE3res *);
1265bool_t xdr_RMDIR3args(XDR *, RMDIR3args *);
1266bool_t xdr_RMDIR3resok(XDR *, RMDIR3resok *);
1267bool_t xdr_RMDIR3resfail(XDR *, RMDIR3resfail *);
1268bool_t xdr_RMDIR3res(XDR *, RMDIR3res *);
1269bool_t xdr_RENAME3args(XDR *, RENAME3args *);
1270bool_t xdr_RENAME3resok(XDR *, RENAME3resok *);
1271bool_t xdr_RENAME3resfail(XDR *, RENAME3resfail *);
1272bool_t xdr_RENAME3res(XDR *, RENAME3res *);
1273bool_t xdr_LINK3args(XDR *, LINK3args *);
1274bool_t xdr_LINK3resok(XDR *, LINK3resok *);
1275bool_t xdr_LINK3resfail(XDR *, LINK3resfail *);
1276bool_t xdr_LINK3res(XDR *, LINK3res *);
1277bool_t xdr_READDIR3args(XDR *, READDIR3args *);
1278bool_t xdr_entry3(XDR *, entry3 *);
1279bool_t xdr_dirlist3(XDR *, dirlist3 *);
1280bool_t xdr_READDIR3resok(XDR *, READDIR3resok *);
1281bool_t xdr_READDIR3resfail(XDR *, READDIR3resfail *);
1282bool_t xdr_READDIR3res(XDR *, READDIR3res *);
1283bool_t xdr_READDIRPLUS3args(XDR *, READDIRPLUS3args *);
1284bool_t xdr_entryplus3(XDR *, entryplus3 *);
1285bool_t xdr_dirlistplus3(XDR *, dirlistplus3 *);
1286bool_t xdr_READDIRPLUS3resok(XDR *, READDIRPLUS3resok *);
1287bool_t xdr_READDIRPLUS3resfail(XDR *, READDIRPLUS3resfail *);
1288bool_t xdr_READDIRPLUS3res(XDR *, READDIRPLUS3res *);
1289bool_t xdr_FSSTAT3args(XDR *, FSSTAT3args *);
1290bool_t xdr_FSSTAT3resok(XDR *, FSSTAT3resok *);
1291bool_t xdr_FSSTAT3resfail(XDR *, FSSTAT3resfail *);
1292bool_t xdr_FSSTAT3res(XDR *, FSSTAT3res *);
1293bool_t xdr_FSINFO3args(XDR *, FSINFO3args *);
1294bool_t xdr_FSINFO3resok(XDR *, FSINFO3resok *);
1295bool_t xdr_FSINFO3resfail(XDR *, FSINFO3resfail *);
1296bool_t xdr_FSINFO3res(XDR *, FSINFO3res *);
1297bool_t xdr_PATHCONF3args(XDR *, PATHCONF3args *);
1298bool_t xdr_PATHCONF3resok(XDR *, PATHCONF3resok *);
1299bool_t xdr_PATHCONF3resfail(XDR *, PATHCONF3resfail *);
1300bool_t xdr_PATHCONF3res(XDR *, PATHCONF3res *);
1301bool_t xdr_COMMIT3args(XDR *, COMMIT3args *);
1302bool_t xdr_COMMIT3resok(XDR *, COMMIT3resok *);
1303bool_t xdr_COMMIT3resfail(XDR *, COMMIT3resfail *);
1304bool_t xdr_COMMIT3res(XDR *, COMMIT3res *);
1305__END_DECLS
1306
1307#define NFS_PROGRAM 100003
1308#define NFS_VERSION 2
1309#define NFSPROC_NULL 0
1310#define NFSPROC_GETATTR 1
1311#define NFSPROC_SETATTR 2
1312#define NFSPROC_ROOT 3
1313#define NFSPROC_LOOKUP 4
1314#define NFSPROC_READLINK 5
1315#define NFSPROC_READ 6
1316#define NFSPROC_WRITECACHE 7
1317#define NFSPROC_WRITE 8
1318#define NFSPROC_CREATE 9
1319#define NFSPROC_REMOVE 10
1320#define NFSPROC_RENAME 11
1321#define NFSPROC_LINK 12
1322#define NFSPROC_SYMLINK 13
1323#define NFSPROC_MKDIR 14
1324#define NFSPROC_RMDIR 15
1325#define NFSPROC_READDIR 16
1326#define NFSPROC_STATFS 17
1327#define NFS_V3 3
1328#define NFSPROC3_NULL 0
1329#define NFSPROC3_GETATTR 1
1330#define NFSPROC3_SETATTR 2
1331#define NFSPROC3_LOOKUP 3
1332#define NFSPROC3_ACCESS 4
1333#define NFSPROC3_READLINK 5
1334#define NFSPROC3_READ 6
1335#define NFSPROC3_WRITE 7
1336#define NFSPROC3_CREATE 8
1337#define NFSPROC3_MKDIR 9
1338#define NFSPROC3_SYMLINK 10
1339#define NFSPROC3_MKNOD 11
1340#define NFSPROC3_REMOVE 12
1341#define NFSPROC3_RMDIR 13
1342#define NFSPROC3_RENAME 14
1343#define NFSPROC3_LINK 15
1344#define NFSPROC3_READDIR 16
1345#define NFSPROC3_READDIRPLUS 17
1346#define NFSPROC3_FSSTAT 18
1347#define NFSPROC3_FSINFO 19
1348#define NFSPROC3_PATHCONF 20
1349#define NFSPROC3_COMMIT 21
1350
1351__BEGIN_DECLS
1352void *nfsproc_null_2(void *, CLIENT *);
1353void *nfsproc_null_2_svc(void *, struct svc_req *);
1354attrstat *nfsproc_getattr_2(nfs_fh *, CLIENT *);
1355attrstat *nfsproc_getattr_2_svc(nfs_fh *, struct svc_req *);
1356attrstat *nfsproc_setattr_2(sattrargs *, CLIENT *);
1357attrstat *nfsproc_setattr_2_svc(sattrargs *, struct svc_req *);
1358void *nfsproc_root_2(void *, CLIENT *);
1359void *nfsproc_root_2_svc(void *, struct svc_req *);
1360diropres *nfsproc_lookup_2(diropargs *, CLIENT *);
1361diropres *nfsproc_lookup_2_svc(diropargs *, struct svc_req *);
1362readlinkres *nfsproc_readlink_2(nfs_fh *, CLIENT *);
1363readlinkres *nfsproc_readlink_2_svc(nfs_fh *, struct svc_req *);
1364readres *nfsproc_read_2(readargs *, CLIENT *);
1365readres *nfsproc_read_2_svc(readargs *, struct svc_req *);
1366void *nfsproc_writecache_2(void *, CLIENT *);
1367void *nfsproc_writecache_2_svc(void *, struct svc_req *);
1368attrstat *nfsproc_write_2(writeargs *, CLIENT *);
1369attrstat *nfsproc_write_2_svc(writeargs *, struct svc_req *);
1370diropres *nfsproc_create_2(createargs *, CLIENT *);
1371diropres *nfsproc_create_2_svc(createargs *, struct svc_req *);
1372nfsstat *nfsproc_remove_2(diropargs *, CLIENT *);
1373nfsstat *nfsproc_remove_2_svc(diropargs *, struct svc_req *);
1374nfsstat *nfsproc_rename_2(renameargs *, CLIENT *);
1375nfsstat *nfsproc_rename_2_svc(renameargs *, struct svc_req *);
1376nfsstat *nfsproc_link_2(linkargs *, CLIENT *);
1377nfsstat *nfsproc_link_2_svc(linkargs *, struct svc_req *);
1378nfsstat *nfsproc_symlink_2(symlinkargs *, CLIENT *);
1379nfsstat *nfsproc_symlink_2_svc(symlinkargs *, struct svc_req *);
1380diropres *nfsproc_mkdir_2(createargs *, CLIENT *);
1381diropres *nfsproc_mkdir_2_svc(createargs *, struct svc_req *);
1382nfsstat *nfsproc_rmdir_2(diropargs *, CLIENT *);
1383nfsstat *nfsproc_rmdir_2_svc(diropargs *, struct svc_req *);
1384readdirres *nfsproc_readdir_2(readdirargs *, CLIENT *);
1385readdirres *nfsproc_readdir_2_svc(readdirargs *, struct svc_req *);
1386statfsres *nfsproc_statfs_2(nfs_fh *, CLIENT *);
1387statfsres *nfsproc_statfs_2_svc(nfs_fh *, struct svc_req *);
1388void *nfsproc3_null_3(void *, CLIENT *);
1389void *nfsproc3_null_3_svc(void *, struct svc_req *);
1390GETATTR3res *nfsproc3_getattr_3(GETATTR3args *, CLIENT *);
1391GETATTR3res *nfsproc3_getattr_3_svc(GETATTR3args *, struct svc_req *);
1392SETATTR3res *nfsproc3_setattr_3(SETATTR3args *, CLIENT *);
1393SETATTR3res *nfsproc3_setattr_3_svc(SETATTR3args *, struct svc_req *);
1394LOOKUP3res *nfsproc3_lookup_3(LOOKUP3args *, CLIENT *);
1395LOOKUP3res *nfsproc3_lookup_3_svc(LOOKUP3args *, struct svc_req *);
1396ACCESS3res *nfsproc3_access_3(ACCESS3args *, CLIENT *);
1397ACCESS3res *nfsproc3_access_3_svc(ACCESS3args *, struct svc_req *);
1398READLINK3res *nfsproc3_readlink_3(READLINK3args *, CLIENT *);
1399READLINK3res *nfsproc3_readlink_3_svc(READLINK3args *, struct svc_req *);
1400READ3res *nfsproc3_read_3(READ3args *, CLIENT *);
1401READ3res *nfsproc3_read_3_svc(READ3args *, struct svc_req *);
1402WRITE3res *nfsproc3_write_3(WRITE3args *, CLIENT *);
1403WRITE3res *nfsproc3_write_3_svc(WRITE3args *, struct svc_req *);
1404CREATE3res *nfsproc3_create_3(CREATE3args *, CLIENT *);
1405CREATE3res *nfsproc3_create_3_svc(CREATE3args *, struct svc_req *);
1406MKDIR3res *nfsproc3_mkdir_3(MKDIR3args *, CLIENT *);
1407MKDIR3res *nfsproc3_mkdir_3_svc(MKDIR3args *, struct svc_req *);
1408SYMLINK3res *nfsproc3_symlink_3(SYMLINK3args *, CLIENT *);
1409SYMLINK3res *nfsproc3_symlink_3_svc(SYMLINK3args *, struct svc_req *);
1410MKNOD3res *nfsproc3_mknod_3(MKNOD3args *, CLIENT *);
1411MKNOD3res *nfsproc3_mknod_3_svc(MKNOD3args *, struct svc_req *);
1412REMOVE3res *nfsproc3_remove_3(REMOVE3args *, CLIENT *);
1413REMOVE3res *nfsproc3_remove_3_svc(REMOVE3args *, struct svc_req *);
1414RMDIR3res *nfsproc3_rmdir_3(RMDIR3args *, CLIENT *);
1415RMDIR3res *nfsproc3_rmdir_3_svc(RMDIR3args *, struct svc_req *);
1416RENAME3res *nfsproc3_rename_3(RENAME3args *, CLIENT *);
1417RENAME3res *nfsproc3_rename_3_svc(RENAME3args *, struct svc_req *);
1418LINK3res *nfsproc3_link_3(LINK3args *, CLIENT *);
1419LINK3res *nfsproc3_link_3_svc(LINK3args *, struct svc_req *);
1420READDIR3res *nfsproc3_readdir_3(READDIR3args *, CLIENT *);
1421READDIR3res *nfsproc3_readdir_3_svc(READDIR3args *, struct svc_req *);
1422READDIRPLUS3res *nfsproc3_readdirplus_3(READDIRPLUS3args *, CLIENT *);
1423READDIRPLUS3res *nfsproc3_readdirplus_3_svc(READDIRPLUS3args *, struct svc_req *);
1424FSSTAT3res *nfsproc3_fsstat_3(FSSTAT3args *, CLIENT *);
1425FSSTAT3res *nfsproc3_fsstat_3_svc(FSSTAT3args *, struct svc_req *);
1426FSINFO3res *nfsproc3_fsinfo_3(FSINFO3args *, CLIENT *);
1427FSINFO3res *nfsproc3_fsinfo_3_svc(FSINFO3args *, struct svc_req *);
1428PATHCONF3res *nfsproc3_pathconf_3(PATHCONF3args *, CLIENT *);
1429PATHCONF3res *nfsproc3_pathconf_3_svc(PATHCONF3args *, struct svc_req *);
1430COMMIT3res *nfsproc3_commit_3(COMMIT3args *, CLIENT *);
1431COMMIT3res *nfsproc3_commit_3_svc(COMMIT3args *, struct svc_req *);
1432__END_DECLS
1433
1434#endif /* !_NFS_PROT_H_RPCGEN */
1435