File indexing completed on 2024-04-28 08:50:01

0001 /*
0002  * Please do not edit this file.
0003  * It was generated using rpcgen.
0004  */
0005 
0006 #ifndef _RPC_NFS3_PROT_H_RPCGEN
0007 #define _RPC_NFS3_PROT_H_RPCGEN
0008 
0009 #include <rpc/rpc.h>
0010 
0011 #ifdef __cplusplus
0012 extern "C" {
0013 #endif
0014 
0015 #define PROGRAM 100003
0016 #define VERSION 3
0017 #define NFS3_FHSIZE 64
0018 #define NFS3_COOKIEVERFSIZE 8
0019 #define NFS3_CREATEVERFSIZE 8
0020 #define NFS3_WRITEVERFSIZE 8
0021 #if defined(HAVE_XDR_U_INT64_T)
0022 #define xdr_uint64_t xdr_u_int64_t
0023 #elif !defined(HAVE_XDR_UINT64_T)
0024 #if defined(HAVE_XDR_U_HYPER)
0025 #define xdr_uint64_t xdr_u_hyper
0026 #define xdr_int64_t xdr_hyper
0027 #elif defined(HAVE_XDR_U_LONGLONG_T)
0028 #define xdr_uint64_t xdr_u_longlong_t
0029 #define xdr_int64_t xdr_longlong_t
0030 #endif
0031 #endif
0032 
0033 typedef uint64_t uint64;
0034 
0035 typedef int64_t int64;
0036 
0037 typedef u_long uint32;
0038 
0039 typedef long int32;
0040 
0041 typedef char *filename3;
0042 
0043 typedef char *nfspath3;
0044 
0045 typedef uint64 fileid3;
0046 
0047 typedef uint64 cookie3;
0048 
0049 typedef char cookieverf3[NFS3_COOKIEVERFSIZE];
0050 
0051 typedef char createverf3[NFS3_CREATEVERFSIZE];
0052 
0053 typedef char writeverf3[NFS3_WRITEVERFSIZE];
0054 
0055 typedef uint32 uid3;
0056 
0057 typedef uint32 gid3;
0058 
0059 typedef uint64 size3;
0060 
0061 typedef uint64 offset3;
0062 
0063 typedef uint32 mode3;
0064 
0065 typedef uint32 count3;
0066 
0067 enum nfsstat3 {
0068     NFS3_OK = 0,
0069     NFS3ERR_PERM = 1,
0070     NFS3ERR_NOENT = 2,
0071     NFS3ERR_IO = 5,
0072     NFS3ERR_NXIO = 6,
0073     NFS3ERR_ACCES = 13,
0074     NFS3ERR_EXIST = 17,
0075     NFS3ERR_XDEV = 18,
0076     NFS3ERR_NODEV = 19,
0077     NFS3ERR_NOTDIR = 20,
0078     NFS3ERR_ISDIR = 21,
0079     NFS3ERR_INVAL = 22,
0080     NFS3ERR_FBIG = 27,
0081     NFS3ERR_NOSPC = 28,
0082     NFS3ERR_ROFS = 30,
0083     NFS3ERR_MLINK = 31,
0084     NFS3ERR_NAMETOOLONG = 63,
0085     NFS3ERR_NOTEMPTY = 66,
0086     NFS3ERR_DQUOT = 69,
0087     NFS3ERR_STALE = 70,
0088     NFS3ERR_REMOTE = 71,
0089     NFS3ERR_BADHANDLE = 10001,
0090     NFS3ERR_NOT_SYNC = 10002,
0091     NFS3ERR_BAD_COOKIE = 10003,
0092     NFS3ERR_NOTSUPP = 10004,
0093     NFS3ERR_TOOSMALL = 10005,
0094     NFS3ERR_SERVERFAULT = 10006,
0095     NFS3ERR_BADTYPE = 10007,
0096     NFS3ERR_JUKEBOX = 10008,
0097 };
0098 typedef enum nfsstat3 nfsstat3;
0099 
0100 enum ftype3 {
0101     NF3REG = 1,
0102     NF3DIR = 2,
0103     NF3BLK = 3,
0104     NF3CHR = 4,
0105     NF3LNK = 5,
0106     NF3SOCK = 6,
0107     NF3FIFO = 7,
0108 };
0109 typedef enum ftype3 ftype3;
0110 
0111 struct specdata3 {
0112     uint32 specdata1;
0113     uint32 specdata2;
0114 };
0115 typedef struct specdata3 specdata3;
0116 
0117 struct nfs_fh3 {
0118     struct {
0119         u_int data_len;
0120         char *data_val;
0121     } data;
0122 };
0123 typedef struct nfs_fh3 nfs_fh3;
0124 
0125 struct nfstime3 {
0126     uint32 seconds;
0127     uint32 nseconds;
0128 };
0129 typedef struct nfstime3 nfstime3;
0130 
0131 struct fattr3 {
0132     ftype3 type;
0133     mode3 mode;
0134     uint32 nlink;
0135     uid3 uid;
0136     gid3 gid;
0137     size3 size;
0138     size3 used;
0139     specdata3 rdev;
0140     uint64 fsid;
0141     fileid3 fileid;
0142     nfstime3 atime;
0143     nfstime3 mtime;
0144     nfstime3 ctime;
0145 };
0146 typedef struct fattr3 fattr3;
0147 
0148 struct post_op_attr {
0149     bool_t attributes_follow;
0150     union {
0151         fattr3 attributes;
0152     } post_op_attr_u;
0153 };
0154 typedef struct post_op_attr post_op_attr;
0155 
0156 struct wcc_attr {
0157     size3 size;
0158     nfstime3 mtime;
0159     nfstime3 ctime;
0160 };
0161 typedef struct wcc_attr wcc_attr;
0162 
0163 struct pre_op_attr {
0164     bool_t attributes_follow;
0165     union {
0166         wcc_attr attributes;
0167     } pre_op_attr_u;
0168 };
0169 typedef struct pre_op_attr pre_op_attr;
0170 
0171 struct wcc_data {
0172     pre_op_attr before;
0173     post_op_attr after;
0174 };
0175 typedef struct wcc_data wcc_data;
0176 
0177 struct post_op_fh3 {
0178     bool_t handle_follows;
0179     union {
0180         nfs_fh3 handle;
0181     } post_op_fh3_u;
0182 };
0183 typedef struct post_op_fh3 post_op_fh3;
0184 
0185 enum time_how {
0186     DONT_CHANGE = 0,
0187     SET_TO_SERVER_TIME = 1,
0188     SET_TO_CLIENT_TIME = 2,
0189 };
0190 typedef enum time_how time_how;
0191 
0192 struct set_mode3 {
0193     bool_t set_it;
0194     union {
0195         mode3 mode;
0196     } set_mode3_u;
0197 };
0198 typedef struct set_mode3 set_mode3;
0199 
0200 struct set_uid3 {
0201     bool_t set_it;
0202     union {
0203         uid3 uid;
0204     } set_uid3_u;
0205 };
0206 typedef struct set_uid3 set_uid3;
0207 
0208 struct set_gid3 {
0209     bool_t set_it;
0210     union {
0211         gid3 gid;
0212     } set_gid3_u;
0213 };
0214 typedef struct set_gid3 set_gid3;
0215 
0216 struct set_size3 {
0217     bool_t set_it;
0218     union {
0219         size3 size;
0220     } set_size3_u;
0221 };
0222 typedef struct set_size3 set_size3;
0223 
0224 struct set_atime {
0225     time_how set_it;
0226     union {
0227         nfstime3 atime;
0228     } set_atime_u;
0229 };
0230 typedef struct set_atime set_atime;
0231 
0232 struct set_mtime {
0233     time_how set_it;
0234     union {
0235         nfstime3 mtime;
0236     } set_mtime_u;
0237 };
0238 typedef struct set_mtime set_mtime;
0239 
0240 struct sattr3 {
0241     set_mode3 mode;
0242     set_uid3 uid;
0243     set_gid3 gid;
0244     set_size3 size;
0245     set_atime atime;
0246     set_mtime mtime;
0247 };
0248 typedef struct sattr3 sattr3;
0249 
0250 struct diropargs3 {
0251     nfs_fh3 dir;
0252     filename3 name;
0253 };
0254 typedef struct diropargs3 diropargs3;
0255 
0256 struct GETATTR3args {
0257     nfs_fh3 object;
0258 };
0259 typedef struct GETATTR3args GETATTR3args;
0260 
0261 struct GETATTR3resok {
0262     fattr3 obj_attributes;
0263 };
0264 typedef struct GETATTR3resok GETATTR3resok;
0265 
0266 struct GETATTR3res {
0267     nfsstat3 status;
0268     union {
0269         GETATTR3resok resok;
0270     } GETATTR3res_u;
0271 };
0272 typedef struct GETATTR3res GETATTR3res;
0273 
0274 struct sattrguard3 {
0275     bool_t check;
0276     union {
0277         nfstime3 obj_ctime;
0278     } sattrguard3_u;
0279 };
0280 typedef struct sattrguard3 sattrguard3;
0281 
0282 struct SETATTR3args {
0283     nfs_fh3 object;
0284     sattr3 new_attributes;
0285     sattrguard3 guard;
0286 };
0287 typedef struct SETATTR3args SETATTR3args;
0288 
0289 struct SETATTR3resok {
0290     wcc_data obj_wcc;
0291 };
0292 typedef struct SETATTR3resok SETATTR3resok;
0293 
0294 struct SETATTR3resfail {
0295     wcc_data obj_wcc;
0296 };
0297 typedef struct SETATTR3resfail SETATTR3resfail;
0298 
0299 struct SETATTR3res {
0300     nfsstat3 status;
0301     union {
0302         SETATTR3resok resok;
0303         SETATTR3resfail resfail;
0304     } SETATTR3res_u;
0305 };
0306 typedef struct SETATTR3res SETATTR3res;
0307 
0308 struct LOOKUP3args {
0309     diropargs3 what;
0310 };
0311 typedef struct LOOKUP3args LOOKUP3args;
0312 
0313 struct LOOKUP3resok {
0314     nfs_fh3 object;
0315     post_op_attr obj_attributes;
0316     post_op_attr dir_attributes;
0317 };
0318 typedef struct LOOKUP3resok LOOKUP3resok;
0319 
0320 struct LOOKUP3resfail {
0321     post_op_attr dir_attributes;
0322 };
0323 typedef struct LOOKUP3resfail LOOKUP3resfail;
0324 
0325 struct LOOKUP3res {
0326     nfsstat3 status;
0327     union {
0328         LOOKUP3resok resok;
0329         LOOKUP3resfail resfail;
0330     } LOOKUP3res_u;
0331 };
0332 typedef struct LOOKUP3res LOOKUP3res;
0333 #define ACCESS3_READ 0x0001
0334 #define ACCESS3_LOOKUP 0x0002
0335 #define ACCESS3_MODIFY 0x0004
0336 #define ACCESS3_EXTEND 0x0008
0337 #define ACCESS3_DELETE 0x0010
0338 #define ACCESS3_EXECUTE 0x0020
0339 
0340 struct ACCESS3args {
0341     nfs_fh3 object;
0342     uint32 access;
0343 };
0344 typedef struct ACCESS3args ACCESS3args;
0345 
0346 struct ACCESS3resok {
0347     post_op_attr obj_attributes;
0348     uint32 access;
0349 };
0350 typedef struct ACCESS3resok ACCESS3resok;
0351 
0352 struct ACCESS3resfail {
0353     post_op_attr obj_attributes;
0354 };
0355 typedef struct ACCESS3resfail ACCESS3resfail;
0356 
0357 struct ACCESS3res {
0358     nfsstat3 status;
0359     union {
0360         ACCESS3resok resok;
0361         ACCESS3resfail resfail;
0362     } ACCESS3res_u;
0363 };
0364 typedef struct ACCESS3res ACCESS3res;
0365 
0366 struct READLINK3args {
0367     nfs_fh3 symlink;
0368 };
0369 typedef struct READLINK3args READLINK3args;
0370 
0371 struct READLINK3resok {
0372     post_op_attr symlink_attributes;
0373     nfspath3 data;
0374 };
0375 typedef struct READLINK3resok READLINK3resok;
0376 
0377 struct READLINK3resfail {
0378     post_op_attr symlink_attributes;
0379 };
0380 typedef struct READLINK3resfail READLINK3resfail;
0381 
0382 struct READLINK3res {
0383     nfsstat3 status;
0384     union {
0385         READLINK3resok resok;
0386         READLINK3resfail resfail;
0387     } READLINK3res_u;
0388 };
0389 typedef struct READLINK3res READLINK3res;
0390 
0391 struct READ3args {
0392     nfs_fh3 file;
0393     offset3 offset;
0394     count3 count;
0395 };
0396 typedef struct READ3args READ3args;
0397 
0398 struct READ3resok {
0399     post_op_attr file_attributes;
0400     count3 count;
0401     bool_t eof;
0402     struct {
0403         u_int data_len;
0404         char *data_val;
0405     } data;
0406 };
0407 typedef struct READ3resok READ3resok;
0408 
0409 struct READ3resfail {
0410     post_op_attr file_attributes;
0411 };
0412 typedef struct READ3resfail READ3resfail;
0413 
0414 struct READ3res {
0415     nfsstat3 status;
0416     union {
0417         READ3resok resok;
0418         READ3resfail resfail;
0419     } READ3res_u;
0420 };
0421 typedef struct READ3res READ3res;
0422 
0423 enum stable_how {
0424     UNSTABLE = 0,
0425     DATA_SYNC = 1,
0426     FILE_SYNC = 2,
0427 };
0428 typedef enum stable_how stable_how;
0429 
0430 struct WRITE3args {
0431     nfs_fh3 file;
0432     offset3 offset;
0433     count3 count;
0434     stable_how stable;
0435     struct {
0436         u_int data_len;
0437         char *data_val;
0438     } data;
0439 };
0440 typedef struct WRITE3args WRITE3args;
0441 
0442 struct WRITE3resok {
0443     wcc_data file_wcc;
0444     count3 count;
0445     stable_how committed;
0446     writeverf3 verf;
0447 };
0448 typedef struct WRITE3resok WRITE3resok;
0449 
0450 struct WRITE3resfail {
0451     wcc_data file_wcc;
0452 };
0453 typedef struct WRITE3resfail WRITE3resfail;
0454 
0455 struct WRITE3res {
0456     nfsstat3 status;
0457     union {
0458         WRITE3resok resok;
0459         WRITE3resfail resfail;
0460     } WRITE3res_u;
0461 };
0462 typedef struct WRITE3res WRITE3res;
0463 
0464 enum createmode3 {
0465     UNCHECKED = 0,
0466     GUARDED = 1,
0467     EXCLUSIVE = 2,
0468 };
0469 typedef enum createmode3 createmode3;
0470 
0471 struct createhow3 {
0472     createmode3 mode;
0473     union {
0474         sattr3 obj_attributes;
0475         createverf3 verf;
0476     } createhow3_u;
0477 };
0478 typedef struct createhow3 createhow3;
0479 
0480 struct CREATE3args {
0481     diropargs3 where;
0482     createhow3 how;
0483 };
0484 typedef struct CREATE3args CREATE3args;
0485 
0486 struct CREATE3resok {
0487     post_op_fh3 obj;
0488     post_op_attr obj_attributes;
0489     wcc_data dir_wcc;
0490 };
0491 typedef struct CREATE3resok CREATE3resok;
0492 
0493 struct CREATE3resfail {
0494     wcc_data dir_wcc;
0495 };
0496 typedef struct CREATE3resfail CREATE3resfail;
0497 
0498 struct CREATE3res {
0499     nfsstat3 status;
0500     union {
0501         CREATE3resok resok;
0502         CREATE3resfail resfail;
0503     } CREATE3res_u;
0504 };
0505 typedef struct CREATE3res CREATE3res;
0506 
0507 struct MKDIR3args {
0508     diropargs3 where;
0509     sattr3 attributes;
0510 };
0511 typedef struct MKDIR3args MKDIR3args;
0512 
0513 struct MKDIR3resok {
0514     post_op_fh3 obj;
0515     post_op_attr obj_attributes;
0516     wcc_data dir_wcc;
0517 };
0518 typedef struct MKDIR3resok MKDIR3resok;
0519 
0520 struct MKDIR3resfail {
0521     wcc_data dir_wcc;
0522 };
0523 typedef struct MKDIR3resfail MKDIR3resfail;
0524 
0525 struct MKDIR3res {
0526     nfsstat3 status;
0527     union {
0528         MKDIR3resok resok;
0529         MKDIR3resfail resfail;
0530     } MKDIR3res_u;
0531 };
0532 typedef struct MKDIR3res MKDIR3res;
0533 
0534 struct symlinkdata3 {
0535     sattr3 symlink_attributes;
0536     nfspath3 symlink_data;
0537 };
0538 typedef struct symlinkdata3 symlinkdata3;
0539 
0540 struct SYMLINK3args {
0541     diropargs3 where;
0542     symlinkdata3 symlink;
0543 };
0544 typedef struct SYMLINK3args SYMLINK3args;
0545 
0546 struct SYMLINK3resok {
0547     post_op_fh3 obj;
0548     post_op_attr obj_attributes;
0549     wcc_data dir_wcc;
0550 };
0551 typedef struct SYMLINK3resok SYMLINK3resok;
0552 
0553 struct SYMLINK3resfail {
0554     wcc_data dir_wcc;
0555 };
0556 typedef struct SYMLINK3resfail SYMLINK3resfail;
0557 
0558 struct SYMLINK3res {
0559     nfsstat3 status;
0560     union {
0561         SYMLINK3resok resok;
0562         SYMLINK3resfail resfail;
0563     } SYMLINK3res_u;
0564 };
0565 typedef struct SYMLINK3res SYMLINK3res;
0566 
0567 struct devicedata3 {
0568     sattr3 dev_attributes;
0569     specdata3 spec;
0570 };
0571 typedef struct devicedata3 devicedata3;
0572 
0573 struct mknoddata3 {
0574     ftype3 type;
0575     union {
0576         devicedata3 device;
0577         sattr3 pipe_attributes;
0578     } mknoddata3_u;
0579 };
0580 typedef struct mknoddata3 mknoddata3;
0581 
0582 struct MKNOD3args {
0583     diropargs3 where;
0584     mknoddata3 what;
0585 };
0586 typedef struct MKNOD3args MKNOD3args;
0587 
0588 struct MKNOD3resok {
0589     post_op_fh3 obj;
0590     post_op_attr obj_attributes;
0591     wcc_data dir_wcc;
0592 };
0593 typedef struct MKNOD3resok MKNOD3resok;
0594 
0595 struct MKNOD3resfail {
0596     wcc_data dir_wcc;
0597 };
0598 typedef struct MKNOD3resfail MKNOD3resfail;
0599 
0600 struct MKNOD3res {
0601     nfsstat3 status;
0602     union {
0603         MKNOD3resok resok;
0604         MKNOD3resfail resfail;
0605     } MKNOD3res_u;
0606 };
0607 typedef struct MKNOD3res MKNOD3res;
0608 
0609 struct REMOVE3args {
0610     diropargs3 object;
0611 };
0612 typedef struct REMOVE3args REMOVE3args;
0613 
0614 struct REMOVE3resok {
0615     wcc_data dir_wcc;
0616 };
0617 typedef struct REMOVE3resok REMOVE3resok;
0618 
0619 struct REMOVE3resfail {
0620     wcc_data dir_wcc;
0621 };
0622 typedef struct REMOVE3resfail REMOVE3resfail;
0623 
0624 struct REMOVE3res {
0625     nfsstat3 status;
0626     union {
0627         REMOVE3resok resok;
0628         REMOVE3resfail resfail;
0629     } REMOVE3res_u;
0630 };
0631 typedef struct REMOVE3res REMOVE3res;
0632 
0633 struct RMDIR3args {
0634     diropargs3 object;
0635 };
0636 typedef struct RMDIR3args RMDIR3args;
0637 
0638 struct RMDIR3resok {
0639     wcc_data dir_wcc;
0640 };
0641 typedef struct RMDIR3resok RMDIR3resok;
0642 
0643 struct RMDIR3resfail {
0644     wcc_data dir_wcc;
0645 };
0646 typedef struct RMDIR3resfail RMDIR3resfail;
0647 
0648 struct RMDIR3res {
0649     nfsstat3 status;
0650     union {
0651         RMDIR3resok resok;
0652         RMDIR3resfail resfail;
0653     } RMDIR3res_u;
0654 };
0655 typedef struct RMDIR3res RMDIR3res;
0656 
0657 struct RENAME3args {
0658     diropargs3 from;
0659     diropargs3 to;
0660 };
0661 typedef struct RENAME3args RENAME3args;
0662 
0663 struct RENAME3resok {
0664     wcc_data fromdir_wcc;
0665     wcc_data todir_wcc;
0666 };
0667 typedef struct RENAME3resok RENAME3resok;
0668 
0669 struct RENAME3resfail {
0670     wcc_data fromdir_wcc;
0671     wcc_data todir_wcc;
0672 };
0673 typedef struct RENAME3resfail RENAME3resfail;
0674 
0675 struct RENAME3res {
0676     nfsstat3 status;
0677     union {
0678         RENAME3resok resok;
0679         RENAME3resfail resfail;
0680     } RENAME3res_u;
0681 };
0682 typedef struct RENAME3res RENAME3res;
0683 
0684 struct LINK3args {
0685     nfs_fh3 file;
0686     diropargs3 link;
0687 };
0688 typedef struct LINK3args LINK3args;
0689 
0690 struct LINK3resok {
0691     post_op_attr file_attributes;
0692     wcc_data linkdir_wcc;
0693 };
0694 typedef struct LINK3resok LINK3resok;
0695 
0696 struct LINK3resfail {
0697     post_op_attr file_attributes;
0698     wcc_data linkdir_wcc;
0699 };
0700 typedef struct LINK3resfail LINK3resfail;
0701 
0702 struct LINK3res {
0703     nfsstat3 status;
0704     union {
0705         LINK3resok resok;
0706         LINK3resfail resfail;
0707     } LINK3res_u;
0708 };
0709 typedef struct LINK3res LINK3res;
0710 
0711 struct READDIR3args {
0712     nfs_fh3 dir;
0713     cookie3 cookie;
0714     cookieverf3 cookieverf;
0715     count3 count;
0716 };
0717 typedef struct READDIR3args READDIR3args;
0718 
0719 struct entry3 {
0720     fileid3 fileid;
0721     filename3 name;
0722     cookie3 cookie;
0723     struct entry3 *nextentry;
0724 };
0725 typedef struct entry3 entry3;
0726 
0727 struct dirlist3 {
0728     entry3 *entries;
0729     bool_t eof;
0730 };
0731 typedef struct dirlist3 dirlist3;
0732 
0733 struct READDIR3resok {
0734     post_op_attr dir_attributes;
0735     cookieverf3 cookieverf;
0736     dirlist3 reply;
0737 };
0738 typedef struct READDIR3resok READDIR3resok;
0739 
0740 struct READDIR3resfail {
0741     post_op_attr dir_attributes;
0742 };
0743 typedef struct READDIR3resfail READDIR3resfail;
0744 
0745 struct READDIR3res {
0746     nfsstat3 status;
0747     union {
0748         READDIR3resok resok;
0749         READDIR3resfail resfail;
0750     } READDIR3res_u;
0751 };
0752 typedef struct READDIR3res READDIR3res;
0753 
0754 struct READDIRPLUS3args {
0755     nfs_fh3 dir;
0756     cookie3 cookie;
0757     cookieverf3 cookieverf;
0758     count3 dircount;
0759     count3 maxcount;
0760 };
0761 typedef struct READDIRPLUS3args READDIRPLUS3args;
0762 
0763 struct entryplus3 {
0764     fileid3 fileid;
0765     filename3 name;
0766     cookie3 cookie;
0767     post_op_attr name_attributes;
0768     post_op_fh3 name_handle;
0769     struct entryplus3 *nextentry;
0770 };
0771 typedef struct entryplus3 entryplus3;
0772 
0773 struct dirlistplus3 {
0774     entryplus3 *entries;
0775     bool_t eof;
0776 };
0777 typedef struct dirlistplus3 dirlistplus3;
0778 
0779 struct READDIRPLUS3resok {
0780     post_op_attr dir_attributes;
0781     cookieverf3 cookieverf;
0782     dirlistplus3 reply;
0783 };
0784 typedef struct READDIRPLUS3resok READDIRPLUS3resok;
0785 
0786 struct READDIRPLUS3resfail {
0787     post_op_attr dir_attributes;
0788 };
0789 typedef struct READDIRPLUS3resfail READDIRPLUS3resfail;
0790 
0791 struct READDIRPLUS3res {
0792     nfsstat3 status;
0793     union {
0794         READDIRPLUS3resok resok;
0795         READDIRPLUS3resfail resfail;
0796     } READDIRPLUS3res_u;
0797 };
0798 typedef struct READDIRPLUS3res READDIRPLUS3res;
0799 
0800 struct FSSTAT3args {
0801     nfs_fh3 fsroot;
0802 };
0803 typedef struct FSSTAT3args FSSTAT3args;
0804 
0805 struct FSSTAT3resok {
0806     post_op_attr obj_attributes;
0807     size3 tbytes;
0808     size3 fbytes;
0809     size3 abytes;
0810     size3 tfiles;
0811     size3 ffiles;
0812     size3 afiles;
0813     uint32 invarsec;
0814 };
0815 typedef struct FSSTAT3resok FSSTAT3resok;
0816 
0817 struct FSSTAT3resfail {
0818     post_op_attr obj_attributes;
0819 };
0820 typedef struct FSSTAT3resfail FSSTAT3resfail;
0821 
0822 struct FSSTAT3res {
0823     nfsstat3 status;
0824     union {
0825         FSSTAT3resok resok;
0826         FSSTAT3resfail resfail;
0827     } FSSTAT3res_u;
0828 };
0829 typedef struct FSSTAT3res FSSTAT3res;
0830 #define FSF3_LINK 0x0001
0831 #define FSF3_SYMLINK 0x0002
0832 #define FSF3_HOMOGENEOUS 0x0008
0833 #define FSF3_CANSETTIME 0x0010
0834 
0835 struct FSINFO3args {
0836     nfs_fh3 fsroot;
0837 };
0838 typedef struct FSINFO3args FSINFO3args;
0839 
0840 struct FSINFO3resok {
0841     post_op_attr obj_attributes;
0842     uint32 rtmax;
0843     uint32 rtpref;
0844     uint32 rtmult;
0845     uint32 wtmax;
0846     uint32 wtpref;
0847     uint32 wtmult;
0848     uint32 dtpref;
0849     size3 maxfilesize;
0850     nfstime3 time_delta;
0851     uint32 properties;
0852 };
0853 typedef struct FSINFO3resok FSINFO3resok;
0854 
0855 struct FSINFO3resfail {
0856     post_op_attr obj_attributes;
0857 };
0858 typedef struct FSINFO3resfail FSINFO3resfail;
0859 
0860 struct FSINFO3res {
0861     nfsstat3 status;
0862     union {
0863         FSINFO3resok resok;
0864         FSINFO3resfail resfail;
0865     } FSINFO3res_u;
0866 };
0867 typedef struct FSINFO3res FSINFO3res;
0868 
0869 struct PATHCONF3args {
0870     nfs_fh3 object;
0871 };
0872 typedef struct PATHCONF3args PATHCONF3args;
0873 
0874 struct PATHCONF3resok {
0875     post_op_attr obj_attributes;
0876     uint32 linkmax;
0877     uint32 name_max;
0878     bool_t no_trunc;
0879     bool_t chown_restricted;
0880     bool_t case_insensitive;
0881     bool_t case_preserving;
0882 };
0883 typedef struct PATHCONF3resok PATHCONF3resok;
0884 
0885 struct PATHCONF3resfail {
0886     post_op_attr obj_attributes;
0887 };
0888 typedef struct PATHCONF3resfail PATHCONF3resfail;
0889 
0890 struct PATHCONF3res {
0891     nfsstat3 status;
0892     union {
0893         PATHCONF3resok resok;
0894         PATHCONF3resfail resfail;
0895     } PATHCONF3res_u;
0896 };
0897 typedef struct PATHCONF3res PATHCONF3res;
0898 
0899 struct COMMIT3args {
0900     nfs_fh3 file;
0901     offset3 offset;
0902     count3 count;
0903 };
0904 typedef struct COMMIT3args COMMIT3args;
0905 
0906 struct COMMIT3resok {
0907     wcc_data file_wcc;
0908     writeverf3 verf;
0909 };
0910 typedef struct COMMIT3resok COMMIT3resok;
0911 
0912 struct COMMIT3resfail {
0913     wcc_data file_wcc;
0914 };
0915 typedef struct COMMIT3resfail COMMIT3resfail;
0916 
0917 struct COMMIT3res {
0918     nfsstat3 status;
0919     union {
0920         COMMIT3resok resok;
0921         COMMIT3resfail resfail;
0922     } COMMIT3res_u;
0923 };
0924 typedef struct COMMIT3res COMMIT3res;
0925 #define MNTPATHLEN3 1024
0926 #define MNTNAMLEN3 255
0927 #define FHSIZE3 64
0928 
0929 typedef struct {
0930     u_int fhandle3_len;
0931     char *fhandle3_val;
0932 } fhandle3;
0933 
0934 typedef char *dirpath3;
0935 
0936 typedef char *name3;
0937 
0938 enum mountstat3 {
0939     MNT3_OK = 0,
0940     MNT3ERR_PERM = 1,
0941     MNT3ERR_NOENT = 2,
0942     MNT3ERR_IO = 5,
0943     MNT3ERR_ACCES = 13,
0944     MNT3ERR_NOTDIR = 20,
0945     MNT3ERR_INVAL = 22,
0946     MNT3ERR_NAMETOOLONG = 63,
0947     MNT3ERR_NOTSUPP = 10004,
0948     MNT3ERR_SERVERFAULT = 10006,
0949 };
0950 typedef enum mountstat3 mountstat3;
0951 
0952 struct mountres3_ok {
0953     fhandle3 fhandle;
0954     struct {
0955         u_int auth_flavors_len;
0956         int *auth_flavors_val;
0957     } auth_flavors;
0958 };
0959 typedef struct mountres3_ok mountres3_ok;
0960 
0961 struct mountres3 {
0962     mountstat3 fhs_status;
0963     union {
0964         mountres3_ok mountinfo;
0965     } mountres3_u;
0966 };
0967 typedef struct mountres3 mountres3;
0968 
0969 typedef struct mountbody3 *mountlist3;
0970 
0971 struct mountbody3 {
0972     name3 ml_hostname;
0973     dirpath3 ml_directory;
0974     mountlist3 ml_next;
0975 };
0976 typedef struct mountbody3 mountbody3;
0977 
0978 typedef struct groupnode3 *groups3;
0979 
0980 struct groupnode3 {
0981     name3 gr_name;
0982     groups3 gr_next;
0983 };
0984 typedef struct groupnode3 groupnode3;
0985 
0986 typedef struct exportnode3 *exports3;
0987 
0988 struct exportnode3 {
0989     dirpath3 ex_dir;
0990     groups3 ex_groups;
0991     exports3 ex_next;
0992 };
0993 typedef struct exportnode3 exportnode3;
0994 
0995 #define NFS_PROGRAM 100003
0996 #define NFS_V3 3
0997 
0998 #if defined(__STDC__) || defined(__cplusplus)
0999 #define NFSPROC3_NULL 0
1000 extern void *nfsproc3_null_3(CLIENT *);
1001 extern void *nfsproc3_null_3_svc(struct svc_req *);
1002 #define NFSPROC3_GETATTR 1
1003 extern GETATTR3res *nfsproc3_getattr_3(GETATTR3args, CLIENT *);
1004 extern GETATTR3res *nfsproc3_getattr_3_svc(GETATTR3args, struct svc_req *);
1005 #define NFSPROC3_SETATTR 2
1006 extern SETATTR3res *nfsproc3_setattr_3(SETATTR3args, CLIENT *);
1007 extern SETATTR3res *nfsproc3_setattr_3_svc(SETATTR3args, struct svc_req *);
1008 #define NFSPROC3_LOOKUP 3
1009 extern LOOKUP3res *nfsproc3_lookup_3(LOOKUP3args, CLIENT *);
1010 extern LOOKUP3res *nfsproc3_lookup_3_svc(LOOKUP3args, struct svc_req *);
1011 #define NFSPROC3_ACCESS 4
1012 extern ACCESS3res *nfsproc3_access_3(ACCESS3args, CLIENT *);
1013 extern ACCESS3res *nfsproc3_access_3_svc(ACCESS3args, struct svc_req *);
1014 #define NFSPROC3_READLINK 5
1015 extern READLINK3res *nfsproc3_readlink_3(READLINK3args, CLIENT *);
1016 extern READLINK3res *nfsproc3_readlink_3_svc(READLINK3args, struct svc_req *);
1017 #define NFSPROC3_READ 6
1018 extern READ3res *nfsproc3_read_3(READ3args, CLIENT *);
1019 extern READ3res *nfsproc3_read_3_svc(READ3args, struct svc_req *);
1020 #define NFSPROC3_WRITE 7
1021 extern WRITE3res *nfsproc3_write_3(WRITE3args, CLIENT *);
1022 extern WRITE3res *nfsproc3_write_3_svc(WRITE3args, struct svc_req *);
1023 #define NFSPROC3_CREATE 8
1024 extern CREATE3res *nfsproc3_create_3(CREATE3args, CLIENT *);
1025 extern CREATE3res *nfsproc3_create_3_svc(CREATE3args, struct svc_req *);
1026 #define NFSPROC3_MKDIR 9
1027 extern MKDIR3res *nfsproc3_mkdir_3(MKDIR3args, CLIENT *);
1028 extern MKDIR3res *nfsproc3_mkdir_3_svc(MKDIR3args, struct svc_req *);
1029 #define NFSPROC3_SYMLINK 10
1030 extern SYMLINK3res *nfsproc3_symlink_3(SYMLINK3args, CLIENT *);
1031 extern SYMLINK3res *nfsproc3_symlink_3_svc(SYMLINK3args, struct svc_req *);
1032 #define NFSPROC3_MKNOD 11
1033 extern MKNOD3res *nfsproc3_mknod_3(MKNOD3args, CLIENT *);
1034 extern MKNOD3res *nfsproc3_mknod_3_svc(MKNOD3args, struct svc_req *);
1035 #define NFSPROC3_REMOVE 12
1036 extern REMOVE3res *nfsproc3_remove_3(REMOVE3args, CLIENT *);
1037 extern REMOVE3res *nfsproc3_remove_3_svc(REMOVE3args, struct svc_req *);
1038 #define NFSPROC3_RMDIR 13
1039 extern RMDIR3res *nfsproc3_rmdir_3(RMDIR3args, CLIENT *);
1040 extern RMDIR3res *nfsproc3_rmdir_3_svc(RMDIR3args, struct svc_req *);
1041 #define NFSPROC3_RENAME 14
1042 extern RENAME3res *nfsproc3_rename_3(RENAME3args, CLIENT *);
1043 extern RENAME3res *nfsproc3_rename_3_svc(RENAME3args, struct svc_req *);
1044 #define NFSPROC3_LINK 15
1045 extern LINK3res *nfsproc3_link_3(LINK3args, CLIENT *);
1046 extern LINK3res *nfsproc3_link_3_svc(LINK3args, struct svc_req *);
1047 #define NFSPROC3_READDIR 16
1048 extern READDIR3res *nfsproc3_readdir_3(READDIR3args, CLIENT *);
1049 extern READDIR3res *nfsproc3_readdir_3_svc(READDIR3args, struct svc_req *);
1050 #define NFSPROC3_READDIRPLUS 17
1051 extern READDIRPLUS3res *nfsproc3_readdirplus_3(READDIRPLUS3args, CLIENT *);
1052 extern READDIRPLUS3res *nfsproc3_readdirplus_3_svc(READDIRPLUS3args, struct svc_req *);
1053 #define NFSPROC3_FSSTAT 18
1054 extern FSSTAT3res *nfsproc3_fsstat_3(FSSTAT3args, CLIENT *);
1055 extern FSSTAT3res *nfsproc3_fsstat_3_svc(FSSTAT3args, struct svc_req *);
1056 #define NFSPROC3_FSINFO 19
1057 extern FSINFO3res *nfsproc3_fsinfo_3(FSINFO3args, CLIENT *);
1058 extern FSINFO3res *nfsproc3_fsinfo_3_svc(FSINFO3args, struct svc_req *);
1059 #define NFSPROC3_PATHCONF 20
1060 extern PATHCONF3res *nfsproc3_pathconf_3(PATHCONF3args, CLIENT *);
1061 extern PATHCONF3res *nfsproc3_pathconf_3_svc(PATHCONF3args, struct svc_req *);
1062 #define NFSPROC3_COMMIT 21
1063 extern COMMIT3res *nfsproc3_commit_3(COMMIT3args, CLIENT *);
1064 extern COMMIT3res *nfsproc3_commit_3_svc(COMMIT3args, struct svc_req *);
1065 extern int nfs_program_3_freeresult(SVCXPRT *, xdrproc_t, caddr_t);
1066 
1067 #else /* K&R C */
1068 #define NFSPROC3_NULL 0
1069 extern void *nfsproc3_null_3();
1070 extern void *nfsproc3_null_3_svc();
1071 #define NFSPROC3_GETATTR 1
1072 extern GETATTR3res *nfsproc3_getattr_3();
1073 extern GETATTR3res *nfsproc3_getattr_3_svc();
1074 #define NFSPROC3_SETATTR 2
1075 extern SETATTR3res *nfsproc3_setattr_3();
1076 extern SETATTR3res *nfsproc3_setattr_3_svc();
1077 #define NFSPROC3_LOOKUP 3
1078 extern LOOKUP3res *nfsproc3_lookup_3();
1079 extern LOOKUP3res *nfsproc3_lookup_3_svc();
1080 #define NFSPROC3_ACCESS 4
1081 extern ACCESS3res *nfsproc3_access_3();
1082 extern ACCESS3res *nfsproc3_access_3_svc();
1083 #define NFSPROC3_READLINK 5
1084 extern READLINK3res *nfsproc3_readlink_3();
1085 extern READLINK3res *nfsproc3_readlink_3_svc();
1086 #define NFSPROC3_READ 6
1087 extern READ3res *nfsproc3_read_3();
1088 extern READ3res *nfsproc3_read_3_svc();
1089 #define NFSPROC3_WRITE 7
1090 extern WRITE3res *nfsproc3_write_3();
1091 extern WRITE3res *nfsproc3_write_3_svc();
1092 #define NFSPROC3_CREATE 8
1093 extern CREATE3res *nfsproc3_create_3();
1094 extern CREATE3res *nfsproc3_create_3_svc();
1095 #define NFSPROC3_MKDIR 9
1096 extern MKDIR3res *nfsproc3_mkdir_3();
1097 extern MKDIR3res *nfsproc3_mkdir_3_svc();
1098 #define NFSPROC3_SYMLINK 10
1099 extern SYMLINK3res *nfsproc3_symlink_3();
1100 extern SYMLINK3res *nfsproc3_symlink_3_svc();
1101 #define NFSPROC3_MKNOD 11
1102 extern MKNOD3res *nfsproc3_mknod_3();
1103 extern MKNOD3res *nfsproc3_mknod_3_svc();
1104 #define NFSPROC3_REMOVE 12
1105 extern REMOVE3res *nfsproc3_remove_3();
1106 extern REMOVE3res *nfsproc3_remove_3_svc();
1107 #define NFSPROC3_RMDIR 13
1108 extern RMDIR3res *nfsproc3_rmdir_3();
1109 extern RMDIR3res *nfsproc3_rmdir_3_svc();
1110 #define NFSPROC3_RENAME 14
1111 extern RENAME3res *nfsproc3_rename_3();
1112 extern RENAME3res *nfsproc3_rename_3_svc();
1113 #define NFSPROC3_LINK 15
1114 extern LINK3res *nfsproc3_link_3();
1115 extern LINK3res *nfsproc3_link_3_svc();
1116 #define NFSPROC3_READDIR 16
1117 extern READDIR3res *nfsproc3_readdir_3();
1118 extern READDIR3res *nfsproc3_readdir_3_svc();
1119 #define NFSPROC3_READDIRPLUS 17
1120 extern READDIRPLUS3res *nfsproc3_readdirplus_3();
1121 extern READDIRPLUS3res *nfsproc3_readdirplus_3_svc();
1122 #define NFSPROC3_FSSTAT 18
1123 extern FSSTAT3res *nfsproc3_fsstat_3();
1124 extern FSSTAT3res *nfsproc3_fsstat_3_svc();
1125 #define NFSPROC3_FSINFO 19
1126 extern FSINFO3res *nfsproc3_fsinfo_3();
1127 extern FSINFO3res *nfsproc3_fsinfo_3_svc();
1128 #define NFSPROC3_PATHCONF 20
1129 extern PATHCONF3res *nfsproc3_pathconf_3();
1130 extern PATHCONF3res *nfsproc3_pathconf_3_svc();
1131 #define NFSPROC3_COMMIT 21
1132 extern COMMIT3res *nfsproc3_commit_3();
1133 extern COMMIT3res *nfsproc3_commit_3_svc();
1134 extern int nfs_program_3_freeresult();
1135 #endif /* K&R C */
1136 
1137 #define MOUNT_PROGRAM 100005
1138 #define MOUNT_V3 3
1139 
1140 #if defined(__STDC__) || defined(__cplusplus)
1141 #define MOUNTPROC3_NULL 0
1142 extern void *mountproc3_null_3(CLIENT *);
1143 extern void *mountproc3_null_3_svc(struct svc_req *);
1144 #define MOUNTPROC3_MNT 1
1145 extern mountres3 *mountproc3_mnt_3(dirpath3, CLIENT *);
1146 extern mountres3 *mountproc3_mnt_3_svc(dirpath3, struct svc_req *);
1147 #define MOUNTPROC3_DUMP 2
1148 extern mountlist3 *mountproc3_dump_3(CLIENT *);
1149 extern mountlist3 *mountproc3_dump_3_svc(struct svc_req *);
1150 #define MOUNTPROC3_UMNT 3
1151 extern void *mountproc3_umnt_3(dirpath3, CLIENT *);
1152 extern void *mountproc3_umnt_3_svc(dirpath3, struct svc_req *);
1153 #define MOUNTPROC3_UMNTALL 4
1154 extern void *mountproc3_umntall_3(CLIENT *);
1155 extern void *mountproc3_umntall_3_svc(struct svc_req *);
1156 #define MOUNTPROC3_EXPORT 5
1157 extern exports3 *mountproc3_export_3(CLIENT *);
1158 extern exports3 *mountproc3_export_3_svc(struct svc_req *);
1159 extern int mount_program_3_freeresult(SVCXPRT *, xdrproc_t, caddr_t);
1160 
1161 #else /* K&R C */
1162 #define MOUNTPROC3_NULL 0
1163 extern void *mountproc3_null_3();
1164 extern void *mountproc3_null_3_svc();
1165 #define MOUNTPROC3_MNT 1
1166 extern mountres3 *mountproc3_mnt_3();
1167 extern mountres3 *mountproc3_mnt_3_svc();
1168 #define MOUNTPROC3_DUMP 2
1169 extern mountlist3 *mountproc3_dump_3();
1170 extern mountlist3 *mountproc3_dump_3_svc();
1171 #define MOUNTPROC3_UMNT 3
1172 extern void *mountproc3_umnt_3();
1173 extern void *mountproc3_umnt_3_svc();
1174 #define MOUNTPROC3_UMNTALL 4
1175 extern void *mountproc3_umntall_3();
1176 extern void *mountproc3_umntall_3_svc();
1177 #define MOUNTPROC3_EXPORT 5
1178 extern exports3 *mountproc3_export_3();
1179 extern exports3 *mountproc3_export_3_svc();
1180 extern int mount_program_3_freeresult();
1181 #endif /* K&R C */
1182 
1183 /* the xdr functions */
1184 
1185 #if defined(__STDC__) || defined(__cplusplus)
1186 extern bool_t xdr_uint64(XDR *, uint64 *);
1187 extern bool_t xdr_int64(XDR *, int64 *);
1188 extern bool_t xdr_uint32(XDR *, uint32 *);
1189 extern bool_t xdr_int32(XDR *, int32 *);
1190 extern bool_t xdr_filename3(XDR *, filename3 *);
1191 extern bool_t xdr_nfspath3(XDR *, nfspath3 *);
1192 extern bool_t xdr_fileid3(XDR *, fileid3 *);
1193 extern bool_t xdr_cookie3(XDR *, cookie3 *);
1194 extern bool_t xdr_cookieverf3(XDR *, cookieverf3);
1195 extern bool_t xdr_createverf3(XDR *, createverf3);
1196 extern bool_t xdr_writeverf3(XDR *, writeverf3);
1197 extern bool_t xdr_uid3(XDR *, uid3 *);
1198 extern bool_t xdr_gid3(XDR *, gid3 *);
1199 extern bool_t xdr_size3(XDR *, size3 *);
1200 extern bool_t xdr_offset3(XDR *, offset3 *);
1201 extern bool_t xdr_mode3(XDR *, mode3 *);
1202 extern bool_t xdr_count3(XDR *, count3 *);
1203 extern bool_t xdr_nfsstat3(XDR *, nfsstat3 *);
1204 extern bool_t xdr_ftype3(XDR *, ftype3 *);
1205 extern bool_t xdr_specdata3(XDR *, specdata3 *);
1206 extern bool_t xdr_nfs_fh3(XDR *, nfs_fh3 *);
1207 extern bool_t xdr_nfstime3(XDR *, nfstime3 *);
1208 extern bool_t xdr_fattr3(XDR *, fattr3 *);
1209 extern bool_t xdr_post_op_attr(XDR *, post_op_attr *);
1210 extern bool_t xdr_wcc_attr(XDR *, wcc_attr *);
1211 extern bool_t xdr_pre_op_attr(XDR *, pre_op_attr *);
1212 extern bool_t xdr_wcc_data(XDR *, wcc_data *);
1213 extern bool_t xdr_post_op_fh3(XDR *, post_op_fh3 *);
1214 extern bool_t xdr_time_how(XDR *, time_how *);
1215 extern bool_t xdr_set_mode3(XDR *, set_mode3 *);
1216 extern bool_t xdr_set_uid3(XDR *, set_uid3 *);
1217 extern bool_t xdr_set_gid3(XDR *, set_gid3 *);
1218 extern bool_t xdr_set_size3(XDR *, set_size3 *);
1219 extern bool_t xdr_set_atime(XDR *, set_atime *);
1220 extern bool_t xdr_set_mtime(XDR *, set_mtime *);
1221 extern bool_t xdr_sattr3(XDR *, sattr3 *);
1222 extern bool_t xdr_diropargs3(XDR *, diropargs3 *);
1223 extern bool_t xdr_GETATTR3args(XDR *, GETATTR3args *);
1224 extern bool_t xdr_GETATTR3resok(XDR *, GETATTR3resok *);
1225 extern bool_t xdr_GETATTR3res(XDR *, GETATTR3res *);
1226 extern bool_t xdr_sattrguard3(XDR *, sattrguard3 *);
1227 extern bool_t xdr_SETATTR3args(XDR *, SETATTR3args *);
1228 extern bool_t xdr_SETATTR3resok(XDR *, SETATTR3resok *);
1229 extern bool_t xdr_SETATTR3resfail(XDR *, SETATTR3resfail *);
1230 extern bool_t xdr_SETATTR3res(XDR *, SETATTR3res *);
1231 extern bool_t xdr_LOOKUP3args(XDR *, LOOKUP3args *);
1232 extern bool_t xdr_LOOKUP3resok(XDR *, LOOKUP3resok *);
1233 extern bool_t xdr_LOOKUP3resfail(XDR *, LOOKUP3resfail *);
1234 extern bool_t xdr_LOOKUP3res(XDR *, LOOKUP3res *);
1235 extern bool_t xdr_ACCESS3args(XDR *, ACCESS3args *);
1236 extern bool_t xdr_ACCESS3resok(XDR *, ACCESS3resok *);
1237 extern bool_t xdr_ACCESS3resfail(XDR *, ACCESS3resfail *);
1238 extern bool_t xdr_ACCESS3res(XDR *, ACCESS3res *);
1239 extern bool_t xdr_READLINK3args(XDR *, READLINK3args *);
1240 extern bool_t xdr_READLINK3resok(XDR *, READLINK3resok *);
1241 extern bool_t xdr_READLINK3resfail(XDR *, READLINK3resfail *);
1242 extern bool_t xdr_READLINK3res(XDR *, READLINK3res *);
1243 extern bool_t xdr_READ3args(XDR *, READ3args *);
1244 extern bool_t xdr_READ3resok(XDR *, READ3resok *);
1245 extern bool_t xdr_READ3resfail(XDR *, READ3resfail *);
1246 extern bool_t xdr_READ3res(XDR *, READ3res *);
1247 extern bool_t xdr_stable_how(XDR *, stable_how *);
1248 extern bool_t xdr_WRITE3args(XDR *, WRITE3args *);
1249 extern bool_t xdr_WRITE3resok(XDR *, WRITE3resok *);
1250 extern bool_t xdr_WRITE3resfail(XDR *, WRITE3resfail *);
1251 extern bool_t xdr_WRITE3res(XDR *, WRITE3res *);
1252 extern bool_t xdr_createmode3(XDR *, createmode3 *);
1253 extern bool_t xdr_createhow3(XDR *, createhow3 *);
1254 extern bool_t xdr_CREATE3args(XDR *, CREATE3args *);
1255 extern bool_t xdr_CREATE3resok(XDR *, CREATE3resok *);
1256 extern bool_t xdr_CREATE3resfail(XDR *, CREATE3resfail *);
1257 extern bool_t xdr_CREATE3res(XDR *, CREATE3res *);
1258 extern bool_t xdr_MKDIR3args(XDR *, MKDIR3args *);
1259 extern bool_t xdr_MKDIR3resok(XDR *, MKDIR3resok *);
1260 extern bool_t xdr_MKDIR3resfail(XDR *, MKDIR3resfail *);
1261 extern bool_t xdr_MKDIR3res(XDR *, MKDIR3res *);
1262 extern bool_t xdr_symlinkdata3(XDR *, symlinkdata3 *);
1263 extern bool_t xdr_SYMLINK3args(XDR *, SYMLINK3args *);
1264 extern bool_t xdr_SYMLINK3resok(XDR *, SYMLINK3resok *);
1265 extern bool_t xdr_SYMLINK3resfail(XDR *, SYMLINK3resfail *);
1266 extern bool_t xdr_SYMLINK3res(XDR *, SYMLINK3res *);
1267 extern bool_t xdr_devicedata3(XDR *, devicedata3 *);
1268 extern bool_t xdr_mknoddata3(XDR *, mknoddata3 *);
1269 extern bool_t xdr_MKNOD3args(XDR *, MKNOD3args *);
1270 extern bool_t xdr_MKNOD3resok(XDR *, MKNOD3resok *);
1271 extern bool_t xdr_MKNOD3resfail(XDR *, MKNOD3resfail *);
1272 extern bool_t xdr_MKNOD3res(XDR *, MKNOD3res *);
1273 extern bool_t xdr_REMOVE3args(XDR *, REMOVE3args *);
1274 extern bool_t xdr_REMOVE3resok(XDR *, REMOVE3resok *);
1275 extern bool_t xdr_REMOVE3resfail(XDR *, REMOVE3resfail *);
1276 extern bool_t xdr_REMOVE3res(XDR *, REMOVE3res *);
1277 extern bool_t xdr_RMDIR3args(XDR *, RMDIR3args *);
1278 extern bool_t xdr_RMDIR3resok(XDR *, RMDIR3resok *);
1279 extern bool_t xdr_RMDIR3resfail(XDR *, RMDIR3resfail *);
1280 extern bool_t xdr_RMDIR3res(XDR *, RMDIR3res *);
1281 extern bool_t xdr_RENAME3args(XDR *, RENAME3args *);
1282 extern bool_t xdr_RENAME3resok(XDR *, RENAME3resok *);
1283 extern bool_t xdr_RENAME3resfail(XDR *, RENAME3resfail *);
1284 extern bool_t xdr_RENAME3res(XDR *, RENAME3res *);
1285 extern bool_t xdr_LINK3args(XDR *, LINK3args *);
1286 extern bool_t xdr_LINK3resok(XDR *, LINK3resok *);
1287 extern bool_t xdr_LINK3resfail(XDR *, LINK3resfail *);
1288 extern bool_t xdr_LINK3res(XDR *, LINK3res *);
1289 extern bool_t xdr_READDIR3args(XDR *, READDIR3args *);
1290 extern bool_t xdr_entry3(XDR *, entry3 *);
1291 extern bool_t xdr_dirlist3(XDR *, dirlist3 *);
1292 extern bool_t xdr_READDIR3resok(XDR *, READDIR3resok *);
1293 extern bool_t xdr_READDIR3resfail(XDR *, READDIR3resfail *);
1294 extern bool_t xdr_READDIR3res(XDR *, READDIR3res *);
1295 extern bool_t xdr_READDIRPLUS3args(XDR *, READDIRPLUS3args *);
1296 extern bool_t xdr_entryplus3(XDR *, entryplus3 *);
1297 extern bool_t xdr_dirlistplus3(XDR *, dirlistplus3 *);
1298 extern bool_t xdr_READDIRPLUS3resok(XDR *, READDIRPLUS3resok *);
1299 extern bool_t xdr_READDIRPLUS3resfail(XDR *, READDIRPLUS3resfail *);
1300 extern bool_t xdr_READDIRPLUS3res(XDR *, READDIRPLUS3res *);
1301 extern bool_t xdr_FSSTAT3args(XDR *, FSSTAT3args *);
1302 extern bool_t xdr_FSSTAT3resok(XDR *, FSSTAT3resok *);
1303 extern bool_t xdr_FSSTAT3resfail(XDR *, FSSTAT3resfail *);
1304 extern bool_t xdr_FSSTAT3res(XDR *, FSSTAT3res *);
1305 extern bool_t xdr_FSINFO3args(XDR *, FSINFO3args *);
1306 extern bool_t xdr_FSINFO3resok(XDR *, FSINFO3resok *);
1307 extern bool_t xdr_FSINFO3resfail(XDR *, FSINFO3resfail *);
1308 extern bool_t xdr_FSINFO3res(XDR *, FSINFO3res *);
1309 extern bool_t xdr_PATHCONF3args(XDR *, PATHCONF3args *);
1310 extern bool_t xdr_PATHCONF3resok(XDR *, PATHCONF3resok *);
1311 extern bool_t xdr_PATHCONF3resfail(XDR *, PATHCONF3resfail *);
1312 extern bool_t xdr_PATHCONF3res(XDR *, PATHCONF3res *);
1313 extern bool_t xdr_COMMIT3args(XDR *, COMMIT3args *);
1314 extern bool_t xdr_COMMIT3resok(XDR *, COMMIT3resok *);
1315 extern bool_t xdr_COMMIT3resfail(XDR *, COMMIT3resfail *);
1316 extern bool_t xdr_COMMIT3res(XDR *, COMMIT3res *);
1317 extern bool_t xdr_fhandle3(XDR *, fhandle3 *);
1318 extern bool_t xdr_dirpath3(XDR *, dirpath3 *);
1319 extern bool_t xdr_name3(XDR *, name3 *);
1320 extern bool_t xdr_mountstat3(XDR *, mountstat3 *);
1321 extern bool_t xdr_mountres3_ok(XDR *, mountres3_ok *);
1322 extern bool_t xdr_mountres3(XDR *, mountres3 *);
1323 extern bool_t xdr_mountlist3(XDR *, mountlist3 *);
1324 extern bool_t xdr_mountbody3(XDR *, mountbody3 *);
1325 extern bool_t xdr_groups3(XDR *, groups3 *);
1326 extern bool_t xdr_groupnode3(XDR *, groupnode3 *);
1327 extern bool_t xdr_exports3(XDR *, exports3 *);
1328 extern bool_t xdr_exportnode3(XDR *, exportnode3 *);
1329 
1330 #else /* K&R C */
1331 extern bool_t xdr_uint64();
1332 extern bool_t xdr_int64();
1333 extern bool_t xdr_uint32();
1334 extern bool_t xdr_int32();
1335 extern bool_t xdr_filename3();
1336 extern bool_t xdr_nfspath3();
1337 extern bool_t xdr_fileid3();
1338 extern bool_t xdr_cookie3();
1339 extern bool_t xdr_cookieverf3();
1340 extern bool_t xdr_createverf3();
1341 extern bool_t xdr_writeverf3();
1342 extern bool_t xdr_uid3();
1343 extern bool_t xdr_gid3();
1344 extern bool_t xdr_size3();
1345 extern bool_t xdr_offset3();
1346 extern bool_t xdr_mode3();
1347 extern bool_t xdr_count3();
1348 extern bool_t xdr_nfsstat3();
1349 extern bool_t xdr_ftype3();
1350 extern bool_t xdr_specdata3();
1351 extern bool_t xdr_nfs_fh3();
1352 extern bool_t xdr_nfstime3();
1353 extern bool_t xdr_fattr3();
1354 extern bool_t xdr_post_op_attr();
1355 extern bool_t xdr_wcc_attr();
1356 extern bool_t xdr_pre_op_attr();
1357 extern bool_t xdr_wcc_data();
1358 extern bool_t xdr_post_op_fh3();
1359 extern bool_t xdr_time_how();
1360 extern bool_t xdr_set_mode3();
1361 extern bool_t xdr_set_uid3();
1362 extern bool_t xdr_set_gid3();
1363 extern bool_t xdr_set_size3();
1364 extern bool_t xdr_set_atime();
1365 extern bool_t xdr_set_mtime();
1366 extern bool_t xdr_sattr3();
1367 extern bool_t xdr_diropargs3();
1368 extern bool_t xdr_GETATTR3args();
1369 extern bool_t xdr_GETATTR3resok();
1370 extern bool_t xdr_GETATTR3res();
1371 extern bool_t xdr_sattrguard3();
1372 extern bool_t xdr_SETATTR3args();
1373 extern bool_t xdr_SETATTR3resok();
1374 extern bool_t xdr_SETATTR3resfail();
1375 extern bool_t xdr_SETATTR3res();
1376 extern bool_t xdr_LOOKUP3args();
1377 extern bool_t xdr_LOOKUP3resok();
1378 extern bool_t xdr_LOOKUP3resfail();
1379 extern bool_t xdr_LOOKUP3res();
1380 extern bool_t xdr_ACCESS3args();
1381 extern bool_t xdr_ACCESS3resok();
1382 extern bool_t xdr_ACCESS3resfail();
1383 extern bool_t xdr_ACCESS3res();
1384 extern bool_t xdr_READLINK3args();
1385 extern bool_t xdr_READLINK3resok();
1386 extern bool_t xdr_READLINK3resfail();
1387 extern bool_t xdr_READLINK3res();
1388 extern bool_t xdr_READ3args();
1389 extern bool_t xdr_READ3resok();
1390 extern bool_t xdr_READ3resfail();
1391 extern bool_t xdr_READ3res();
1392 extern bool_t xdr_stable_how();
1393 extern bool_t xdr_WRITE3args();
1394 extern bool_t xdr_WRITE3resok();
1395 extern bool_t xdr_WRITE3resfail();
1396 extern bool_t xdr_WRITE3res();
1397 extern bool_t xdr_createmode3();
1398 extern bool_t xdr_createhow3();
1399 extern bool_t xdr_CREATE3args();
1400 extern bool_t xdr_CREATE3resok();
1401 extern bool_t xdr_CREATE3resfail();
1402 extern bool_t xdr_CREATE3res();
1403 extern bool_t xdr_MKDIR3args();
1404 extern bool_t xdr_MKDIR3resok();
1405 extern bool_t xdr_MKDIR3resfail();
1406 extern bool_t xdr_MKDIR3res();
1407 extern bool_t xdr_symlinkdata3();
1408 extern bool_t xdr_SYMLINK3args();
1409 extern bool_t xdr_SYMLINK3resok();
1410 extern bool_t xdr_SYMLINK3resfail();
1411 extern bool_t xdr_SYMLINK3res();
1412 extern bool_t xdr_devicedata3();
1413 extern bool_t xdr_mknoddata3();
1414 extern bool_t xdr_MKNOD3args();
1415 extern bool_t xdr_MKNOD3resok();
1416 extern bool_t xdr_MKNOD3resfail();
1417 extern bool_t xdr_MKNOD3res();
1418 extern bool_t xdr_REMOVE3args();
1419 extern bool_t xdr_REMOVE3resok();
1420 extern bool_t xdr_REMOVE3resfail();
1421 extern bool_t xdr_REMOVE3res();
1422 extern bool_t xdr_RMDIR3args();
1423 extern bool_t xdr_RMDIR3resok();
1424 extern bool_t xdr_RMDIR3resfail();
1425 extern bool_t xdr_RMDIR3res();
1426 extern bool_t xdr_RENAME3args();
1427 extern bool_t xdr_RENAME3resok();
1428 extern bool_t xdr_RENAME3resfail();
1429 extern bool_t xdr_RENAME3res();
1430 extern bool_t xdr_LINK3args();
1431 extern bool_t xdr_LINK3resok();
1432 extern bool_t xdr_LINK3resfail();
1433 extern bool_t xdr_LINK3res();
1434 extern bool_t xdr_READDIR3args();
1435 extern bool_t xdr_entry3();
1436 extern bool_t xdr_dirlist3();
1437 extern bool_t xdr_READDIR3resok();
1438 extern bool_t xdr_READDIR3resfail();
1439 extern bool_t xdr_READDIR3res();
1440 extern bool_t xdr_READDIRPLUS3args();
1441 extern bool_t xdr_entryplus3();
1442 extern bool_t xdr_dirlistplus3();
1443 extern bool_t xdr_READDIRPLUS3resok();
1444 extern bool_t xdr_READDIRPLUS3resfail();
1445 extern bool_t xdr_READDIRPLUS3res();
1446 extern bool_t xdr_FSSTAT3args();
1447 extern bool_t xdr_FSSTAT3resok();
1448 extern bool_t xdr_FSSTAT3resfail();
1449 extern bool_t xdr_FSSTAT3res();
1450 extern bool_t xdr_FSINFO3args();
1451 extern bool_t xdr_FSINFO3resok();
1452 extern bool_t xdr_FSINFO3resfail();
1453 extern bool_t xdr_FSINFO3res();
1454 extern bool_t xdr_PATHCONF3args();
1455 extern bool_t xdr_PATHCONF3resok();
1456 extern bool_t xdr_PATHCONF3resfail();
1457 extern bool_t xdr_PATHCONF3res();
1458 extern bool_t xdr_COMMIT3args();
1459 extern bool_t xdr_COMMIT3resok();
1460 extern bool_t xdr_COMMIT3resfail();
1461 extern bool_t xdr_COMMIT3res();
1462 extern bool_t xdr_fhandle3();
1463 extern bool_t xdr_dirpath3();
1464 extern bool_t xdr_name3();
1465 extern bool_t xdr_mountstat3();
1466 extern bool_t xdr_mountres3_ok();
1467 extern bool_t xdr_mountres3();
1468 extern bool_t xdr_mountlist3();
1469 extern bool_t xdr_mountbody3();
1470 extern bool_t xdr_groups3();
1471 extern bool_t xdr_groupnode3();
1472 extern bool_t xdr_exports3();
1473 extern bool_t xdr_exportnode3();
1474 
1475 #endif /* K&R C */
1476 
1477 #ifdef __cplusplus
1478 }
1479 #endif
1480 
1481 #endif /* !_RPC_NFS3_PROT_H_RPCGEN */