5 * Copyright (c) 1992-1997,2001 by Standard Performance Evaluation Corporation
7 * Standard Performance Evaluation Corporation (SPEC)
8 * 6585 Merchant Place, Suite 100
11 * This product contains benchmarks acquired from several sources who
12 * understand and agree with SPEC's goal of creating fair and objective
13 * benchmarks to measure computer performance.
15 * This copyright notice is placed here only to protect SPEC in the
16 * event the source is misused in any manner that is contrary to the
17 * spirit, the goals and the intent of SPEC.
19 * The source code is provided to the user or company under the license
20 * agreement for the SPEC Benchmark Suite for this product.
23 /*****************************************************************
25 * Copyright 1991,1992 Legato Systems, Inc. *
26 * Copyright 1991,1992 Auspex Systems, Inc. *
27 * Copyright 1991,1992 Data General Corporation *
28 * Copyright 1991,1992 Digital Equipment Corporation *
29 * Copyright 1991,1992 Interphase Corporation *
30 * Copyright 1991,1992 Sun Microsystems, Inc. *
32 *****************************************************************/
35 * @(#)sfs_c_nfs.h 2.1 97/10/23
37 * -------------------------- sfs_c_nfs.h -------------------------
39 * Literals and types for the NFS protocol, Version 2.
43 * Richard Bean 17-May-90 Created.
50 /* #define NFS_PORT 2049 */
51 #define NFS_PROGRAM ((uint32_t)100003)
52 #define NFS_VERSION ((uint32_t)2)
53 #define NFS_V3 ((uint32_t)3)
58 #define NFS_MAXDATA 8192
59 //#define NFS_MAXDATA 16384
60 #define NFS_MAXPATHLEN 1024
61 #define NFS_MAXNAMLEN 255
62 #define NFS_COOKIESIZE 4
68 char data[NFS_FHSIZE];
73 * Definition of "standard" mount parameters
75 #define MOUNTPROG 100005
77 #define MOUNTPROC_MNT 1
84 typedef fhandle_t nfs_fh;
90 * The mode mask is used to mask off server vendor specific mode bits
91 * from the mode field. This allows clients from different vendors to
92 * validate servers from different vendors.
94 #define NFSMODE_MASK 0177777
95 #define NFSMODE_FMT 0170000
96 #define NFSMODE_DIR 0040000
97 #define NFSMODE_CHR 0020000
98 #define NFSMODE_BLK 0060000
99 #define NFSMODE_REG 0100000
100 #define NFSMODE_LNK 0120000
101 #define NFSMODE_SOCK 0140000
102 #define NFSMODE_FIFO 0010000
108 #define NFSPROC_NULL 0
109 #define NFSPROC_GETATTR 1
110 #define NFSPROC_SETATTR 2
111 #define NFSPROC_ROOT 3
112 #define NFSPROC_LOOKUP 4
113 #define NFSPROC_READLINK 5
114 #define NFSPROC_READ 6
115 #define NFSPROC_WRITECACHE 7
116 #define NFSPROC_WRITE 8
117 #define NFSPROC_CREATE 9
118 #define NFSPROC_REMOVE 10
119 #define NFSPROC_RENAME 11
120 #define NFSPROC_LINK 12
121 #define NFSPROC_SYMLINK 13
122 #define NFSPROC_MKDIR 14
123 #define NFSPROC_RMDIR 15
124 #define NFSPROC_READDIR 16
125 #define NFSPROC_STATFS 17
126 #define NFS_PROCEDURE_COUNT (NFSPROC_STATFS + 1)
130 * call and return types
148 NFSERR_OPNOTSUPP = 45,
149 NFSERR_NAMETOOLONG = 63,
150 NFSERR_NOTEMPTY = 66,
156 typedef enum nfsstat nfsstat;
170 typedef enum ftype ftype;
175 unsigned int seconds;
176 unsigned int useconds;
178 typedef struct nfstime nfstime;
188 unsigned int blocksize;
197 typedef struct fattr fattr;
208 typedef struct sattr sattr;
211 typedef char *filename;
214 typedef char *nfspath;
223 typedef struct attrstat attrstat;
230 typedef struct sattrargs sattrargs;
237 typedef struct diropargs diropargs;
244 typedef struct diropokres diropokres;
253 typedef struct diropres diropres;
260 int len; /* for convenience only, not in the protocol */
263 typedef struct readlinkres readlinkres;
270 unsigned int totalcount; /* unused field, but in the protocol */
272 typedef struct readargs readargs;
278 unsigned int data_len;
282 typedef struct readokres readokres;
291 typedef struct readres readres;
296 unsigned int beginoffset; /* unused field, but in the protocol */
298 unsigned int totalcount; /* unused field, but in the protocol */
300 unsigned int data_len;
304 typedef struct writeargs writeargs;
311 typedef struct createargs createargs;
318 typedef struct renameargs renameargs;
325 typedef struct linkargs linkargs;
333 typedef struct symlinkargs symlinkargs;
340 typedef struct mkdirargs mkdirargs;
343 typedef char nfscookie[NFS_COOKIESIZE];
351 typedef struct readdirargs readdirargs;
355 bool_t valid; /* bool for entry is present */
361 typedef struct entry entry;
365 int max_entries; /* for convenience only, not in the protocol */
366 entry *entries; /* a stream of consecutive entry's */
369 typedef struct dirlist dirlist;
378 typedef struct readdirres readdirres;
388 typedef struct statfsokres statfsokres;
397 typedef struct statfsres statfsres;
401 * Literals and types for the NFS protocol, Version 3.
412 #define NFS3_FHSIZE 64
413 #define NFS3_COOKIEVERFSIZE 8
414 #define NFS3_CREATEVERFSIZE 8
415 #define NFS3_WRITEVERFSIZE 8
417 #define nfs3nametoolong ((char *)-1)
420 * Not all systems have a built in long long type so we define a
421 * special version for sfs to use.
431 typedef char *filename3;
433 typedef char *nfspath3;
435 typedef char cookieverf3[NFS3_COOKIEVERFSIZE];
437 typedef char createverf3[NFS3_CREATEVERFSIZE];
439 typedef char writeverf3[NFS3_WRITEVERFSIZE];
442 unsigned int fh3_length;
448 char data[NFS3_FHSIZE];
451 #define fh3_fsid fh3_u.nfs_fh3_i.fh3_i.fh_fsid
452 #define fh3_len fh3_u.nfs_fh3_i.fh3_i.fh_len /* fid length */
453 #define fh3_data fh3_u.nfs_fh3_i.fh3_i.fh_data /* fid bytes */
454 #define fh3_xlen fh3_u.nfs_fh3_i.fh3_i.fh_xlen
455 #define fh3_xdata fh3_u.nfs_fh3_i.fh3_i.fh_xdata
456 typedef struct nfs_fh3 nfs_fh3;
462 typedef struct diropargs3 diropargs3;
468 typedef struct nfstime3 nfstime3;
474 typedef struct specdata3 specdata3;
478 * call and return types
497 NFS3ERR_NAMETOOLONG = 63,
498 NFS3ERR_NOTEMPTY = 66,
502 NFS3ERR_BADHANDLE = 10001,
503 NFS3ERR_NOT_SYNC = 10002,
504 NFS3ERR_BAD_COOKIE = 10003,
505 NFS3ERR_NOTSUPP = 10004,
506 NFS3ERR_TOOSMALL = 10005,
507 NFS3ERR_SERVERFAULT = 10006,
508 NFS3ERR_BADTYPE = 10007,
509 NFS3ERR_JUKEBOX = 10008,
510 NFS3ERR_RFS_TIMEOUT = 10009, // RFS
511 NFS3ERR_RFS_MISS = 10010 // RFS reply missed in trace
513 typedef enum nfsstat3 nfsstat3;
525 typedef enum ftype3 ftype3;
544 typedef struct fattr3 fattr3;
546 struct post_op_attr {
550 typedef struct post_op_attr post_op_attr;
557 typedef struct wcc_attr wcc_attr;
563 typedef struct pre_op_attr pre_op_attr;
569 typedef struct wcc_data wcc_data;
572 bool_t handle_follows;
575 typedef struct post_op_fh3 post_op_fh3;
579 SET_TO_SERVER_TIME = 1,
580 SET_TO_CLIENT_TIME = 2
582 typedef enum time_how time_how;
588 typedef struct set_mode3 set_mode3;
594 typedef struct set_uid3 set_uid3;
600 typedef struct set_gid3 set_gid3;
606 typedef struct set_size3 set_size3;
612 typedef struct set_atime set_atime;
618 typedef struct set_mtime set_mtime;
628 typedef struct sattr3 sattr3;
631 #define resok res_u.ok
632 #define resfail res_u.fail
634 struct GETATTR3args {
637 typedef struct GETATTR3args GETATTR3args;
639 struct GETATTR3resok {
640 fattr3 obj_attributes;
642 typedef struct GETATTR3resok GETATTR3resok;
650 typedef struct GETATTR3res GETATTR3res;
656 typedef struct sattrguard3 sattrguard3;
658 struct SETATTR3args {
660 sattr3 new_attributes;
663 typedef struct SETATTR3args SETATTR3args;
665 struct SETATTR3resok {
668 typedef struct SETATTR3resok SETATTR3resok;
670 struct SETATTR3resfail {
673 typedef struct SETATTR3resfail SETATTR3resfail;
679 SETATTR3resfail fail;
682 typedef struct SETATTR3res SETATTR3res;
687 typedef struct LOOKUP3args LOOKUP3args;
689 struct LOOKUP3resok {
691 post_op_attr obj_attributes;
692 post_op_attr dir_attributes;
694 typedef struct LOOKUP3resok LOOKUP3resok;
696 struct LOOKUP3resfail {
697 post_op_attr dir_attributes;
699 typedef struct LOOKUP3resfail LOOKUP3resfail;
708 typedef struct LOOKUP3res LOOKUP3res;
714 typedef struct ACCESS3args ACCESS3args;
715 #define ACCESS3_READ 0x1
716 #define ACCESS3_LOOKUP 0x2
717 #define ACCESS3_MODIFY 0x4
718 #define ACCESS3_EXTEND 0x8
719 #define ACCESS3_DELETE 0x10
720 #define ACCESS3_EXECUTE 0x20
722 struct ACCESS3resok {
723 post_op_attr obj_attributes;
726 typedef struct ACCESS3resok ACCESS3resok;
728 struct ACCESS3resfail {
729 post_op_attr obj_attributes;
731 typedef struct ACCESS3resfail ACCESS3resfail;
740 typedef struct ACCESS3res ACCESS3res;
742 struct READLINK3args {
745 typedef struct READLINK3args READLINK3args;
747 struct READLINK3resok {
748 post_op_attr symlink_attributes;
751 typedef struct READLINK3resok READLINK3resok;
753 struct READLINK3resfail {
754 post_op_attr symlink_attributes;
756 typedef struct READLINK3resfail READLINK3resfail;
758 struct READLINK3res {
762 READLINK3resfail fail;
765 typedef struct READLINK3res READLINK3res;
772 typedef struct READ3args READ3args;
775 post_op_attr file_attributes;
779 unsigned int data_len;
784 typedef struct READ3resok READ3resok;
786 struct READ3resfail {
787 post_op_attr file_attributes;
789 typedef struct READ3resfail READ3resfail;
798 typedef struct READ3res READ3res;
805 typedef enum stable_how stable_how;
813 unsigned int data_len;
817 typedef struct WRITE3args WRITE3args;
822 stable_how committed;
825 typedef struct WRITE3resok WRITE3resok;
827 struct WRITE3resfail {
830 typedef struct WRITE3resfail WRITE3resfail;
839 typedef struct WRITE3res WRITE3res;
846 typedef enum createmode3 createmode3;
851 sattr3 obj_attributes;
855 typedef struct createhow3 createhow3;
861 typedef struct CREATE3args CREATE3args;
863 struct CREATE3resok {
865 post_op_attr obj_attributes;
868 typedef struct CREATE3resok CREATE3resok;
870 struct CREATE3resfail {
873 typedef struct CREATE3resfail CREATE3resfail;
882 typedef struct CREATE3res CREATE3res;
888 typedef struct MKDIR3args MKDIR3args;
892 post_op_attr obj_attributes;
895 typedef struct MKDIR3resok MKDIR3resok;
897 struct MKDIR3resfail {
900 typedef struct MKDIR3resfail MKDIR3resfail;
909 typedef struct MKDIR3res MKDIR3res;
911 struct symlinkdata3 {
912 sattr3 symlink_attributes;
913 nfspath3 symlink_data;
915 typedef struct symlinkdata3 symlinkdata3;
917 struct SYMLINK3args {
919 symlinkdata3 symlink;
921 typedef struct SYMLINK3args SYMLINK3args;
923 struct SYMLINK3resok {
925 post_op_attr obj_attributes;
928 typedef struct SYMLINK3resok SYMLINK3resok;
930 struct SYMLINK3resfail {
933 typedef struct SYMLINK3resfail SYMLINK3resfail;
939 SYMLINK3resfail fail;
942 typedef struct SYMLINK3res SYMLINK3res;
945 sattr3 dev_attributes;
948 typedef struct devicedata3 devicedata3;
954 sattr3 pipe_attributes;
957 typedef struct mknoddata3 mknoddata3;
963 typedef struct MKNOD3args MKNOD3args;
967 post_op_attr obj_attributes;
970 typedef struct MKNOD3resok MKNOD3resok;
972 struct MKNOD3resfail {
975 typedef struct MKNOD3resfail MKNOD3resfail;
984 typedef struct MKNOD3res MKNOD3res;
989 typedef struct REMOVE3args REMOVE3args;
991 struct REMOVE3resok {
994 typedef struct REMOVE3resok REMOVE3resok;
996 struct REMOVE3resfail {
999 typedef struct REMOVE3resfail REMOVE3resfail;
1005 REMOVE3resfail fail;
1008 typedef struct REMOVE3res REMOVE3res;
1013 typedef struct RMDIR3args RMDIR3args;
1015 struct RMDIR3resok {
1018 typedef struct RMDIR3resok RMDIR3resok;
1020 struct RMDIR3resfail {
1023 typedef struct RMDIR3resfail RMDIR3resfail;
1032 typedef struct RMDIR3res RMDIR3res;
1034 struct RENAME3args {
1038 typedef struct RENAME3args RENAME3args;
1040 struct RENAME3resok {
1041 wcc_data fromdir_wcc;
1044 typedef struct RENAME3resok RENAME3resok;
1046 struct RENAME3resfail {
1047 wcc_data fromdir_wcc;
1050 typedef struct RENAME3resfail RENAME3resfail;
1056 RENAME3resfail fail;
1059 typedef struct RENAME3res RENAME3res;
1065 typedef struct LINK3args LINK3args;
1068 post_op_attr file_attributes;
1069 wcc_data linkdir_wcc;
1071 typedef struct LINK3resok LINK3resok;
1073 struct LINK3resfail {
1074 post_op_attr file_attributes;
1075 wcc_data linkdir_wcc;
1077 typedef struct LINK3resfail LINK3resfail;
1086 typedef struct LINK3res LINK3res;
1088 struct READDIR3args {
1090 nfs_uint64_t cookie;
1091 cookieverf3 cookieverf;
1094 typedef struct READDIR3args READDIR3args;
1097 nfs_uint64_t fileid;
1098 char name[SFS_MAXNAMLEN];
1099 nfs_uint64_t cookie;
1101 typedef struct entry3 entry3;
1107 typedef struct dirlist3 dirlist3;
1109 struct READDIR3resok {
1110 post_op_attr dir_attributes;
1111 cookieverf3 cookieverf;
1115 nfs_uint64_t cookie;
1117 typedef struct READDIR3resok READDIR3resok;
1119 struct READDIR3resfail {
1120 post_op_attr dir_attributes;
1122 typedef struct READDIR3resfail READDIR3resfail;
1124 struct READDIR3res {
1128 READDIR3resfail fail;
1131 typedef struct READDIR3res READDIR3res;
1133 struct READDIRPLUS3args {
1135 nfs_uint64_t cookie;
1136 cookieverf3 cookieverf;
1140 typedef struct READDIRPLUS3args READDIRPLUS3args;
1143 nfs_uint64_t fileid;
1144 char name[SFS_MAXNAMLEN];
1145 nfs_uint64_t cookie;
1146 post_op_attr name_attributes;
1147 post_op_fh3 name_handle;
1149 typedef struct entryplus3 entryplus3;
1151 struct dirlistplus3 {
1152 entryplus3 *entries;
1155 typedef struct dirlistplus3 dirlistplus3;
1157 struct READDIRPLUS3resok {
1158 post_op_attr dir_attributes;
1159 cookieverf3 cookieverf;
1163 unsigned int maxcount;
1164 post_op_attr *attributes;
1165 post_op_fh3 *handles;
1167 typedef struct READDIRPLUS3resok READDIRPLUS3resok;
1169 struct READDIRPLUS3resfail {
1170 post_op_attr dir_attributes;
1172 typedef struct READDIRPLUS3resfail READDIRPLUS3resfail;
1174 struct READDIRPLUS3res {
1177 READDIRPLUS3resok ok;
1178 READDIRPLUS3resfail fail;
1181 typedef struct READDIRPLUS3res READDIRPLUS3res;
1183 struct FSSTAT3args {
1186 typedef struct FSSTAT3args FSSTAT3args;
1188 struct FSSTAT3resok {
1189 post_op_attr obj_attributes;
1190 nfs_uint64_t tbytes;
1191 nfs_uint64_t fbytes;
1192 nfs_uint64_t abytes;
1193 nfs_uint64_t tfiles;
1194 nfs_uint64_t ffiles;
1195 nfs_uint64_t afiles;
1198 typedef struct FSSTAT3resok FSSTAT3resok;
1200 struct FSSTAT3resfail {
1201 post_op_attr obj_attributes;
1203 typedef struct FSSTAT3resfail FSSTAT3resfail;
1209 FSSTAT3resfail fail;
1212 typedef struct FSSTAT3res FSSTAT3res;
1214 struct FSINFO3args {
1217 typedef struct FSINFO3args FSINFO3args;
1219 struct FSINFO3resok {
1220 post_op_attr obj_attributes;
1228 nfs_uint64_t maxfilesize;
1229 nfstime3 time_delta;
1230 uint32_t properties;
1232 typedef struct FSINFO3resok FSINFO3resok;
1234 struct FSINFO3resfail {
1235 post_op_attr obj_attributes;
1237 typedef struct FSINFO3resfail FSINFO3resfail;
1238 #define FSF3_LINK 0x1
1239 #define FSF3_SYMLINK 0x2
1240 #define FSF3_HOMOGENEOUS 0x8
1241 #define FSF3_CANSETTIME 0x10
1247 FSINFO3resfail fail;
1250 typedef struct FSINFO3res FSINFO3res;
1252 struct PATHCONF3args {
1255 typedef struct PATHCONF3args PATHCONF3args;
1257 struct PATHCONF3resok {
1258 post_op_attr obj_attributes;
1262 bool_t chown_restricted;
1263 bool_t case_insensitive;
1264 bool_t case_preserving;
1266 typedef struct PATHCONF3resok PATHCONF3resok;
1268 struct PATHCONF3resfail {
1269 post_op_attr obj_attributes;
1271 typedef struct PATHCONF3resfail PATHCONF3resfail;
1273 struct PATHCONF3res {
1277 PATHCONF3resfail fail;
1280 typedef struct PATHCONF3res PATHCONF3res;
1282 struct COMMIT3args {
1284 nfs_uint64_t offset;
1287 typedef struct COMMIT3args COMMIT3args;
1289 struct COMMIT3resok {
1293 typedef struct COMMIT3resok COMMIT3resok;
1295 struct COMMIT3resfail {
1298 typedef struct COMMIT3resfail COMMIT3resfail;
1304 COMMIT3resfail fail;
1307 typedef struct COMMIT3res COMMIT3res;
1312 #define NFSPROC3_NULL 0
1313 #define NFSPROC3_GETATTR 1
1314 #define NFSPROC3_SETATTR 2
1315 #define NFSPROC3_LOOKUP 3
1316 #define NFSPROC3_ACCESS 4
1317 #define NFSPROC3_READLINK 5
1318 #define NFSPROC3_READ 6
1319 #define NFSPROC3_WRITE 7
1320 #define NFSPROC3_CREATE 8
1321 #define NFSPROC3_MKDIR 9
1322 #define NFSPROC3_SYMLINK 10
1323 #define NFSPROC3_MKNOD 11
1324 #define NFSPROC3_REMOVE 12
1325 #define NFSPROC3_RMDIR 13
1326 #define NFSPROC3_RENAME 14
1327 #define NFSPROC3_LINK 15
1328 #define NFSPROC3_READDIR 16
1329 #define NFSPROC3_READDIRPLUS 17
1330 #define NFSPROC3_FSSTAT 18
1331 #define NFSPROC3_FSINFO 19
1332 #define NFSPROC3_PATHCONF 20
1333 #define NFSPROC3_COMMIT 21
1334 #define NFS3_PROCEDURE_COUNT (NFSPROC3_COMMIT + 1)
1338 * mount.h definitions
1340 #define MOUNTVER3 ((uint32_t)3)
1341 #define MNTPATHLEN 1024
1342 #define MNTNAMLEN 255
1344 #define MOUNTPROC_NULL ((uint32_t)(0))
1345 #define MOUNTPROC_DUMP ((uint32_t)(2))
1346 #define MOUNTPROC_UMNT ((uint32_t)(3))
1347 #define MOUNTPROC_UMNTALL ((uint32_t)(4))
1348 #define MOUNTPROC_EXPORT ((uint32_t)(5))
1349 #define MOUNTPROC_EXPORTALL ((uint32_t)(6))
1350 #define MOUNTPROC_PATHCONF ((uint32_t)(7))
1353 unsigned int fhandle3_len;
1356 typedef struct fhandle3 fhandle3;
1364 MNT3ERR_NOTDIR = 20,
1366 MNT3ERR_NAMETOOLONG = 63,
1367 MNT3ERR_NOTSUPP = 10004,
1368 MNT3ERR_SERVERFAULT = 10006
1370 typedef enum mntstat3 mntstat3;
1375 unsigned int auth_flavors_len;
1376 int *auth_flavors_val;
1379 typedef struct mntres3_ok mntres3_ok;
1382 mntstat3 fhs_status;
1387 typedef struct mountres3 mountres3;
1389 typedef char *dirpath;
1393 * External XDR functions
1399 extern bool_t xdr_path(XDR *, char **);
1400 extern bool_t xdr_fhstatus(XDR *, struct fhstatus *);
1401 extern bool_t xdr_dirpath(XDR *, dirpath *);
1402 extern bool_t xdr_mntres3(XDR *, mountres3 *);
1407 extern bool_t xdr_create(XDR *, char *);
1408 extern bool_t xdr_getattr(XDR *xdrs, char *);
1409 extern bool_t xdr_link(XDR *xdrs, char *);
1410 extern bool_t xdr_lookup(XDR *xdrs, char *);
1411 extern bool_t xdr_mkdir(XDR *xdrs, char *);
1412 extern bool_t xdr_read(XDR *xdrs, char *);
1413 extern bool_t xdr_readdir(XDR *xdrs, char *);
1414 extern bool_t xdr_readlink(XDR *xdrs, char *);
1415 extern bool_t xdr_remove(XDR *xdrs, char *);
1416 extern bool_t xdr_rename(XDR *xdrs, char *);
1417 extern bool_t xdr_rmdir(XDR *xdrs, char *);
1418 extern bool_t xdr_setattr(XDR *xdrs, char *);
1419 extern bool_t xdr_statfs(XDR *xdrs, char *);
1420 extern bool_t xdr_symlink(XDR *xdrs, char *);
1421 extern bool_t xdr_write(XDR *xdrs, char *);
1426 extern bool_t xdr_GETATTR3args(XDR *, GETATTR3args *);
1427 extern bool_t xdr_GETATTR3res(XDR *, GETATTR3res *);
1428 extern bool_t xdr_SETATTR3args(XDR *, SETATTR3args *);
1429 extern bool_t xdr_SETATTR3res(XDR *, SETATTR3res *);
1430 extern bool_t xdr_LOOKUP3args(XDR *, LOOKUP3args *);
1431 extern bool_t xdr_LOOKUP3res(XDR *, LOOKUP3res *);
1432 extern bool_t xdr_ACCESS3args(XDR *, ACCESS3args *);
1433 extern bool_t xdr_ACCESS3res(XDR *, ACCESS3res *);
1434 extern bool_t xdr_READLINK3args(XDR *, READLINK3args *);
1435 extern bool_t xdr_READLINK3res(XDR *, READLINK3res *);
1436 extern bool_t xdr_READ3args(XDR *, READ3args *);
1437 extern bool_t xdr_READ3res(XDR *, READ3res *);
1438 extern bool_t xdr_WRITE3args(XDR *, WRITE3args *);
1439 extern bool_t xdr_WRITE3res(XDR *, WRITE3res *);
1440 extern bool_t xdr_CREATE3args(XDR *, CREATE3args *);
1441 extern bool_t xdr_CREATE3res(XDR *, CREATE3res *);
1442 extern bool_t xdr_MKDIR3args(XDR *, MKDIR3args *);
1443 extern bool_t xdr_MKDIR3res(XDR *, MKDIR3res *);
1444 extern bool_t xdr_SYMLINK3args(XDR *, SYMLINK3args *);
1445 extern bool_t xdr_SYMLINK3res(XDR *, SYMLINK3res *);
1446 extern bool_t xdr_MKNOD3args(XDR *, MKNOD3args *);
1447 extern bool_t xdr_MKNOD3res(XDR *, MKNOD3res *);
1448 extern bool_t xdr_REMOVE3args(XDR *, REMOVE3args *);
1449 extern bool_t xdr_REMOVE3res(XDR *, REMOVE3res *);
1450 extern bool_t xdr_RMDIR3args(XDR *, RMDIR3args *);
1451 extern bool_t xdr_RMDIR3res(XDR *, RMDIR3res *);
1452 extern bool_t xdr_RENAME3args(XDR *, RENAME3args *);
1453 extern bool_t xdr_RENAME3res(XDR *, RENAME3res *);
1454 extern bool_t xdr_LINK3args(XDR *, LINK3args *);
1455 extern bool_t xdr_LINK3res(XDR *, LINK3res *);
1456 extern bool_t xdr_READDIR3args(XDR *, READDIR3args *);
1457 extern bool_t xdr_READDIR3res(XDR *, READDIR3res *);
1458 extern bool_t xdr_READDIRPLUS3args(XDR *, READDIRPLUS3args *);
1459 extern bool_t xdr_READDIRPLUS3res(XDR *, READDIRPLUS3res *);
1460 extern bool_t xdr_FSSTAT3args(XDR *, FSSTAT3args *);
1461 extern bool_t xdr_FSSTAT3res(XDR *, FSSTAT3res *);
1462 extern bool_t xdr_FSINFO3args(XDR *, FSINFO3args *);
1463 extern bool_t xdr_FSINFO3res(XDR *, FSINFO3res *);
1464 extern bool_t xdr_PATHCONF3args(XDR *, PATHCONF3args *);
1465 extern bool_t xdr_PATHCONF3res(XDR *, PATHCONF3res *);
1466 extern bool_t xdr_COMMIT3args(XDR *, COMMIT3args *);
1467 extern bool_t xdr_COMMIT3res(XDR *, COMMIT3res *);
1470 #endif /* __sfs_c_nfs_h */