nfs-ganesha 1.4

nfs23.h

Go to the documentation of this file.
00001 /*
00002  * Please do not edit this file.
00003  * It was generated using rpcgen.
00004  */
00005 
00006 #ifndef _NFS23_H_RPCGEN
00007 #define _NFS23_H_RPCGEN
00008 
00009 #ifndef _USE_SWIG
00010 #include "ganesha_rpc.h"
00011 #endif                          /* SWIG */
00012 
00013 #ifdef _SOLARIS
00014 #include "solaris_port.h"
00015 #endif
00016 #include "extended_types.h"
00017 
00018 #include "mount.h"
00019 
00020 #define NFS2_MAXDATA 8192
00021 #define NFS2_MAXPATHLEN 1024
00022 #define NFS2_MAXNAMLEN 255
00023 #define NFS2_COOKIESIZE 4
00024 #define NFS2_FHSIZE 32
00025 #define NFS2_MNTPATHLEN 1024
00026 #define NFS2_MNTNAMLEN 255
00027 
00028 #define NFS3_FHSIZE 64
00029 #define NFS3_COOKIEVERFSIZE 8
00030 #define NFS3_CREATEVERFSIZE 8
00031 #define NFS3_WRITEVERFSIZE 8
00032 
00033 #define NFS2_MAX_FILESIZE   (2147483647)        /* 0x7fffffff */
00034 
00035 typedef char *nfspath2;
00036 
00037 typedef char *filename2;
00038 
00039 typedef char fhandle2[NFS2_FHSIZE];
00040 
00041 typedef struct
00042 {
00043   u_int nfsdata2_len;
00044   char *nfsdata2_val;
00045 } nfsdata2;
00046 
00047 typedef char nfscookie2[NFS2_COOKIESIZE];
00048 
00049 enum nfsstat2
00050 {
00051   NFS_OK = 0,
00052   NFSERR_PERM = 1,
00053   NFSERR_NOENT = 2,
00054   NFSERR_IO = 5,
00055   NFSERR_NXIO = 6,
00056   NFSERR_ACCES = 13,
00057   NFSERR_EXIST = 17,
00058   NFSERR_NODEV = 19,
00059   NFSERR_NOTDIR = 20,
00060   NFSERR_ISDIR = 21,
00061   NFSERR_FBIG = 27,
00062   NFSERR_NOSPC = 28,
00063   NFSERR_ROFS = 30,
00064   NFSERR_NAMETOOLONG = 63,
00065   NFSERR_NOTEMPTY = 66,
00066   NFSERR_DQUOT = 69,
00067   NFSERR_STALE = 70,
00068   NFSERR_WFLUSH = 99
00069 };
00070 typedef enum nfsstat2 nfsstat2;
00071 
00072 enum ftype2
00073 {
00074   NFNON = 0,
00075   NFREG = 1,
00076   NFDIR = 2,
00077   NFBLK = 3,
00078   NFCHR = 4,
00079   NFLNK = 5,
00080   NFSOCK = 6,
00081   NFBAD = 7,
00082   NFFIFO = 8
00083 };
00084 typedef enum ftype2 ftype2;
00085 
00086 struct nfstime2
00087 {
00088   u_int seconds;
00089   u_int useconds;
00090 };
00091 typedef struct nfstime2 nfstime2;
00092 
00093 struct fattr2
00094 {
00095   ftype2 type;
00096   u_int mode;
00097   u_int nlink;
00098   u_int uid;
00099   u_int gid;
00100   u_int size;
00101   u_int blocksize;
00102   u_int rdev;
00103   u_int blocks;
00104   u_int fsid;
00105   u_int fileid;
00106   nfstime2 atime;
00107   nfstime2 mtime;
00108   nfstime2 ctime;
00109 };
00110 typedef struct fattr2 fattr2;
00111 
00112 struct fhstatus2
00113 {
00114   u_int status;
00115   union
00116   {
00117     fhandle2 directory;
00118   } fhstatus2_u;
00119 };
00120 typedef struct fhstatus2 fhstatus2;
00121 
00122 struct diropargs2
00123 {
00124   fhandle2 dir;
00125   filename2 name;
00126 };
00127 typedef struct diropargs2 diropargs2;
00128 
00129 struct DIROP2resok
00130 {
00131   fhandle2 file;
00132   fattr2 attributes;
00133 };
00134 typedef struct DIROP2resok DIROP2resok;
00135 
00136 struct DIROP2res
00137 {
00138   nfsstat2 status;
00139   union
00140   {
00141     DIROP2resok diropok;
00142   } DIROP2res_u;
00143 };
00144 typedef struct DIROP2res DIROP2res;
00145 
00146 struct ATTR2res
00147 {
00148   nfsstat2 status;
00149   union
00150   {
00151     fattr2 attributes;
00152   } ATTR2res_u;
00153 };
00154 typedef struct ATTR2res ATTR2res;
00155 
00156 struct sattr2
00157 {
00158   u_int mode;
00159   u_int uid;
00160   u_int gid;
00161   u_int size;
00162   nfstime2 atime;
00163   nfstime2 mtime;
00164 };
00165 typedef struct sattr2 sattr2;
00166 
00167 struct statinfo2
00168 {
00169   u_int tsize;
00170   u_int bsize;
00171   u_int blocks;
00172   u_int bfree;
00173   u_int bavail;
00174 };
00175 typedef struct statinfo2 statinfo2;
00176 
00177 struct STATFS2res
00178 {
00179   nfsstat2 status;
00180   union
00181   {
00182     statinfo2 info;
00183   } STATFS2res_u;
00184 };
00185 typedef struct STATFS2res STATFS2res;
00186 
00187 struct READDIR2args
00188 {
00189   fhandle2 dir;
00190   nfscookie2 cookie;
00191   u_int count;
00192 };
00193 typedef struct READDIR2args READDIR2args;
00194 
00195 struct entry2
00196 {
00197   u_int fileid;
00198   filename2 name;
00199   nfscookie2 cookie;
00200   struct entry2 *nextentry;
00201 };
00202 typedef struct entry2 entry2;
00203 
00204 struct READDIR2resok
00205 {
00206   entry2 *entries;
00207   bool_t eof;
00208 };
00209 typedef struct READDIR2resok READDIR2resok;
00210 
00211 struct READDIR2res
00212 {
00213   nfsstat2 status;
00214   union
00215   {
00216     READDIR2resok readdirok;
00217   } READDIR2res_u;
00218 };
00219 typedef struct READDIR2res READDIR2res;
00220 
00221 struct SYMLINK2args
00222 {
00223   diropargs2 from;
00224   nfspath2 to;
00225   sattr2 attributes;
00226 };
00227 typedef struct SYMLINK2args SYMLINK2args;
00228 
00229 struct LINK2args
00230 {
00231   fhandle2 from;
00232   diropargs2 to;
00233 };
00234 typedef struct LINK2args LINK2args;
00235 
00236 struct RENAME2args
00237 {
00238   diropargs2 from;
00239   diropargs2 to;
00240 };
00241 typedef struct RENAME2args RENAME2args;
00242 
00243 struct CREATE2args
00244 {
00245   diropargs2 where;
00246   sattr2 attributes;
00247 };
00248 typedef struct CREATE2args CREATE2args;
00249 
00250 struct WRITE2args
00251 {
00252   fhandle2 file;
00253   u_int beginoffset;
00254   u_int offset;
00255   u_int totalcount;
00256   nfsdata2 data;
00257 };
00258 typedef struct WRITE2args WRITE2args;
00259 
00260 struct READ2resok
00261 {
00262   fattr2 attributes;
00263   nfsdata2 data;
00264 };
00265 typedef struct READ2resok READ2resok;
00266 
00267 struct READ2res
00268 {
00269   nfsstat2 status;
00270   union
00271   {
00272     READ2resok readok;
00273   } READ2res_u;
00274 };
00275 typedef struct READ2res READ2res;
00276 
00277 struct READ2args
00278 {
00279   fhandle2 file;
00280   u_int offset;
00281   u_int count;
00282   u_int totalcount;
00283 };
00284 typedef struct READ2args READ2args;
00285 
00286 struct READLINK2res
00287 {
00288   nfsstat2 status;
00289   union
00290   {
00291     nfspath2 data;
00292   } READLINK2res_u;
00293 };
00294 typedef struct READLINK2res READLINK2res;
00295 
00296 struct SETATTR2args
00297 {
00298   fhandle2 file;
00299   sattr2 attributes;
00300 };
00301 typedef struct SETATTR2args SETATTR2args;
00302 
00303 typedef u_longlong_t nfs3_uint64;
00304 
00305 typedef longlong_t nfs3_int64;
00306 
00307 /* BUGAZOMEU: long changed to int, for beeing really 32 bits */
00308 
00309 typedef u_int nfs3_uint32;
00310 
00311 typedef int nfs3_int32;
00312 
00313 typedef char *filename3;
00314 
00315 typedef char *nfspath3;
00316 
00317 typedef nfs3_uint64 fileid3;
00318 
00319 typedef nfs3_uint64 cookie3;
00320 
00321 typedef char cookieverf3[8];
00322 
00323 typedef char createverf3[8];
00324 
00325 typedef char writeverf3[8];
00326 
00327 typedef nfs3_uint32 uid3;
00328 
00329 typedef nfs3_uint32 gid3;
00330 
00331 typedef nfs3_uint64 size3;
00332 
00333 typedef nfs3_uint64 offset3;
00334 
00335 typedef nfs3_uint32 mode3;
00336 
00337 typedef nfs3_uint32 count3;
00338 
00339 enum nfsstat3
00340 {
00341   NFS3_OK = 0,
00342   NFS3ERR_PERM = 1,
00343   NFS3ERR_NOENT = 2,
00344   NFS3ERR_IO = 5,
00345   NFS3ERR_NXIO = 6,
00346   NFS3ERR_ACCES = 13,
00347   NFS3ERR_EXIST = 17,
00348   NFS3ERR_XDEV = 18,
00349   NFS3ERR_NODEV = 19,
00350   NFS3ERR_NOTDIR = 20,
00351   NFS3ERR_ISDIR = 21,
00352   NFS3ERR_INVAL = 22,
00353   NFS3ERR_FBIG = 27,
00354   NFS3ERR_NOSPC = 28,
00355   NFS3ERR_ROFS = 30,
00356   NFS3ERR_MLINK = 31,
00357   NFS3ERR_NAMETOOLONG = 63,
00358   NFS3ERR_NOTEMPTY = 66,
00359   NFS3ERR_DQUOT = 69,
00360   NFS3ERR_STALE = 70,
00361   NFS3ERR_REMOTE = 71,
00362   NFS3ERR_BADHANDLE = 10001,
00363   NFS3ERR_NOT_SYNC = 10002,
00364   NFS3ERR_BAD_COOKIE = 10003,
00365   NFS3ERR_NOTSUPP = 10004,
00366   NFS3ERR_TOOSMALL = 10005,
00367   NFS3ERR_SERVERFAULT = 10006,
00368   NFS3ERR_BADTYPE = 10007,
00369   NFS3ERR_JUKEBOX = 10008
00370 };
00371 typedef enum nfsstat3 nfsstat3;
00372 
00373 enum ftype3
00374 {
00375   NF3REG = 1,
00376   NF3DIR = 2,
00377   NF3BLK = 3,
00378   NF3CHR = 4,
00379   NF3LNK = 5,
00380   NF3SOCK = 6,
00381   NF3FIFO = 7
00382 };
00383 typedef enum ftype3 ftype3;
00384 
00385 struct specdata3
00386 {
00387   nfs3_uint32 specdata1;
00388   nfs3_uint32 specdata2;
00389 };
00390 typedef struct specdata3 specdata3;
00391 
00397 struct nfs_fh3
00398 {
00399   struct
00400   {
00401     u_int data_len;
00402     char *data_val;
00403   } data;
00404 };
00405 typedef struct nfs_fh3 nfs_fh3;
00406 
00407 struct nfstime3
00408 {
00409   nfs3_uint32 seconds;
00410   nfs3_uint32 nseconds;
00411 };
00412 typedef struct nfstime3 nfstime3;
00413 
00414 struct fattr3
00415 {
00416   ftype3 type;
00417   mode3 mode;
00418   nfs3_uint32 nlink;
00419   uid3 uid;
00420   gid3 gid;
00421   size3 size;
00422   size3 used;
00423   specdata3 rdev;
00424   nfs3_uint64 fsid;
00425   fileid3 fileid;
00426   nfstime3 atime;
00427   nfstime3 mtime;
00428   nfstime3 ctime;
00429 };
00430 typedef struct fattr3 fattr3;
00431 
00432 struct post_op_attr
00433 {
00434   bool_t attributes_follow;
00435   union
00436   {
00437     fattr3 attributes;
00438   } post_op_attr_u;
00439 };
00440 typedef struct post_op_attr post_op_attr;
00441 
00442 struct wcc_attr
00443 {
00444   size3 size;
00445   nfstime3 mtime;
00446   nfstime3 ctime;
00447 };
00448 typedef struct wcc_attr wcc_attr;
00449 
00450 struct pre_op_attr
00451 {
00452   bool_t attributes_follow;
00453   union
00454   {
00455     wcc_attr attributes;
00456   } pre_op_attr_u;
00457 };
00458 typedef struct pre_op_attr pre_op_attr;
00459 
00460 struct wcc_data
00461 {
00462   pre_op_attr before;
00463   post_op_attr after;
00464 };
00465 typedef struct wcc_data wcc_data;
00466 
00467 struct post_op_fh3
00468 {
00469   bool_t handle_follows;
00470   union
00471   {
00472     nfs_fh3 handle;
00473   } post_op_fh3_u;
00474 };
00475 typedef struct post_op_fh3 post_op_fh3;
00476 
00477 enum time_how
00478 {
00479   DONT_CHANGE = 0,
00480   SET_TO_SERVER_TIME = 1,
00481   SET_TO_CLIENT_TIME = 2
00482 };
00483 typedef enum time_how time_how;
00484 
00485 struct set_mode3
00486 {
00487   bool_t set_it;
00488   union
00489   {
00490     mode3 mode;
00491   } set_mode3_u;
00492 };
00493 typedef struct set_mode3 set_mode3;
00494 
00495 struct set_uid3
00496 {
00497   bool_t set_it;
00498   union
00499   {
00500     uid3 uid;
00501   } set_uid3_u;
00502 };
00503 typedef struct set_uid3 set_uid3;
00504 
00505 struct set_gid3
00506 {
00507   bool_t set_it;
00508   union
00509   {
00510     gid3 gid;
00511   } set_gid3_u;
00512 };
00513 typedef struct set_gid3 set_gid3;
00514 
00515 struct set_size3
00516 {
00517   bool_t set_it;
00518   union
00519   {
00520     size3 size;
00521   } set_size3_u;
00522 };
00523 typedef struct set_size3 set_size3;
00524 
00525 struct set_atime
00526 {
00527   time_how set_it;
00528   union
00529   {
00530     nfstime3 atime;
00531   } set_atime_u;
00532 };
00533 typedef struct set_atime set_atime;
00534 
00535 struct set_mtime
00536 {
00537   time_how set_it;
00538   union
00539   {
00540     nfstime3 mtime;
00541   } set_mtime_u;
00542 };
00543 typedef struct set_mtime set_mtime;
00544 
00545 struct sattr3
00546 {
00547   set_mode3 mode;
00548   set_uid3 uid;
00549   set_gid3 gid;
00550   set_size3 size;
00551   set_atime atime;
00552   set_mtime mtime;
00553 };
00554 typedef struct sattr3 sattr3;
00555 
00556 struct diropargs3
00557 {
00558   nfs_fh3 dir;
00559   filename3 name;
00560 };
00561 typedef struct diropargs3 diropargs3;
00562 
00563 struct GETATTR3args
00564 {
00565   nfs_fh3 object;
00566 };
00567 typedef struct GETATTR3args GETATTR3args;
00568 
00569 struct GETATTR3resok
00570 {
00571   fattr3 obj_attributes;
00572 };
00573 typedef struct GETATTR3resok GETATTR3resok;
00574 
00575 struct GETATTR3res
00576 {
00577   nfsstat3 status;
00578   union
00579   {
00580     GETATTR3resok resok;
00581   } GETATTR3res_u;
00582 };
00583 typedef struct GETATTR3res GETATTR3res;
00584 
00585 struct sattrguard3
00586 {
00587   bool_t check;
00588   union
00589   {
00590     nfstime3 obj_ctime;
00591   } sattrguard3_u;
00592 };
00593 typedef struct sattrguard3 sattrguard3;
00594 
00595 struct SETATTR3args
00596 {
00597   nfs_fh3 object;
00598   sattr3 new_attributes;
00599   sattrguard3 guard;
00600 };
00601 typedef struct SETATTR3args SETATTR3args;
00602 
00603 struct SETATTR3resok
00604 {
00605   wcc_data obj_wcc;
00606 };
00607 typedef struct SETATTR3resok SETATTR3resok;
00608 
00609 struct SETATTR3resfail
00610 {
00611   wcc_data obj_wcc;
00612 };
00613 typedef struct SETATTR3resfail SETATTR3resfail;
00614 
00615 struct SETATTR3res
00616 {
00617   nfsstat3 status;
00618   union
00619   {
00620     SETATTR3resok resok;
00621     SETATTR3resfail resfail;
00622   } SETATTR3res_u;
00623 };
00624 typedef struct SETATTR3res SETATTR3res;
00625 
00626 struct LOOKUP3args
00627 {
00628   diropargs3 what;
00629 };
00630 typedef struct LOOKUP3args LOOKUP3args;
00631 
00632 struct LOOKUP3resok
00633 {
00634   nfs_fh3 object;
00635   post_op_attr obj_attributes;
00636   post_op_attr dir_attributes;
00637 };
00638 typedef struct LOOKUP3resok LOOKUP3resok;
00639 
00640 struct LOOKUP3resfail
00641 {
00642   post_op_attr dir_attributes;
00643 };
00644 typedef struct LOOKUP3resfail LOOKUP3resfail;
00645 
00646 struct LOOKUP3res
00647 {
00648   nfsstat3 status;
00649   union
00650   {
00651     LOOKUP3resok resok;
00652     LOOKUP3resfail resfail;
00653   } LOOKUP3res_u;
00654 };
00655 typedef struct LOOKUP3res LOOKUP3res;
00656 #define ACCESS3_READ 0x0001
00657 #define ACCESS3_LOOKUP 0x0002
00658 #define ACCESS3_MODIFY 0x0004
00659 #define ACCESS3_EXTEND 0x0008
00660 #define ACCESS3_DELETE 0x0010
00661 #define ACCESS3_EXECUTE 0x0020
00662 
00663 struct ACCESS3args
00664 {
00665   nfs_fh3 object;
00666   nfs3_uint32 access;
00667 };
00668 typedef struct ACCESS3args ACCESS3args;
00669 
00670 struct ACCESS3resok
00671 {
00672   post_op_attr obj_attributes;
00673   nfs3_uint32 access;
00674 };
00675 typedef struct ACCESS3resok ACCESS3resok;
00676 
00677 struct ACCESS3resfail
00678 {
00679   post_op_attr obj_attributes;
00680 };
00681 typedef struct ACCESS3resfail ACCESS3resfail;
00682 
00683 struct ACCESS3res
00684 {
00685   nfsstat3 status;
00686   union
00687   {
00688     ACCESS3resok resok;
00689     ACCESS3resfail resfail;
00690   } ACCESS3res_u;
00691 };
00692 typedef struct ACCESS3res ACCESS3res;
00693 
00694 struct READLINK3args
00695 {
00696   nfs_fh3 symlink;
00697 };
00698 typedef struct READLINK3args READLINK3args;
00699 
00700 struct READLINK3resok
00701 {
00702   post_op_attr symlink_attributes;
00703   nfspath3 data;
00704 };
00705 typedef struct READLINK3resok READLINK3resok;
00706 
00707 struct READLINK3resfail
00708 {
00709   post_op_attr symlink_attributes;
00710 };
00711 typedef struct READLINK3resfail READLINK3resfail;
00712 
00713 struct READLINK3res
00714 {
00715   nfsstat3 status;
00716   union
00717   {
00718     READLINK3resok resok;
00719     READLINK3resfail resfail;
00720   } READLINK3res_u;
00721 };
00722 typedef struct READLINK3res READLINK3res;
00723 
00724 struct READ3args
00725 {
00726   nfs_fh3 file;
00727   offset3 offset;
00728   count3 count;
00729 };
00730 typedef struct READ3args READ3args;
00731 
00732 struct READ3resok
00733 {
00734   post_op_attr file_attributes;
00735   count3 count;
00736   bool_t eof;
00737   struct
00738   {
00739     u_int data_len;
00740     char *data_val;
00741   } data;
00742 };
00743 typedef struct READ3resok READ3resok;
00744 
00745 struct READ3resfail
00746 {
00747   post_op_attr file_attributes;
00748 };
00749 typedef struct READ3resfail READ3resfail;
00750 
00751 struct READ3res
00752 {
00753   nfsstat3 status;
00754   union
00755   {
00756     READ3resok resok;
00757     READ3resfail resfail;
00758   } READ3res_u;
00759 };
00760 typedef struct READ3res READ3res;
00761 
00762 enum stable_how
00763 {
00764   UNSTABLE = 0,
00765   DATA_SYNC = 1,
00766   FILE_SYNC = 2
00767 };
00768 typedef enum stable_how stable_how;
00769 
00770 struct WRITE3args
00771 {
00772   nfs_fh3 file;
00773   offset3 offset;
00774   count3 count;
00775   stable_how stable;
00776   struct
00777   {
00778     u_int data_len;
00779     char *data_val;
00780   } data;
00781 };
00782 typedef struct WRITE3args WRITE3args;
00783 
00784 struct WRITE3resok
00785 {
00786   wcc_data file_wcc;
00787   count3 count;
00788   stable_how committed;
00789   writeverf3 verf;
00790 };
00791 typedef struct WRITE3resok WRITE3resok;
00792 
00793 struct WRITE3resfail
00794 {
00795   wcc_data file_wcc;
00796 };
00797 typedef struct WRITE3resfail WRITE3resfail;
00798 
00799 struct WRITE3res
00800 {
00801   nfsstat3 status;
00802   union
00803   {
00804     WRITE3resok resok;
00805     WRITE3resfail resfail;
00806   } WRITE3res_u;
00807 };
00808 typedef struct WRITE3res WRITE3res;
00809 
00810 enum createmode3
00811 {
00812   UNCHECKED = 0,
00813   GUARDED = 1,
00814   EXCLUSIVE = 2
00815 };
00816 typedef enum createmode3 createmode3;
00817 
00818 struct createhow3
00819 {
00820   createmode3 mode;
00821   union
00822   {
00823     sattr3 obj_attributes;
00824     createverf3 verf;
00825   } createhow3_u;
00826 };
00827 typedef struct createhow3 createhow3;
00828 
00829 struct CREATE3args
00830 {
00831   diropargs3 where;
00832   createhow3 how;
00833 };
00834 typedef struct CREATE3args CREATE3args;
00835 
00836 struct CREATE3resok
00837 {
00838   post_op_fh3 obj;
00839   post_op_attr obj_attributes;
00840   wcc_data dir_wcc;
00841 };
00842 typedef struct CREATE3resok CREATE3resok;
00843 
00844 struct CREATE3resfail
00845 {
00846   wcc_data dir_wcc;
00847 };
00848 typedef struct CREATE3resfail CREATE3resfail;
00849 
00850 struct CREATE3res
00851 {
00852   nfsstat3 status;
00853   union
00854   {
00855     CREATE3resok resok;
00856     CREATE3resfail resfail;
00857   } CREATE3res_u;
00858 };
00859 typedef struct CREATE3res CREATE3res;
00860 
00861 struct MKDIR3args
00862 {
00863   diropargs3 where;
00864   sattr3 attributes;
00865 };
00866 typedef struct MKDIR3args MKDIR3args;
00867 
00868 struct MKDIR3resok
00869 {
00870   post_op_fh3 obj;
00871   post_op_attr obj_attributes;
00872   wcc_data dir_wcc;
00873 };
00874 typedef struct MKDIR3resok MKDIR3resok;
00875 
00876 struct MKDIR3resfail
00877 {
00878   wcc_data dir_wcc;
00879 };
00880 typedef struct MKDIR3resfail MKDIR3resfail;
00881 
00882 struct MKDIR3res
00883 {
00884   nfsstat3 status;
00885   union
00886   {
00887     MKDIR3resok resok;
00888     MKDIR3resfail resfail;
00889   } MKDIR3res_u;
00890 };
00891 typedef struct MKDIR3res MKDIR3res;
00892 
00893 struct symlinkdata3
00894 {
00895   sattr3 symlink_attributes;
00896   nfspath3 symlink_data;
00897 };
00898 typedef struct symlinkdata3 symlinkdata3;
00899 
00900 struct SYMLINK3args
00901 {
00902   diropargs3 where;
00903   symlinkdata3 symlink;
00904 };
00905 typedef struct SYMLINK3args SYMLINK3args;
00906 
00907 struct SYMLINK3resok
00908 {
00909   post_op_fh3 obj;
00910   post_op_attr obj_attributes;
00911   wcc_data dir_wcc;
00912 };
00913 typedef struct SYMLINK3resok SYMLINK3resok;
00914 
00915 struct SYMLINK3resfail
00916 {
00917   wcc_data dir_wcc;
00918 };
00919 typedef struct SYMLINK3resfail SYMLINK3resfail;
00920 
00921 struct SYMLINK3res
00922 {
00923   nfsstat3 status;
00924   union
00925   {
00926     SYMLINK3resok resok;
00927     SYMLINK3resfail resfail;
00928   } SYMLINK3res_u;
00929 };
00930 typedef struct SYMLINK3res SYMLINK3res;
00931 
00932 struct devicedata3
00933 {
00934   sattr3 dev_attributes;
00935   specdata3 spec;
00936 };
00937 typedef struct devicedata3 devicedata3;
00938 
00939 struct mknoddata3
00940 {
00941   ftype3 type;
00942   union
00943   {
00944     devicedata3 device;
00945     sattr3 pipe_attributes;
00946   } mknoddata3_u;
00947 };
00948 typedef struct mknoddata3 mknoddata3;
00949 
00950 struct MKNOD3args
00951 {
00952   diropargs3 where;
00953   mknoddata3 what;
00954 };
00955 typedef struct MKNOD3args MKNOD3args;
00956 
00957 struct MKNOD3resok
00958 {
00959   post_op_fh3 obj;
00960   post_op_attr obj_attributes;
00961   wcc_data dir_wcc;
00962 };
00963 typedef struct MKNOD3resok MKNOD3resok;
00964 
00965 struct MKNOD3resfail
00966 {
00967   wcc_data dir_wcc;
00968 };
00969 typedef struct MKNOD3resfail MKNOD3resfail;
00970 
00971 struct MKNOD3res
00972 {
00973   nfsstat3 status;
00974   union
00975   {
00976     MKNOD3resok resok;
00977     MKNOD3resfail resfail;
00978   } MKNOD3res_u;
00979 };
00980 typedef struct MKNOD3res MKNOD3res;
00981 
00982 struct REMOVE3args
00983 {
00984   diropargs3 object;
00985 };
00986 typedef struct REMOVE3args REMOVE3args;
00987 
00988 struct REMOVE3resok
00989 {
00990   wcc_data dir_wcc;
00991 };
00992 typedef struct REMOVE3resok REMOVE3resok;
00993 
00994 struct REMOVE3resfail
00995 {
00996   wcc_data dir_wcc;
00997 };
00998 typedef struct REMOVE3resfail REMOVE3resfail;
00999 
01000 struct REMOVE3res
01001 {
01002   nfsstat3 status;
01003   union
01004   {
01005     REMOVE3resok resok;
01006     REMOVE3resfail resfail;
01007   } REMOVE3res_u;
01008 };
01009 typedef struct REMOVE3res REMOVE3res;
01010 
01011 struct RMDIR3args
01012 {
01013   diropargs3 object;
01014 };
01015 typedef struct RMDIR3args RMDIR3args;
01016 
01017 struct RMDIR3resok
01018 {
01019   wcc_data dir_wcc;
01020 };
01021 typedef struct RMDIR3resok RMDIR3resok;
01022 
01023 struct RMDIR3resfail
01024 {
01025   wcc_data dir_wcc;
01026 };
01027 typedef struct RMDIR3resfail RMDIR3resfail;
01028 
01029 struct RMDIR3res
01030 {
01031   nfsstat3 status;
01032   union
01033   {
01034     RMDIR3resok resok;
01035     RMDIR3resfail resfail;
01036   } RMDIR3res_u;
01037 };
01038 typedef struct RMDIR3res RMDIR3res;
01039 
01040 struct RENAME3args
01041 {
01042   diropargs3 from;
01043   diropargs3 to;
01044 };
01045 typedef struct RENAME3args RENAME3args;
01046 
01047 struct RENAME3resok
01048 {
01049   wcc_data fromdir_wcc;
01050   wcc_data todir_wcc;
01051 };
01052 typedef struct RENAME3resok RENAME3resok;
01053 
01054 struct RENAME3resfail
01055 {
01056   wcc_data fromdir_wcc;
01057   wcc_data todir_wcc;
01058 };
01059 typedef struct RENAME3resfail RENAME3resfail;
01060 
01061 struct RENAME3res
01062 {
01063   nfsstat3 status;
01064   union
01065   {
01066     RENAME3resok resok;
01067     RENAME3resfail resfail;
01068   } RENAME3res_u;
01069 };
01070 typedef struct RENAME3res RENAME3res;
01071 
01072 struct LINK3args
01073 {
01074   nfs_fh3 file;
01075   diropargs3 link;
01076 };
01077 typedef struct LINK3args LINK3args;
01078 
01079 struct LINK3resok
01080 {
01081   post_op_attr file_attributes;
01082   wcc_data linkdir_wcc;
01083 };
01084 typedef struct LINK3resok LINK3resok;
01085 
01086 struct LINK3resfail
01087 {
01088   post_op_attr file_attributes;
01089   wcc_data linkdir_wcc;
01090 };
01091 typedef struct LINK3resfail LINK3resfail;
01092 
01093 struct LINK3res
01094 {
01095   nfsstat3 status;
01096   union
01097   {
01098     LINK3resok resok;
01099     LINK3resfail resfail;
01100   } LINK3res_u;
01101 };
01102 typedef struct LINK3res LINK3res;
01103 
01104 struct READDIR3args
01105 {
01106   nfs_fh3 dir;
01107   cookie3 cookie;
01108   cookieverf3 cookieverf;
01109   count3 count;
01110 };
01111 typedef struct READDIR3args READDIR3args;
01112 
01113 struct entry3
01114 {
01115   fileid3 fileid;
01116   filename3 name;
01117   cookie3 cookie;
01118   struct entry3 *nextentry;
01119 };
01120 typedef struct entry3 entry3;
01121 
01122 struct dirlist3
01123 {
01124   entry3 *entries;
01125   bool_t eof;
01126 };
01127 typedef struct dirlist3 dirlist3;
01128 
01129 struct READDIR3resok
01130 {
01131   post_op_attr dir_attributes;
01132   cookieverf3 cookieverf;
01133   dirlist3 reply;
01134 };
01135 typedef struct READDIR3resok READDIR3resok;
01136 
01137 struct READDIR3resfail
01138 {
01139   post_op_attr dir_attributes;
01140 };
01141 typedef struct READDIR3resfail READDIR3resfail;
01142 
01143 struct READDIR3res
01144 {
01145   nfsstat3 status;
01146   union
01147   {
01148     READDIR3resok resok;
01149     READDIR3resfail resfail;
01150   } READDIR3res_u;
01151 };
01152 typedef struct READDIR3res READDIR3res;
01153 
01154 struct READDIRPLUS3args
01155 {
01156   nfs_fh3 dir;
01157   cookie3 cookie;
01158   cookieverf3 cookieverf;
01159   count3 dircount;
01160   count3 maxcount;
01161 };
01162 typedef struct READDIRPLUS3args READDIRPLUS3args;
01163 
01164 struct entryplus3
01165 {
01166   fileid3 fileid;
01167   filename3 name;
01168   cookie3 cookie;
01169   post_op_attr name_attributes;
01170   post_op_fh3 name_handle;
01171   struct entryplus3 *nextentry;
01172 };
01173 typedef struct entryplus3 entryplus3;
01174 
01175 struct dirlistplus3
01176 {
01177   entryplus3 *entries;
01178   bool_t eof;
01179 };
01180 typedef struct dirlistplus3 dirlistplus3;
01181 
01182 struct READDIRPLUS3resok
01183 {
01184   post_op_attr dir_attributes;
01185   cookieverf3 cookieverf;
01186   dirlistplus3 reply;
01187 };
01188 typedef struct READDIRPLUS3resok READDIRPLUS3resok;
01189 
01190 struct READDIRPLUS3resfail
01191 {
01192   post_op_attr dir_attributes;
01193 };
01194 typedef struct READDIRPLUS3resfail READDIRPLUS3resfail;
01195 
01196 struct READDIRPLUS3res
01197 {
01198   nfsstat3 status;
01199   union
01200   {
01201     READDIRPLUS3resok resok;
01202     READDIRPLUS3resfail resfail;
01203   } READDIRPLUS3res_u;
01204 };
01205 typedef struct READDIRPLUS3res READDIRPLUS3res;
01206 
01207 struct FSSTAT3args
01208 {
01209   nfs_fh3 fsroot;
01210 };
01211 typedef struct FSSTAT3args FSSTAT3args;
01212 
01213 struct FSSTAT3resok
01214 {
01215   post_op_attr obj_attributes;
01216   size3 tbytes;
01217   size3 fbytes;
01218   size3 abytes;
01219   size3 tfiles;
01220   size3 ffiles;
01221   size3 afiles;
01222   nfs3_uint32 invarsec;
01223 };
01224 typedef struct FSSTAT3resok FSSTAT3resok;
01225 
01226 struct FSSTAT3resfail
01227 {
01228   post_op_attr obj_attributes;
01229 };
01230 typedef struct FSSTAT3resfail FSSTAT3resfail;
01231 
01232 struct FSSTAT3res
01233 {
01234   nfsstat3 status;
01235   union
01236   {
01237     FSSTAT3resok resok;
01238     FSSTAT3resfail resfail;
01239   } FSSTAT3res_u;
01240 };
01241 typedef struct FSSTAT3res FSSTAT3res;
01242 #define FSF3_LINK 0x0001
01243 #define FSF3_SYMLINK 0x0002
01244 #define FSF3_HOMOGENEOUS 0x0008
01245 #define FSF3_CANSETTIME 0x0010
01246 
01247 struct FSINFO3args
01248 {
01249   nfs_fh3 fsroot;
01250 };
01251 typedef struct FSINFO3args FSINFO3args;
01252 
01253 struct FSINFO3resok
01254 {
01255   post_op_attr obj_attributes;
01256   nfs3_uint32 rtmax;
01257   nfs3_uint32 rtpref;
01258   nfs3_uint32 rtmult;
01259   nfs3_uint32 wtmax;
01260   nfs3_uint32 wtpref;
01261   nfs3_uint32 wtmult;
01262   nfs3_uint32 dtpref;
01263   size3 maxfilesize;
01264   nfstime3 time_delta;
01265   nfs3_uint32 properties;
01266 };
01267 typedef struct FSINFO3resok FSINFO3resok;
01268 
01269 struct FSINFO3resfail
01270 {
01271   post_op_attr obj_attributes;
01272 };
01273 typedef struct FSINFO3resfail FSINFO3resfail;
01274 
01275 struct FSINFO3res
01276 {
01277   nfsstat3 status;
01278   union
01279   {
01280     FSINFO3resok resok;
01281     FSINFO3resfail resfail;
01282   } FSINFO3res_u;
01283 };
01284 typedef struct FSINFO3res FSINFO3res;
01285 
01286 struct PATHCONF3args
01287 {
01288   nfs_fh3 object;
01289 };
01290 typedef struct PATHCONF3args PATHCONF3args;
01291 
01292 struct PATHCONF3resok
01293 {
01294   post_op_attr obj_attributes;
01295   nfs3_uint32 linkmax;
01296   nfs3_uint32 name_max;
01297   bool_t no_trunc;
01298   bool_t chown_restricted;
01299   bool_t case_insensitive;
01300   bool_t case_preserving;
01301 };
01302 typedef struct PATHCONF3resok PATHCONF3resok;
01303 
01304 struct PATHCONF3resfail
01305 {
01306   post_op_attr obj_attributes;
01307 };
01308 typedef struct PATHCONF3resfail PATHCONF3resfail;
01309 
01310 struct PATHCONF3res
01311 {
01312   nfsstat3 status;
01313   union
01314   {
01315     PATHCONF3resok resok;
01316     PATHCONF3resfail resfail;
01317   } PATHCONF3res_u;
01318 };
01319 typedef struct PATHCONF3res PATHCONF3res;
01320 
01321 struct COMMIT3args
01322 {
01323   nfs_fh3 file;
01324   offset3 offset;
01325   count3 count;
01326 };
01327 typedef struct COMMIT3args COMMIT3args;
01328 
01329 struct COMMIT3resok
01330 {
01331   wcc_data file_wcc;
01332   writeverf3 verf;
01333 };
01334 typedef struct COMMIT3resok COMMIT3resok;
01335 
01336 struct COMMIT3resfail
01337 {
01338   wcc_data file_wcc;
01339 };
01340 typedef struct COMMIT3resfail COMMIT3resfail;
01341 
01342 struct COMMIT3res
01343 {
01344   nfsstat3 status;
01345   union
01346   {
01347     COMMIT3resok resok;
01348     COMMIT3resfail resfail;
01349   } COMMIT3res_u;
01350 };
01351 typedef struct COMMIT3res COMMIT3res;
01352 
01353 #define NFS_PROGRAM     100003
01354 #define NFS_V2  2
01355 #define NFSPROC_NULL    0
01356 #define NFSPROC_GETATTR 1
01357 #define NFSPROC_SETATTR 2
01358 #define NFSPROC_ROOT    3
01359 #define NFSPROC_LOOKUP  4
01360 #define NFSPROC_READLINK        5
01361 #define NFSPROC_READ    6
01362 #define NFSPROC_WRITECACHE      7
01363 #define NFSPROC_WRITE   8
01364 #define NFSPROC_CREATE  9
01365 #define NFSPROC_REMOVE  10
01366 #define NFSPROC_RENAME  11
01367 #define NFSPROC_LINK    12
01368 #define NFSPROC_SYMLINK 13
01369 #define NFSPROC_MKDIR   14
01370 #define NFSPROC_RMDIR   15
01371 #define NFSPROC_READDIR 16
01372 #define NFSPROC_STATFS  17
01373 #define NFS_V3  3
01374 #define NFSPROC3_NULL   0
01375 #define NFSPROC3_GETATTR        1
01376 #define NFSPROC3_SETATTR        2
01377 #define NFSPROC3_LOOKUP 3
01378 #define NFSPROC3_ACCESS 4
01379 #define NFSPROC3_READLINK       5
01380 #define NFSPROC3_READ   6
01381 #define NFSPROC3_WRITE  7
01382 #define NFSPROC3_CREATE 8
01383 #define NFSPROC3_MKDIR  9
01384 #define NFSPROC3_SYMLINK        10
01385 #define NFSPROC3_MKNOD  11
01386 #define NFSPROC3_REMOVE 12
01387 #define NFSPROC3_RMDIR  13
01388 #define NFSPROC3_RENAME 14
01389 #define NFSPROC3_LINK   15
01390 #define NFSPROC3_READDIR        16
01391 #define NFSPROC3_READDIRPLUS    17
01392 #define NFSPROC3_FSSTAT 18
01393 #define NFSPROC3_FSINFO 19
01394 #define NFSPROC3_PATHCONF       20
01395 #define NFSPROC3_COMMIT 21
01396 
01397 #ifndef _USE_SWIG
01398 
01399 /* the xdr functions */
01400 
01401 extern bool_t xdr_nfspath2(XDR *, nfspath2 *);
01402 extern bool_t xdr_filename2(XDR *, filename2 *);
01403 extern bool_t xdr_fhandle2(XDR *, fhandle2);
01404 extern bool_t xdr_nfsdata2(XDR *, nfsdata2 *);
01405 extern bool_t xdr_nfscookie2(XDR *, nfscookie2);
01406 extern bool_t xdr_nfsstat2(XDR *, nfsstat2 *);
01407 extern bool_t xdr_ftype2(XDR *, ftype2 *);
01408 extern bool_t xdr_nfstime2(XDR *, nfstime2 *);
01409 extern bool_t xdr_fattr2(XDR *, fattr2 *);
01410 extern bool_t xdr_fhstatus2(XDR *, fhstatus2 *);
01411 extern bool_t xdr_diropargs2(XDR *, diropargs2 *);
01412 extern bool_t xdr_DIROP2resok(XDR *, DIROP2resok *);
01413 extern bool_t xdr_DIROP2res(XDR *, DIROP2res *);
01414 extern bool_t xdr_ATTR2res(XDR *, ATTR2res *);
01415 extern bool_t xdr_sattr2(XDR *, sattr2 *);
01416 extern bool_t xdr_statinfo2(XDR *, statinfo2 *);
01417 extern bool_t xdr_STATFS2res(XDR *, STATFS2res *);
01418 extern bool_t xdr_READDIR2args(XDR *, READDIR2args *);
01419 extern bool_t xdr_entry2(XDR *, entry2 *);
01420 extern bool_t xdr_READDIR2resok(XDR *, READDIR2resok *);
01421 extern bool_t xdr_READDIR2res(XDR *, READDIR2res *);
01422 extern bool_t xdr_SYMLINK2args(XDR *, SYMLINK2args *);
01423 extern bool_t xdr_LINK2args(XDR *, LINK2args *);
01424 extern bool_t xdr_RENAME2args(XDR *, RENAME2args *);
01425 extern bool_t xdr_CREATE2args(XDR *, CREATE2args *);
01426 extern bool_t xdr_WRITE2args(XDR *, WRITE2args *);
01427 extern bool_t xdr_READ2resok(XDR *, READ2resok *);
01428 extern bool_t xdr_READ2res(XDR *, READ2res *);
01429 extern bool_t xdr_READ2args(XDR *, READ2args *);
01430 extern bool_t xdr_READLINK2res(XDR *, READLINK2res *);
01431 extern bool_t xdr_SETATTR2args(XDR *, SETATTR2args *);
01432 extern bool_t xdr_nfs3_uint64(XDR *, nfs3_uint64 *);
01433 extern bool_t xdr_nfs3_int64(XDR *, nfs3_int64 *);
01434 extern bool_t xdr_nfs3_uint32(XDR *, nfs3_uint32 *);
01435 extern bool_t xdr_nfs3_int32(XDR *, nfs3_int32 *);
01436 extern bool_t xdr_filename3(XDR *, filename3 *);
01437 extern bool_t xdr_nfspath3(XDR *, nfspath3 *);
01438 extern bool_t xdr_fileid3(XDR *, fileid3 *);
01439 extern bool_t xdr_cookie3(XDR *, cookie3 *);
01440 extern bool_t xdr_fhandle3(XDR *, fhandle3 *);
01441 extern bool_t xdr_cookieverf3(XDR *, cookieverf3);
01442 extern bool_t xdr_createverf3(XDR *, createverf3);
01443 extern bool_t xdr_writeverf3(XDR *, writeverf3);
01444 extern bool_t xdr_uid3(XDR *, uid3 *);
01445 extern bool_t xdr_gid3(XDR *, gid3 *);
01446 extern bool_t xdr_size3(XDR *, size3 *);
01447 extern bool_t xdr_offset3(XDR *, offset3 *);
01448 extern bool_t xdr_mode3(XDR *, mode3 *);
01449 extern bool_t xdr_count3(XDR *, count3 *);
01450 
01451 extern bool_t xdr_nfsstat3(XDR *, nfsstat3 *);
01452 extern bool_t xdr_ftype3(XDR *, ftype3 *);
01453 extern bool_t xdr_specdata3(XDR *, specdata3 *);
01454 extern bool_t xdr_nfs_fh3(XDR *, nfs_fh3 *);
01455 extern bool_t xdr_nfstime3(XDR *, nfstime3 *);
01456 extern bool_t xdr_fattr3(XDR *, fattr3 *);
01457 extern bool_t xdr_post_op_attr(XDR *, post_op_attr *);
01458 extern bool_t xdr_wcc_attr(XDR *, wcc_attr *);
01459 extern bool_t xdr_pre_op_attr(XDR *, pre_op_attr *);
01460 extern bool_t xdr_wcc_data(XDR *, wcc_data *);
01461 extern bool_t xdr_post_op_fh3(XDR *, post_op_fh3 *);
01462 extern bool_t xdr_time_how(XDR *, time_how *);
01463 extern bool_t xdr_set_mode3(XDR *, set_mode3 *);
01464 extern bool_t xdr_set_uid3(XDR *, set_uid3 *);
01465 extern bool_t xdr_set_gid3(XDR *, set_gid3 *);
01466 extern bool_t xdr_set_size3(XDR *, set_size3 *);
01467 extern bool_t xdr_set_atime(XDR *, set_atime *);
01468 extern bool_t xdr_set_mtime(XDR *, set_mtime *);
01469 extern bool_t xdr_sattr3(XDR *, sattr3 *);
01470 extern bool_t xdr_diropargs3(XDR *, diropargs3 *);
01471 extern bool_t xdr_GETATTR3args(XDR *, GETATTR3args *);
01472 extern bool_t xdr_GETATTR3resok(XDR *, GETATTR3resok *);
01473 extern bool_t xdr_GETATTR3res(XDR *, GETATTR3res *);
01474 extern bool_t xdr_sattrguard3(XDR *, sattrguard3 *);
01475 extern bool_t xdr_SETATTR3args(XDR *, SETATTR3args *);
01476 extern bool_t xdr_SETATTR3resok(XDR *, SETATTR3resok *);
01477 extern bool_t xdr_SETATTR3resfail(XDR *, SETATTR3resfail *);
01478 extern bool_t xdr_SETATTR3res(XDR *, SETATTR3res *);
01479 extern bool_t xdr_LOOKUP3args(XDR *, LOOKUP3args *);
01480 extern bool_t xdr_LOOKUP3resok(XDR *, LOOKUP3resok *);
01481 extern bool_t xdr_LOOKUP3resfail(XDR *, LOOKUP3resfail *);
01482 extern bool_t xdr_LOOKUP3res(XDR *, LOOKUP3res *);
01483 extern bool_t xdr_ACCESS3args(XDR *, ACCESS3args *);
01484 extern bool_t xdr_ACCESS3resok(XDR *, ACCESS3resok *);
01485 extern bool_t xdr_ACCESS3resfail(XDR *, ACCESS3resfail *);
01486 extern bool_t xdr_ACCESS3res(XDR *, ACCESS3res *);
01487 extern bool_t xdr_READLINK3args(XDR *, READLINK3args *);
01488 extern bool_t xdr_READLINK3resok(XDR *, READLINK3resok *);
01489 extern bool_t xdr_READLINK3resfail(XDR *, READLINK3resfail *);
01490 extern bool_t xdr_READLINK3res(XDR *, READLINK3res *);
01491 extern bool_t xdr_READ3args(XDR *, READ3args *);
01492 extern bool_t xdr_READ3resok(XDR *, READ3resok *);
01493 extern bool_t xdr_READ3resfail(XDR *, READ3resfail *);
01494 extern bool_t xdr_READ3res(XDR *, READ3res *);
01495 extern bool_t xdr_stable_how(XDR *, stable_how *);
01496 extern bool_t xdr_WRITE3args(XDR *, WRITE3args *);
01497 extern bool_t xdr_WRITE3resok(XDR *, WRITE3resok *);
01498 extern bool_t xdr_WRITE3resfail(XDR *, WRITE3resfail *);
01499 extern bool_t xdr_WRITE3res(XDR *, WRITE3res *);
01500 extern bool_t xdr_createmode3(XDR *, createmode3 *);
01501 extern bool_t xdr_createhow3(XDR *, createhow3 *);
01502 extern bool_t xdr_CREATE3args(XDR *, CREATE3args *);
01503 extern bool_t xdr_CREATE3resok(XDR *, CREATE3resok *);
01504 extern bool_t xdr_CREATE3resfail(XDR *, CREATE3resfail *);
01505 extern bool_t xdr_CREATE3res(XDR *, CREATE3res *);
01506 extern bool_t xdr_MKDIR3args(XDR *, MKDIR3args *);
01507 extern bool_t xdr_MKDIR3resok(XDR *, MKDIR3resok *);
01508 extern bool_t xdr_MKDIR3resfail(XDR *, MKDIR3resfail *);
01509 extern bool_t xdr_MKDIR3res(XDR *, MKDIR3res *);
01510 extern bool_t xdr_symlinkdata3(XDR *, symlinkdata3 *);
01511 extern bool_t xdr_SYMLINK3args(XDR *, SYMLINK3args *);
01512 extern bool_t xdr_SYMLINK3resok(XDR *, SYMLINK3resok *);
01513 extern bool_t xdr_SYMLINK3resfail(XDR *, SYMLINK3resfail *);
01514 extern bool_t xdr_SYMLINK3res(XDR *, SYMLINK3res *);
01515 extern bool_t xdr_devicedata3(XDR *, devicedata3 *);
01516 extern bool_t xdr_mknoddata3(XDR *, mknoddata3 *);
01517 extern bool_t xdr_MKNOD3args(XDR *, MKNOD3args *);
01518 extern bool_t xdr_MKNOD3resok(XDR *, MKNOD3resok *);
01519 extern bool_t xdr_MKNOD3resfail(XDR *, MKNOD3resfail *);
01520 extern bool_t xdr_MKNOD3res(XDR *, MKNOD3res *);
01521 extern bool_t xdr_REMOVE3args(XDR *, REMOVE3args *);
01522 extern bool_t xdr_REMOVE3resok(XDR *, REMOVE3resok *);
01523 extern bool_t xdr_REMOVE3resfail(XDR *, REMOVE3resfail *);
01524 extern bool_t xdr_REMOVE3res(XDR *, REMOVE3res *);
01525 extern bool_t xdr_RMDIR3args(XDR *, RMDIR3args *);
01526 extern bool_t xdr_RMDIR3resok(XDR *, RMDIR3resok *);
01527 extern bool_t xdr_RMDIR3resfail(XDR *, RMDIR3resfail *);
01528 extern bool_t xdr_RMDIR3res(XDR *, RMDIR3res *);
01529 extern bool_t xdr_RENAME3args(XDR *, RENAME3args *);
01530 extern bool_t xdr_RENAME3resok(XDR *, RENAME3resok *);
01531 extern bool_t xdr_RENAME3resfail(XDR *, RENAME3resfail *);
01532 extern bool_t xdr_RENAME3res(XDR *, RENAME3res *);
01533 extern bool_t xdr_LINK3args(XDR *, LINK3args *);
01534 extern bool_t xdr_LINK3resok(XDR *, LINK3resok *);
01535 extern bool_t xdr_LINK3resfail(XDR *, LINK3resfail *);
01536 extern bool_t xdr_LINK3res(XDR *, LINK3res *);
01537 extern bool_t xdr_READDIR3args(XDR *, READDIR3args *);
01538 extern bool_t xdr_entry3(XDR *, entry3 *);
01539 extern bool_t xdr_dirlist3(XDR *, dirlist3 *);
01540 extern bool_t xdr_READDIR3resok(XDR *, READDIR3resok *);
01541 extern bool_t xdr_READDIR3resfail(XDR *, READDIR3resfail *);
01542 extern bool_t xdr_READDIR3res(XDR *, READDIR3res *);
01543 extern bool_t xdr_READDIRPLUS3args(XDR *, READDIRPLUS3args *);
01544 extern bool_t xdr_entryplus3(XDR *, entryplus3 *);
01545 extern bool_t xdr_dirlistplus3(XDR *, dirlistplus3 *);
01546 extern bool_t xdr_READDIRPLUS3resok(XDR *, READDIRPLUS3resok *);
01547 extern bool_t xdr_READDIRPLUS3resfail(XDR *, READDIRPLUS3resfail *);
01548 extern bool_t xdr_READDIRPLUS3res(XDR *, READDIRPLUS3res *);
01549 extern bool_t xdr_FSSTAT3args(XDR *, FSSTAT3args *);
01550 extern bool_t xdr_FSSTAT3resok(XDR *, FSSTAT3resok *);
01551 extern bool_t xdr_FSSTAT3resfail(XDR *, FSSTAT3resfail *);
01552 extern bool_t xdr_FSSTAT3res(XDR *, FSSTAT3res *);
01553 extern bool_t xdr_FSINFO3args(XDR *, FSINFO3args *);
01554 extern bool_t xdr_FSINFO3resok(XDR *, FSINFO3resok *);
01555 extern bool_t xdr_FSINFO3resfail(XDR *, FSINFO3resfail *);
01556 extern bool_t xdr_FSINFO3res(XDR *, FSINFO3res *);
01557 extern bool_t xdr_PATHCONF3args(XDR *, PATHCONF3args *);
01558 extern bool_t xdr_PATHCONF3resok(XDR *, PATHCONF3resok *);
01559 extern bool_t xdr_PATHCONF3resfail(XDR *, PATHCONF3resfail *);
01560 extern bool_t xdr_PATHCONF3res(XDR *, PATHCONF3res *);
01561 extern bool_t xdr_COMMIT3args(XDR *, COMMIT3args *);
01562 extern bool_t xdr_COMMIT3resok(XDR *, COMMIT3resok *);
01563 extern bool_t xdr_COMMIT3resfail(XDR *, COMMIT3resfail *);
01564 extern bool_t xdr_COMMIT3res(XDR *, COMMIT3res *);
01565 
01566 #endif                          /* ifndef _USE_SWIG */
01567 
01568 #endif                          /* !_NFS23_H_RPCGEN */