This file is indexed.

/usr/include/nfsc/libnfs-raw-nfs.h is in libnfs-dev 2.0.0-1~exp1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
/*
Copyright (c) 2014, Ronnie Sahlberg
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
   list of conditions and the following disclaimer. 
2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The views and conclusions contained in the software and documentation are those
of the authors and should not be interpreted as representing official policies, 
either expressed or implied, of the FreeBSD Project.
*/

/*
 * Please do not edit this file.
 * It was generated using rpcgen.
 */

#ifndef _NFS_H_RPCGEN
#define _NFS_H_RPCGEN
#include <nfsc/libnfs-zdr.h>

#include <nfsc/libnfs-zdr.h>


#ifdef __cplusplus
extern "C" {
#endif

#define NFS3_FHSIZE 64
#define NFS3_WRITEVERFSIZE 8
#define NFS3_CREATEVERFSIZE 8
#define NFS3_COOKIEVERFSIZE 8



typedef char cookieverf3[NFS3_COOKIEVERFSIZE];

typedef uint64_t cookie3;

struct nfs_fh3 {
	struct {
		u_int data_len;
		char *data_val;
	} data;
};
typedef struct nfs_fh3 nfs_fh3;

typedef char *filename3;

struct diropargs3 {
	nfs_fh3 dir;
	filename3 name;
};
typedef struct diropargs3 diropargs3;

enum ftype3 {
	NF3REG = 1,
	NF3DIR = 2,
	NF3BLK = 3,
	NF3CHR = 4,
	NF3LNK = 5,
	NF3SOCK = 6,
	NF3FIFO = 7,
};
typedef enum ftype3 ftype3;

typedef u_int mode3;

typedef u_int uid3;

typedef u_int gid3;

typedef uint64_t size3;

typedef uint64_t fileid3;

struct specdata3 {
	u_int specdata1;
	u_int specdata2;
};
typedef struct specdata3 specdata3;

struct nfstime3 {
	u_int seconds;
	u_int nseconds;
};
typedef struct nfstime3 nfstime3;

struct fattr3 {
	ftype3 type;
	mode3 mode;
	u_int nlink;
	uid3 uid;
	gid3 gid;
	size3 size;
	size3 used;
	specdata3 rdev;
	uint64_t fsid;
	fileid3 fileid;
	nfstime3 atime;
	nfstime3 mtime;
	nfstime3 ctime;
};
typedef struct fattr3 fattr3;

struct post_op_attr {
	uint32_t attributes_follow;
	union {
		fattr3 attributes;
	} post_op_attr_u;
};
typedef struct post_op_attr post_op_attr;

enum nfsstat3 {
	NFS3_OK = 0,
	NFS3ERR_PERM = 1,
	NFS3ERR_NOENT = 2,
	NFS3ERR_IO = 5,
	NFS3ERR_NXIO = 6,
	NFS3ERR_ACCES = 13,
	NFS3ERR_EXIST = 17,
	NFS3ERR_XDEV = 18,
	NFS3ERR_NODEV = 19,
	NFS3ERR_NOTDIR = 20,
	NFS3ERR_ISDIR = 21,
	NFS3ERR_INVAL = 22,
	NFS3ERR_FBIG = 27,
	NFS3ERR_NOSPC = 28,
	NFS3ERR_ROFS = 30,
	NFS3ERR_MLINK = 31,
	NFS3ERR_NAMETOOLONG = 63,
	NFS3ERR_NOTEMPTY = 66,
	NFS3ERR_DQUOT = 69,
	NFS3ERR_STALE = 70,
	NFS3ERR_REMOTE = 71,
	NFS3ERR_BADHANDLE = 10001,
	NFS3ERR_NOT_SYNC = 10002,
	NFS3ERR_BAD_COOKIE = 10003,
	NFS3ERR_NOTSUPP = 10004,
	NFS3ERR_TOOSMALL = 10005,
	NFS3ERR_SERVERFAULT = 10006,
	NFS3ERR_BADTYPE = 10007,
	NFS3ERR_JUKEBOX = 10008,
};
typedef enum nfsstat3 nfsstat3;

enum stable_how {
	UNSTABLE = 0,
	DATA_SYNC = 1,
	FILE_SYNC = 2,
};
typedef enum stable_how stable_how;

typedef uint64_t offset3;

typedef u_int count3;

struct wcc_attr {
	size3 size;
	nfstime3 mtime;
	nfstime3 ctime;
};
typedef struct wcc_attr wcc_attr;

struct pre_op_attr {
	uint32_t attributes_follow;
	union {
		wcc_attr attributes;
	} pre_op_attr_u;
};
typedef struct pre_op_attr pre_op_attr;

struct wcc_data {
	pre_op_attr before;
	post_op_attr after;
};
typedef struct wcc_data wcc_data;

struct WRITE3args {
	nfs_fh3 file;
	offset3 offset;
	count3 count;
	stable_how stable;
	struct {
		u_int data_len;
		char *data_val;
	} data;
};
typedef struct WRITE3args WRITE3args;

typedef char writeverf3[NFS3_WRITEVERFSIZE];

struct WRITE3resok {
	wcc_data file_wcc;
	count3 count;
	stable_how committed;
	writeverf3 verf;
};
typedef struct WRITE3resok WRITE3resok;

struct WRITE3resfail {
	wcc_data file_wcc;
};
typedef struct WRITE3resfail WRITE3resfail;

struct WRITE3res {
	nfsstat3 status;
	union {
		WRITE3resok resok;
		WRITE3resfail resfail;
	} WRITE3res_u;
};
typedef struct WRITE3res WRITE3res;

struct LOOKUP3args {
	diropargs3 what;
};
typedef struct LOOKUP3args LOOKUP3args;

struct LOOKUP3resok {
	nfs_fh3 object;
	post_op_attr obj_attributes;
	post_op_attr dir_attributes;
};
typedef struct LOOKUP3resok LOOKUP3resok;

struct LOOKUP3resfail {
	post_op_attr dir_attributes;
};
typedef struct LOOKUP3resfail LOOKUP3resfail;

struct LOOKUP3res {
	nfsstat3 status;
	union {
		LOOKUP3resok resok;
		LOOKUP3resfail resfail;
	} LOOKUP3res_u;
};
typedef struct LOOKUP3res LOOKUP3res;

struct COMMIT3args {
	nfs_fh3 file;
	offset3 offset;
	count3 count;
};
typedef struct COMMIT3args COMMIT3args;

struct COMMIT3resok {
	wcc_data file_wcc;
	writeverf3 verf;
};
typedef struct COMMIT3resok COMMIT3resok;

struct COMMIT3resfail {
	wcc_data file_wcc;
};
typedef struct COMMIT3resfail COMMIT3resfail;

struct COMMIT3res {
	nfsstat3 status;
	union {
		COMMIT3resok resok;
		COMMIT3resfail resfail;
	} COMMIT3res_u;
};
typedef struct COMMIT3res COMMIT3res;
#define ACCESS3_READ 0x0001
#define ACCESS3_LOOKUP 0x0002
#define ACCESS3_MODIFY 0x0004
#define ACCESS3_EXTEND 0x0008
#define ACCESS3_DELETE 0x0010
#define ACCESS3_EXECUTE 0x0020

struct ACCESS3args {
	nfs_fh3 object;
	u_int access;
};
typedef struct ACCESS3args ACCESS3args;

struct ACCESS3resok {
	post_op_attr obj_attributes;
	u_int access;
};
typedef struct ACCESS3resok ACCESS3resok;

struct ACCESS3resfail {
	post_op_attr obj_attributes;
};
typedef struct ACCESS3resfail ACCESS3resfail;

struct ACCESS3res {
	nfsstat3 status;
	union {
		ACCESS3resok resok;
		ACCESS3resfail resfail;
	} ACCESS3res_u;
};
typedef struct ACCESS3res ACCESS3res;

struct GETATTR3args {
	nfs_fh3 object;
};
typedef struct GETATTR3args GETATTR3args;

struct GETATTR3resok {
	fattr3 obj_attributes;
};
typedef struct GETATTR3resok GETATTR3resok;

struct GETATTR3res {
	nfsstat3 status;
	union {
		GETATTR3resok resok;
	} GETATTR3res_u;
};
typedef struct GETATTR3res GETATTR3res;

enum time_how {
	DONT_CHANGE = 0,
	SET_TO_SERVER_TIME = 1,
	SET_TO_CLIENT_TIME = 2,
};
typedef enum time_how time_how;

struct set_mode3 {
	uint32_t set_it;
	union {
		mode3 mode;
	} set_mode3_u;
};
typedef struct set_mode3 set_mode3;

struct set_uid3 {
	uint32_t set_it;
	union {
		uid3 uid;
	} set_uid3_u;
};
typedef struct set_uid3 set_uid3;

struct set_gid3 {
	uint32_t set_it;
	union {
		gid3 gid;
	} set_gid3_u;
};
typedef struct set_gid3 set_gid3;

struct set_size3 {
	uint32_t set_it;
	union {
		size3 size;
	} set_size3_u;
};
typedef struct set_size3 set_size3;

struct set_atime {
	time_how set_it;
	union {
		nfstime3 atime;
	} set_atime_u;
};
typedef struct set_atime set_atime;

struct set_mtime {
	time_how set_it;
	union {
		nfstime3 mtime;
	} set_mtime_u;
};
typedef struct set_mtime set_mtime;

struct sattr3 {
	set_mode3 mode;
	set_uid3 uid;
	set_gid3 gid;
	set_size3 size;
	set_atime atime;
	set_mtime mtime;
};
typedef struct sattr3 sattr3;

enum createmode3 {
	UNCHECKED = 0,
	GUARDED = 1,
	EXCLUSIVE = 2,
};
typedef enum createmode3 createmode3;

typedef char createverf3[NFS3_CREATEVERFSIZE];

struct createhow3 {
	createmode3 mode;
	union {
		sattr3 obj_attributes;
		sattr3 g_obj_attributes;
		createverf3 verf;
	} createhow3_u;
};
typedef struct createhow3 createhow3;

struct CREATE3args {
	diropargs3 where;
	createhow3 how;
};
typedef struct CREATE3args CREATE3args;

struct post_op_fh3 {
	uint32_t handle_follows;
	union {
		nfs_fh3 handle;
	} post_op_fh3_u;
};
typedef struct post_op_fh3 post_op_fh3;

struct CREATE3resok {
	post_op_fh3 obj;
	post_op_attr obj_attributes;
	wcc_data dir_wcc;
};
typedef struct CREATE3resok CREATE3resok;

struct CREATE3resfail {
	wcc_data dir_wcc;
};
typedef struct CREATE3resfail CREATE3resfail;

struct CREATE3res {
	nfsstat3 status;
	union {
		CREATE3resok resok;
		CREATE3resfail resfail;
	} CREATE3res_u;
};
typedef struct CREATE3res CREATE3res;

struct REMOVE3args {
	diropargs3 object;
};
typedef struct REMOVE3args REMOVE3args;

struct REMOVE3resok {
	wcc_data dir_wcc;
};
typedef struct REMOVE3resok REMOVE3resok;

struct REMOVE3resfail {
	wcc_data dir_wcc;
};
typedef struct REMOVE3resfail REMOVE3resfail;

struct REMOVE3res {
	nfsstat3 status;
	union {
		REMOVE3resok resok;
		REMOVE3resfail resfail;
	} REMOVE3res_u;
};
typedef struct REMOVE3res REMOVE3res;

struct READ3args {
	nfs_fh3 file;
	offset3 offset;
	count3 count;
};
typedef struct READ3args READ3args;

struct READ3resok {
	post_op_attr file_attributes;
	count3 count;
	uint32_t eof;
	struct {
		u_int data_len;
		char *data_val;
	} data;
};
typedef struct READ3resok READ3resok;

struct READ3resfail {
	post_op_attr file_attributes;
};
typedef struct READ3resfail READ3resfail;

struct READ3res {
	nfsstat3 status;
	union {
		READ3resok resok;
		READ3resfail resfail;
	} READ3res_u;
};
typedef struct READ3res READ3res;
#define FSF3_LINK 0x0001
#define FSF3_SYMLINK 0x0002
#define FSF3_HOMOGENEOUS 0x0008
#define FSF3_CANSETTIME 0x0010

struct FSINFO3args {
	nfs_fh3 fsroot;
};
typedef struct FSINFO3args FSINFO3args;

struct FSINFO3resok {
	post_op_attr obj_attributes;
	u_int rtmax;
	u_int rtpref;
	u_int rtmult;
	u_int wtmax;
	u_int wtpref;
	u_int wtmult;
	u_int dtpref;
	size3 maxfilesize;
	nfstime3 time_delta;
	u_int properties;
};
typedef struct FSINFO3resok FSINFO3resok;

struct FSINFO3resfail {
	post_op_attr obj_attributes;
};
typedef struct FSINFO3resfail FSINFO3resfail;

struct FSINFO3res {
	nfsstat3 status;
	union {
		FSINFO3resok resok;
		FSINFO3resfail resfail;
	} FSINFO3res_u;
};
typedef struct FSINFO3res FSINFO3res;

struct FSSTAT3args {
	nfs_fh3 fsroot;
};
typedef struct FSSTAT3args FSSTAT3args;

struct FSSTAT3resok {
	post_op_attr obj_attributes;
	size3 tbytes;
	size3 fbytes;
	size3 abytes;
	size3 tfiles;
	size3 ffiles;
	size3 afiles;
	u_int invarsec;
};
typedef struct FSSTAT3resok FSSTAT3resok;

struct FSSTAT3resfail {
	post_op_attr obj_attributes;
};
typedef struct FSSTAT3resfail FSSTAT3resfail;

struct FSSTAT3res {
	nfsstat3 status;
	union {
		FSSTAT3resok resok;
		FSSTAT3resfail resfail;
	} FSSTAT3res_u;
};
typedef struct FSSTAT3res FSSTAT3res;

struct PATHCONF3args {
	nfs_fh3 object;
};
typedef struct PATHCONF3args PATHCONF3args;

struct PATHCONF3resok {
	post_op_attr obj_attributes;
	u_int linkmax;
	u_int name_max;
	uint32_t no_trunc;
	uint32_t chown_restricted;
	uint32_t case_insensitive;
	uint32_t case_preserving;
};
typedef struct PATHCONF3resok PATHCONF3resok;

struct PATHCONF3resfail {
	post_op_attr obj_attributes;
};
typedef struct PATHCONF3resfail PATHCONF3resfail;

struct PATHCONF3res {
	nfsstat3 status;
	union {
		PATHCONF3resok resok;
		PATHCONF3resfail resfail;
	} PATHCONF3res_u;
};
typedef struct PATHCONF3res PATHCONF3res;

typedef char *nfspath3;

struct symlinkdata3 {
	sattr3 symlink_attributes;
	nfspath3 symlink_data;
};
typedef struct symlinkdata3 symlinkdata3;

struct SYMLINK3args {
	diropargs3 where;
	symlinkdata3 symlink;
};
typedef struct SYMLINK3args SYMLINK3args;

struct SYMLINK3resok {
	post_op_fh3 obj;
	post_op_attr obj_attributes;
	wcc_data dir_wcc;
};
typedef struct SYMLINK3resok SYMLINK3resok;

struct SYMLINK3resfail {
	wcc_data dir_wcc;
};
typedef struct SYMLINK3resfail SYMLINK3resfail;

struct SYMLINK3res {
	nfsstat3 status;
	union {
		SYMLINK3resok resok;
		SYMLINK3resfail resfail;
	} SYMLINK3res_u;
};
typedef struct SYMLINK3res SYMLINK3res;

struct READLINK3args {
	nfs_fh3 symlink;
};
typedef struct READLINK3args READLINK3args;

struct READLINK3resok {
	post_op_attr symlink_attributes;
	nfspath3 data;
};
typedef struct READLINK3resok READLINK3resok;

struct READLINK3resfail {
	post_op_attr symlink_attributes;
};
typedef struct READLINK3resfail READLINK3resfail;

struct READLINK3res {
	nfsstat3 status;
	union {
		READLINK3resok resok;
		READLINK3resfail resfail;
	} READLINK3res_u;
};
typedef struct READLINK3res READLINK3res;

struct devicedata3 {
	sattr3 dev_attributes;
	specdata3 spec;
};
typedef struct devicedata3 devicedata3;

struct mknoddata3 {
	ftype3 type;
	union {
		devicedata3 chr_device;
		devicedata3 blk_device;
		sattr3 sock_attributes;
		sattr3 pipe_attributes;
	} mknoddata3_u;
};
typedef struct mknoddata3 mknoddata3;

struct MKNOD3args {
	diropargs3 where;
	mknoddata3 what;
};
typedef struct MKNOD3args MKNOD3args;

struct MKNOD3resok {
	post_op_fh3 obj;
	post_op_attr obj_attributes;
	wcc_data dir_wcc;
};
typedef struct MKNOD3resok MKNOD3resok;

struct MKNOD3resfail {
	wcc_data dir_wcc;
};
typedef struct MKNOD3resfail MKNOD3resfail;

struct MKNOD3res {
	nfsstat3 status;
	union {
		MKNOD3resok resok;
		MKNOD3resfail resfail;
	} MKNOD3res_u;
};
typedef struct MKNOD3res MKNOD3res;

struct MKDIR3args {
	diropargs3 where;
	sattr3 attributes;
};
typedef struct MKDIR3args MKDIR3args;

struct MKDIR3resok {
	post_op_fh3 obj;
	post_op_attr obj_attributes;
	wcc_data dir_wcc;
};
typedef struct MKDIR3resok MKDIR3resok;

struct MKDIR3resfail {
	wcc_data dir_wcc;
};
typedef struct MKDIR3resfail MKDIR3resfail;

struct MKDIR3res {
	nfsstat3 status;
	union {
		MKDIR3resok resok;
		MKDIR3resfail resfail;
	} MKDIR3res_u;
};
typedef struct MKDIR3res MKDIR3res;

struct RMDIR3args {
	diropargs3 object;
};
typedef struct RMDIR3args RMDIR3args;

struct RMDIR3resok {
	wcc_data dir_wcc;
};
typedef struct RMDIR3resok RMDIR3resok;

struct RMDIR3resfail {
	wcc_data dir_wcc;
};
typedef struct RMDIR3resfail RMDIR3resfail;

struct RMDIR3res {
	nfsstat3 status;
	union {
		RMDIR3resok resok;
		RMDIR3resfail resfail;
	} RMDIR3res_u;
};
typedef struct RMDIR3res RMDIR3res;

struct RENAME3args {
	diropargs3 from;
	diropargs3 to;
};
typedef struct RENAME3args RENAME3args;

struct RENAME3resok {
	wcc_data fromdir_wcc;
	wcc_data todir_wcc;
};
typedef struct RENAME3resok RENAME3resok;

struct RENAME3resfail {
	wcc_data fromdir_wcc;
	wcc_data todir_wcc;
};
typedef struct RENAME3resfail RENAME3resfail;

struct RENAME3res {
	nfsstat3 status;
	union {
		RENAME3resok resok;
		RENAME3resfail resfail;
	} RENAME3res_u;
};
typedef struct RENAME3res RENAME3res;

struct READDIRPLUS3args {
	nfs_fh3 dir;
	cookie3 cookie;
	cookieverf3 cookieverf;
	count3 dircount;
	count3 maxcount;
};
typedef struct READDIRPLUS3args READDIRPLUS3args;

struct entryplus3 {
	fileid3 fileid;
	filename3 name;
	cookie3 cookie;
	post_op_attr name_attributes;
	post_op_fh3 name_handle;
	struct entryplus3 *nextentry;
};
typedef struct entryplus3 entryplus3;

struct dirlistplus3 {
	entryplus3 *entries;
	uint32_t eof;
};
typedef struct dirlistplus3 dirlistplus3;

struct READDIRPLUS3resok {
	post_op_attr dir_attributes;
	cookieverf3 cookieverf;
	dirlistplus3 reply;
};
typedef struct READDIRPLUS3resok READDIRPLUS3resok;

struct READDIRPLUS3resfail {
	post_op_attr dir_attributes;
};
typedef struct READDIRPLUS3resfail READDIRPLUS3resfail;

struct READDIRPLUS3res {
	nfsstat3 status;
	union {
		READDIRPLUS3resok resok;
		READDIRPLUS3resfail resfail;
	} READDIRPLUS3res_u;
};
typedef struct READDIRPLUS3res READDIRPLUS3res;

struct READDIR3args {
	nfs_fh3 dir;
	cookie3 cookie;
	cookieverf3 cookieverf;
	count3 count;
};
typedef struct READDIR3args READDIR3args;

struct entry3 {
	fileid3 fileid;
	filename3 name;
	cookie3 cookie;
	struct entry3 *nextentry;
};
typedef struct entry3 entry3;

struct dirlist3 {
	entry3 *entries;
	uint32_t eof;
};
typedef struct dirlist3 dirlist3;

struct READDIR3resok {
	post_op_attr dir_attributes;
	cookieverf3 cookieverf;
	dirlist3 reply;
};
typedef struct READDIR3resok READDIR3resok;

struct READDIR3resfail {
	post_op_attr dir_attributes;
};
typedef struct READDIR3resfail READDIR3resfail;

struct READDIR3res {
	nfsstat3 status;
	union {
		READDIR3resok resok;
		READDIR3resfail resfail;
	} READDIR3res_u;
};
typedef struct READDIR3res READDIR3res;

struct LINK3args {
	nfs_fh3 file;
	diropargs3 link;
};
typedef struct LINK3args LINK3args;

struct LINK3resok {
	post_op_attr file_attributes;
	wcc_data linkdir_wcc;
};
typedef struct LINK3resok LINK3resok;

struct LINK3resfail {
	post_op_attr file_attributes;
	wcc_data linkdir_wcc;
};
typedef struct LINK3resfail LINK3resfail;

struct LINK3res {
	nfsstat3 status;
	union {
		LINK3resok resok;
		LINK3resfail resfail;
	} LINK3res_u;
};
typedef struct LINK3res LINK3res;

struct sattrguard3 {
	uint32_t check;
	union {
		nfstime3 obj_ctime;
	} sattrguard3_u;
};
typedef struct sattrguard3 sattrguard3;

struct SETATTR3args {
	nfs_fh3 object;
	sattr3 new_attributes;
	sattrguard3 guard;
};
typedef struct SETATTR3args SETATTR3args;

struct SETATTR3resok {
	wcc_data obj_wcc;
};
typedef struct SETATTR3resok SETATTR3resok;

struct SETATTR3resfail {
	wcc_data obj_wcc;
};
typedef struct SETATTR3resfail SETATTR3resfail;

struct SETATTR3res {
	nfsstat3 status;
	union {
		SETATTR3resok resok;
		SETATTR3resfail resfail;
	} SETATTR3res_u;
};
typedef struct SETATTR3res SETATTR3res;
#define FHSIZE2 32

typedef char fhandle2[FHSIZE2];

enum ftype2 {
	NF2NON = 0,
	NF2REG = 1,
	NF2DIR = 2,
	NF2BLK = 3,
	NF2CHR = 4,
	NF2LNK = 5,
};
typedef enum ftype2 ftype2;

struct fattr2 {
	ftype2 type;
	u_int mode;
	u_int nlink;
	u_int uid;
	u_int gid;
	u_int size;
	u_int blocksize;
	u_int rdev;
	u_int blocks;
	u_int fsid;
	u_int fileid;
	nfstime3 atime;
	nfstime3 mtime;
	nfstime3 ctime;
};
typedef struct fattr2 fattr2;

struct sattr2 {
	u_int mode;
	u_int uid;
	u_int gid;
	u_int size;
	nfstime3 atime;
	nfstime3 mtime;
};
typedef struct sattr2 sattr2;
#define MAXNAMLEN2 255

typedef char *filename2;
#define MAXPATHLEN2 1024

typedef char *path2;
#define NFSMAXDATA2 8192

typedef struct {
	u_int nfsdata2_len;
	char *nfsdata2_val;
} nfsdata2;
#define NFSCOOKIESIZE2 4

typedef char nfscookie2[NFSCOOKIESIZE2];

struct entry2 {
	u_int fileid;
	filename2 name;
	nfscookie2 cookie;
	struct entry2 *nextentry;
};
typedef struct entry2 entry2;

struct diropargs2 {
	fhandle2 dir;
	filename2 name;
};
typedef struct diropargs2 diropargs2;

struct GETATTR2args {
	fhandle2 fhandle;
};
typedef struct GETATTR2args GETATTR2args;

struct GETATTR2resok {
	fattr2 attributes;
};
typedef struct GETATTR2resok GETATTR2resok;

struct GETATTR2res {
	nfsstat3 status;
	union {
		GETATTR2resok resok;
	} GETATTR2res_u;
};
typedef struct GETATTR2res GETATTR2res;

struct SETATTR2args {
	fhandle2 fhandle;
	sattr2 attributes;
};
typedef struct SETATTR2args SETATTR2args;

struct SETATTR2resok {
	fattr2 attributes;
};
typedef struct SETATTR2resok SETATTR2resok;

struct SETATTR2res {
	nfsstat3 status;
	union {
		SETATTR2resok resok;
	} SETATTR2res_u;
};
typedef struct SETATTR2res SETATTR2res;

struct LOOKUP2args {
	diropargs2 what;
};
typedef struct LOOKUP2args LOOKUP2args;

struct LOOKUP2resok {
	fhandle2 file;
	fattr2 attributes;
};
typedef struct LOOKUP2resok LOOKUP2resok;

struct LOOKUP2res {
	nfsstat3 status;
	union {
		LOOKUP2resok resok;
	} LOOKUP2res_u;
};
typedef struct LOOKUP2res LOOKUP2res;

struct READLINK2args {
	fhandle2 file;
};
typedef struct READLINK2args READLINK2args;

struct READLINK2resok {
	path2 data;
};
typedef struct READLINK2resok READLINK2resok;

struct READLINK2res {
	nfsstat3 status;
	union {
		READLINK2resok resok;
	} READLINK2res_u;
};
typedef struct READLINK2res READLINK2res;

struct READ2args {
	fhandle2 file;
	u_int offset;
	u_int count;
	u_int totalcount;
};
typedef struct READ2args READ2args;

struct READ2resok {
	fattr2 attributes;
	nfsdata2 data;
};
typedef struct READ2resok READ2resok;

struct READ2res {
	nfsstat3 status;
	union {
		READ2resok resok;
	} READ2res_u;
};
typedef struct READ2res READ2res;

struct WRITE2args {
	fhandle2 file;
	u_int beginoffset;
	u_int offset;
	u_int totalcount;
	nfsdata2 data;
};
typedef struct WRITE2args WRITE2args;

struct WRITE2resok {
	fattr2 attributes;
};
typedef struct WRITE2resok WRITE2resok;

struct WRITE2res {
	nfsstat3 status;
	union {
		WRITE2resok resok;
	} WRITE2res_u;
};
typedef struct WRITE2res WRITE2res;

struct CREATE2args {
	diropargs2 where;
	sattr2 attributes;
};
typedef struct CREATE2args CREATE2args;

struct CREATE2resok {
	fhandle2 file;
	fattr2 attributes;
};
typedef struct CREATE2resok CREATE2resok;

struct CREATE2res {
	nfsstat3 status;
	union {
		CREATE2resok resok;
	} CREATE2res_u;
};
typedef struct CREATE2res CREATE2res;

struct REMOVE2args {
	diropargs2 what;
};
typedef struct REMOVE2args REMOVE2args;

struct REMOVE2res {
	nfsstat3 status;
};
typedef struct REMOVE2res REMOVE2res;

struct RENAME2args {
	diropargs2 from;
	diropargs2 to;
};
typedef struct RENAME2args RENAME2args;

struct RENAME2res {
	nfsstat3 status;
};
typedef struct RENAME2res RENAME2res;

struct LINK2args {
	fhandle2 from;
	diropargs2 to;
};
typedef struct LINK2args LINK2args;

struct LINK2res {
	nfsstat3 status;
};
typedef struct LINK2res LINK2res;

struct SYMLINK2args {
	diropargs2 from;
	path2 to;
	sattr2 attributes;
};
typedef struct SYMLINK2args SYMLINK2args;

struct SYMLINK2res {
	nfsstat3 status;
};
typedef struct SYMLINK2res SYMLINK2res;

struct MKDIR2args {
	diropargs2 where;
	sattr2 attributes;
};
typedef struct MKDIR2args MKDIR2args;

struct MKDIR2resok {
	fhandle2 file;
	fattr2 attributes;
};
typedef struct MKDIR2resok MKDIR2resok;

struct MKDIR2res {
	nfsstat3 status;
	union {
		MKDIR2resok resok;
	} MKDIR2res_u;
};
typedef struct MKDIR2res MKDIR2res;

struct RMDIR2args {
	diropargs2 what;
};
typedef struct RMDIR2args RMDIR2args;

struct RMDIR2res {
	nfsstat3 status;
};
typedef struct RMDIR2res RMDIR2res;

struct READDIR2args {
	fhandle2 dir;
	nfscookie2 cookie;
	u_int count;
};
typedef struct READDIR2args READDIR2args;

struct READDIR2resok {
	entry2 *entries;
	uint32_t eof;
};
typedef struct READDIR2resok READDIR2resok;

struct READDIR2res {
	nfsstat3 status;
	union {
		READDIR2resok resok;
	} READDIR2res_u;
};
typedef struct READDIR2res READDIR2res;

struct STATFS2args {
	fhandle2 dir;
};
typedef struct STATFS2args STATFS2args;

struct STATFS2resok {
	u_int tsize;
	u_int bsize;
	u_int blocks;
	u_int bfree;
	u_int bavail;
};
typedef struct STATFS2resok STATFS2resok;

struct STATFS2res {
	nfsstat3 status;
	union {
		STATFS2resok resok;
	} STATFS2res_u;
};
typedef struct STATFS2res STATFS2res;

enum nfsacl_type {
	NFSACL_TYPE_USER_OBJ = 0x0001,
	NFSACL_TYPE_USER = 0x0002,
	NFSACL_TYPE_GROUP_OBJ = 0x0004,
	NFSACL_TYPE_GROUP = 0x0008,
	NFSACL_TYPE_CLASS_OBJ = 0x0010,
	NFSACL_TYPE_CLASS = 0x0020,
	NFSACL_TYPE_DEFAULT = 0x1000,
	NFSACL_TYPE_DEFAULT_USER_OBJ = 0x1001,
	NFSACL_TYPE_DEFAULT_USER = 0x1002,
	NFSACL_TYPE_DEFAULT_GROUP_OBJ = 0x1004,
	NFSACL_TYPE_DEFAULT_GROUP = 0x1008,
	NFSACL_TYPE_DEFAULT_CLASS_OBJ = 0x1010,
	NFSACL_TYPE_DEFAULT_OTHER_OBJ = 0x1020,
};
typedef enum nfsacl_type nfsacl_type;
#define NFSACL_PERM_READ 0x04
#define NFSACL_PERM_WRITE 0x02
#define NFSACL_PERM_EXEC 0x01

struct nfsacl_ace {
	enum nfsacl_type type;
	u_int id;
	u_int perm;
};
typedef struct nfsacl_ace nfsacl_ace;
#define NFSACL_MASK_ACL_ENTRY 0x0001
#define NFSACL_MASK_ACL_COUNT 0x0002
#define NFSACL_MASK_ACL_DEFAULT_ENTRY 0x0004
#define NFSACL_MASK_ACL_DEFAULT_COUNT 0x0008

struct GETACL3args {
	nfs_fh3 dir;
	u_int mask;
};
typedef struct GETACL3args GETACL3args;

struct GETACL3resok {
	post_op_attr attr;
	u_int mask;
	u_int ace_count;
	struct {
		u_int ace_len;
		struct nfsacl_ace *ace_val;
	} ace;
	u_int default_ace_count;
	struct {
		u_int default_ace_len;
		struct nfsacl_ace *default_ace_val;
	} default_ace;
};
typedef struct GETACL3resok GETACL3resok;

struct GETACL3res {
	nfsstat3 status;
	union {
		GETACL3resok resok;
	} GETACL3res_u;
};
typedef struct GETACL3res GETACL3res;

struct SETACL3args {
	nfs_fh3 dir;
	u_int mask;
	u_int ace_count;
	struct {
		u_int ace_len;
		struct nfsacl_ace *ace_val;
	} ace;
	u_int default_ace_count;
	struct {
		u_int default_ace_len;
		struct nfsacl_ace *default_ace_val;
	} default_ace;
};
typedef struct SETACL3args SETACL3args;

struct SETACL3resok {
	post_op_attr attr;
};
typedef struct SETACL3resok SETACL3resok;

struct SETACL3res {
	nfsstat3 status;
	union {
		SETACL3resok resok;
	} SETACL3res_u;
};
typedef struct SETACL3res SETACL3res;

#define NFS_PROGRAM 100003
#define NFS_V2 2

#if defined(__STDC__) || defined(__cplusplus)
#define NFS2_NULL 0
extern  void * nfs2_null_2(void *, void *);
extern  void * nfs2_null_2_svc(void *, struct svc_req *);
#define NFS2_GETATTR 1
extern  GETATTR2res * nfs2_getattr_2(GETATTR2args *, void *);
extern  GETATTR2res * nfs2_getattr_2_svc(GETATTR2args *, struct svc_req *);
#define NFS2_SETATTR 2
extern  SETATTR2res * nfs2_setattr_2(SETATTR2args *, void *);
extern  SETATTR2res * nfs2_setattr_2_svc(SETATTR2args *, struct svc_req *);
#define NFS2_LOOKUP 4
extern  LOOKUP2res * nfs2_lookup_2(LOOKUP2args *, void *);
extern  LOOKUP2res * nfs2_lookup_2_svc(LOOKUP2args *, struct svc_req *);
#define NFS2_READLINK 5
extern  READLINK2res * nfs2_readlink_2(READLINK2args *, void *);
extern  READLINK2res * nfs2_readlink_2_svc(READLINK2args *, struct svc_req *);
#define NFS2_READ 6
extern  READ2res * nfs2_read_2(READ2args *, void *);
extern  READ2res * nfs2_read_2_svc(READ2args *, struct svc_req *);
#define NFS2_WRITE 8
extern  WRITE2res * nfs2_write_2(WRITE2args *, void *);
extern  WRITE2res * nfs2_write_2_svc(WRITE2args *, struct svc_req *);
#define NFS2_CREATE 9
extern  CREATE2res * nfs2_create_2(CREATE2args *, void *);
extern  CREATE2res * nfs2_create_2_svc(CREATE2args *, struct svc_req *);
#define NFS2_REMOVE 10
extern  REMOVE2res * nfs2_remove_2(REMOVE2args *, void *);
extern  REMOVE2res * nfs2_remove_2_svc(REMOVE2args *, struct svc_req *);
#define NFS2_RENAME 11
extern  RENAME2res * nfs2_rename_2(RENAME2args *, void *);
extern  RENAME2res * nfs2_rename_2_svc(RENAME2args *, struct svc_req *);
#define NFS2_LINK 12
extern  LINK2res * nfs2_link_2(LINK2args *, void *);
extern  LINK2res * nfs2_link_2_svc(LINK2args *, struct svc_req *);
#define NFS2_SYMLINK 13
extern  SYMLINK2res * nfs2_symlink_2(SYMLINK2args *, void *);
extern  SYMLINK2res * nfs2_symlink_2_svc(SYMLINK2args *, struct svc_req *);
#define NFS2_MKDIR 14
extern  MKDIR2res * nfs2_mkdir_2(MKDIR2args *, void *);
extern  MKDIR2res * nfs2_mkdir_2_svc(MKDIR2args *, struct svc_req *);
#define NFS2_RMDIR 15
extern  RMDIR2res * nfs2_rmdir_2(RMDIR2args *, void *);
extern  RMDIR2res * nfs2_rmdir_2_svc(RMDIR2args *, struct svc_req *);
#define NFS2_READDIR 16
extern  READDIR2res * nfs2_readdir_2(READDIR2args *, void *);
extern  READDIR2res * nfs2_readdir_2_svc(READDIR2args *, struct svc_req *);
#define NFS2_STATFS 17
extern  STATFS2res * nfs2_statfs_2(STATFS2args *, void *);
extern  STATFS2res * nfs2_statfs_2_svc(STATFS2args *, struct svc_req *);
extern int nfs_program_2_freeresult (void *, zdrproc_t, caddr_t);

#else /* K&R C */
#define NFS2_NULL 0
extern  void * nfs2_null_2();
extern  void * nfs2_null_2_svc();
#define NFS2_GETATTR 1
extern  GETATTR2res * nfs2_getattr_2();
extern  GETATTR2res * nfs2_getattr_2_svc();
#define NFS2_SETATTR 2
extern  SETATTR2res * nfs2_setattr_2();
extern  SETATTR2res * nfs2_setattr_2_svc();
#define NFS2_LOOKUP 4
extern  LOOKUP2res * nfs2_lookup_2();
extern  LOOKUP2res * nfs2_lookup_2_svc();
#define NFS2_READLINK 5
extern  READLINK2res * nfs2_readlink_2();
extern  READLINK2res * nfs2_readlink_2_svc();
#define NFS2_READ 6
extern  READ2res * nfs2_read_2();
extern  READ2res * nfs2_read_2_svc();
#define NFS2_WRITE 8
extern  WRITE2res * nfs2_write_2();
extern  WRITE2res * nfs2_write_2_svc();
#define NFS2_CREATE 9
extern  CREATE2res * nfs2_create_2();
extern  CREATE2res * nfs2_create_2_svc();
#define NFS2_REMOVE 10
extern  REMOVE2res * nfs2_remove_2();
extern  REMOVE2res * nfs2_remove_2_svc();
#define NFS2_RENAME 11
extern  RENAME2res * nfs2_rename_2();
extern  RENAME2res * nfs2_rename_2_svc();
#define NFS2_LINK 12
extern  LINK2res * nfs2_link_2();
extern  LINK2res * nfs2_link_2_svc();
#define NFS2_SYMLINK 13
extern  SYMLINK2res * nfs2_symlink_2();
extern  SYMLINK2res * nfs2_symlink_2_svc();
#define NFS2_MKDIR 14
extern  MKDIR2res * nfs2_mkdir_2();
extern  MKDIR2res * nfs2_mkdir_2_svc();
#define NFS2_RMDIR 15
extern  RMDIR2res * nfs2_rmdir_2();
extern  RMDIR2res * nfs2_rmdir_2_svc();
#define NFS2_READDIR 16
extern  READDIR2res * nfs2_readdir_2();
extern  READDIR2res * nfs2_readdir_2_svc();
#define NFS2_STATFS 17
extern  STATFS2res * nfs2_statfs_2();
extern  STATFS2res * nfs2_statfs_2_svc();
extern int nfs_program_2_freeresult ();
#endif /* K&R C */
#define NFS_V3 3

#if defined(__STDC__) || defined(__cplusplus)
#define NFS3_NULL 0
extern  void * nfs3_null_3(void *, void *);
extern  void * nfs3_null_3_svc(void *, struct svc_req *);
#define NFS3_GETATTR 1
extern  GETATTR3res * nfs3_getattr_3(GETATTR3args *, void *);
extern  GETATTR3res * nfs3_getattr_3_svc(GETATTR3args *, struct svc_req *);
#define NFS3_SETATTR 2
extern  SETATTR3res * nfs3_setattr_3(SETATTR3args *, void *);
extern  SETATTR3res * nfs3_setattr_3_svc(SETATTR3args *, struct svc_req *);
#define NFS3_LOOKUP 3
extern  LOOKUP3res * nfs3_lookup_3(LOOKUP3args *, void *);
extern  LOOKUP3res * nfs3_lookup_3_svc(LOOKUP3args *, struct svc_req *);
#define NFS3_ACCESS 4
extern  ACCESS3res * nfs3_access_3(ACCESS3args *, void *);
extern  ACCESS3res * nfs3_access_3_svc(ACCESS3args *, struct svc_req *);
#define NFS3_READLINK 5
extern  READLINK3res * nfs3_readlink_3(READLINK3args *, void *);
extern  READLINK3res * nfs3_readlink_3_svc(READLINK3args *, struct svc_req *);
#define NFS3_READ 6
extern  READ3res * nfs3_read_3(READ3args *, void *);
extern  READ3res * nfs3_read_3_svc(READ3args *, struct svc_req *);
#define NFS3_WRITE 7
extern  WRITE3res * nfs3_write_3(WRITE3args *, void *);
extern  WRITE3res * nfs3_write_3_svc(WRITE3args *, struct svc_req *);
#define NFS3_CREATE 8
extern  CREATE3res * nfs3_create_3(CREATE3args *, void *);
extern  CREATE3res * nfs3_create_3_svc(CREATE3args *, struct svc_req *);
#define NFS3_MKDIR 9
extern  MKDIR3res * nfs3_mkdir_3(MKDIR3args *, void *);
extern  MKDIR3res * nfs3_mkdir_3_svc(MKDIR3args *, struct svc_req *);
#define NFS3_SYMLINK 10
extern  SYMLINK3res * nfs3_symlink_3(SYMLINK3args *, void *);
extern  SYMLINK3res * nfs3_symlink_3_svc(SYMLINK3args *, struct svc_req *);
#define NFS3_MKNOD 11
extern  MKNOD3res * nfs3_mknod_3(MKNOD3args *, void *);
extern  MKNOD3res * nfs3_mknod_3_svc(MKNOD3args *, struct svc_req *);
#define NFS3_REMOVE 12
extern  REMOVE3res * nfs3_remove_3(REMOVE3args *, void *);
extern  REMOVE3res * nfs3_remove_3_svc(REMOVE3args *, struct svc_req *);
#define NFS3_RMDIR 13
extern  RMDIR3res * nfs3_rmdir_3(RMDIR3args *, void *);
extern  RMDIR3res * nfs3_rmdir_3_svc(RMDIR3args *, struct svc_req *);
#define NFS3_RENAME 14
extern  RENAME3res * nfs3_rename_3(RENAME3args *, void *);
extern  RENAME3res * nfs3_rename_3_svc(RENAME3args *, struct svc_req *);
#define NFS3_LINK 15
extern  LINK3res * nfs3_link_3(LINK3args *, void *);
extern  LINK3res * nfs3_link_3_svc(LINK3args *, struct svc_req *);
#define NFS3_READDIR 16
extern  READDIR3res * nfs3_readdir_3(READDIR3args *, void *);
extern  READDIR3res * nfs3_readdir_3_svc(READDIR3args *, struct svc_req *);
#define NFS3_READDIRPLUS 17
extern  READDIRPLUS3res * nfs3_readdirplus_3(READDIRPLUS3args *, void *);
extern  READDIRPLUS3res * nfs3_readdirplus_3_svc(READDIRPLUS3args *, struct svc_req *);
#define NFS3_FSSTAT 18
extern  FSSTAT3res * nfs3_fsstat_3(FSSTAT3args *, void *);
extern  FSSTAT3res * nfs3_fsstat_3_svc(FSSTAT3args *, struct svc_req *);
#define NFS3_FSINFO 19
extern  FSINFO3res * nfs3_fsinfo_3(FSINFO3args *, void *);
extern  FSINFO3res * nfs3_fsinfo_3_svc(FSINFO3args *, struct svc_req *);
#define NFS3_PATHCONF 20
extern  PATHCONF3res * nfs3_pathconf_3(PATHCONF3args *, void *);
extern  PATHCONF3res * nfs3_pathconf_3_svc(PATHCONF3args *, struct svc_req *);
#define NFS3_COMMIT 21
extern  COMMIT3res * nfs3_commit_3(COMMIT3args *, void *);
extern  COMMIT3res * nfs3_commit_3_svc(COMMIT3args *, struct svc_req *);
extern int nfs_program_3_freeresult (void *, zdrproc_t, caddr_t);

#else /* K&R C */
#define NFS3_NULL 0
extern  void * nfs3_null_3();
extern  void * nfs3_null_3_svc();
#define NFS3_GETATTR 1
extern  GETATTR3res * nfs3_getattr_3();
extern  GETATTR3res * nfs3_getattr_3_svc();
#define NFS3_SETATTR 2
extern  SETATTR3res * nfs3_setattr_3();
extern  SETATTR3res * nfs3_setattr_3_svc();
#define NFS3_LOOKUP 3
extern  LOOKUP3res * nfs3_lookup_3();
extern  LOOKUP3res * nfs3_lookup_3_svc();
#define NFS3_ACCESS 4
extern  ACCESS3res * nfs3_access_3();
extern  ACCESS3res * nfs3_access_3_svc();
#define NFS3_READLINK 5
extern  READLINK3res * nfs3_readlink_3();
extern  READLINK3res * nfs3_readlink_3_svc();
#define NFS3_READ 6
extern  READ3res * nfs3_read_3();
extern  READ3res * nfs3_read_3_svc();
#define NFS3_WRITE 7
extern  WRITE3res * nfs3_write_3();
extern  WRITE3res * nfs3_write_3_svc();
#define NFS3_CREATE 8
extern  CREATE3res * nfs3_create_3();
extern  CREATE3res * nfs3_create_3_svc();
#define NFS3_MKDIR 9
extern  MKDIR3res * nfs3_mkdir_3();
extern  MKDIR3res * nfs3_mkdir_3_svc();
#define NFS3_SYMLINK 10
extern  SYMLINK3res * nfs3_symlink_3();
extern  SYMLINK3res * nfs3_symlink_3_svc();
#define NFS3_MKNOD 11
extern  MKNOD3res * nfs3_mknod_3();
extern  MKNOD3res * nfs3_mknod_3_svc();
#define NFS3_REMOVE 12
extern  REMOVE3res * nfs3_remove_3();
extern  REMOVE3res * nfs3_remove_3_svc();
#define NFS3_RMDIR 13
extern  RMDIR3res * nfs3_rmdir_3();
extern  RMDIR3res * nfs3_rmdir_3_svc();
#define NFS3_RENAME 14
extern  RENAME3res * nfs3_rename_3();
extern  RENAME3res * nfs3_rename_3_svc();
#define NFS3_LINK 15
extern  LINK3res * nfs3_link_3();
extern  LINK3res * nfs3_link_3_svc();
#define NFS3_READDIR 16
extern  READDIR3res * nfs3_readdir_3();
extern  READDIR3res * nfs3_readdir_3_svc();
#define NFS3_READDIRPLUS 17
extern  READDIRPLUS3res * nfs3_readdirplus_3();
extern  READDIRPLUS3res * nfs3_readdirplus_3_svc();
#define NFS3_FSSTAT 18
extern  FSSTAT3res * nfs3_fsstat_3();
extern  FSSTAT3res * nfs3_fsstat_3_svc();
#define NFS3_FSINFO 19
extern  FSINFO3res * nfs3_fsinfo_3();
extern  FSINFO3res * nfs3_fsinfo_3_svc();
#define NFS3_PATHCONF 20
extern  PATHCONF3res * nfs3_pathconf_3();
extern  PATHCONF3res * nfs3_pathconf_3_svc();
#define NFS3_COMMIT 21
extern  COMMIT3res * nfs3_commit_3();
extern  COMMIT3res * nfs3_commit_3_svc();
extern int nfs_program_3_freeresult ();
#endif /* K&R C */

#define NFSACL_PROGRAM 100227
#define NFSACL_V3 3

#if defined(__STDC__) || defined(__cplusplus)
#define NFSACL3_NULL 0
extern  void * nfsacl3_null_3(void *, void *);
extern  void * nfsacl3_null_3_svc(void *, struct svc_req *);
#define NFSACL3_GETACL 1
extern  GETACL3res * nfsacl3_getacl_3(GETACL3args *, void *);
extern  GETACL3res * nfsacl3_getacl_3_svc(GETACL3args *, struct svc_req *);
#define NFSACL3_SETACL 2
extern  SETACL3res * nfsacl3_setacl_3(SETACL3args *, void *);
extern  SETACL3res * nfsacl3_setacl_3_svc(SETACL3args *, struct svc_req *);
extern int nfsacl_program_3_freeresult (void *, zdrproc_t, caddr_t);

#else /* K&R C */
#define NFSACL3_NULL 0
extern  void * nfsacl3_null_3();
extern  void * nfsacl3_null_3_svc();
#define NFSACL3_GETACL 1
extern  GETACL3res * nfsacl3_getacl_3();
extern  GETACL3res * nfsacl3_getacl_3_svc();
#define NFSACL3_SETACL 2
extern  SETACL3res * nfsacl3_setacl_3();
extern  SETACL3res * nfsacl3_setacl_3_svc();
extern int nfsacl_program_3_freeresult ();
#endif /* K&R C */

/* the zdr functions */

#if defined(__STDC__) || defined(__cplusplus)
extern  uint32_t zdr_cookieverf3 (ZDR *, cookieverf3);
extern  uint32_t zdr_cookie3 (ZDR *, cookie3*);
extern  uint32_t zdr_nfs_fh3 (ZDR *, nfs_fh3*);
extern  uint32_t zdr_filename3 (ZDR *, filename3*);
extern  uint32_t zdr_diropargs3 (ZDR *, diropargs3*);
extern  uint32_t zdr_ftype3 (ZDR *, ftype3*);
extern  uint32_t zdr_mode3 (ZDR *, mode3*);
extern  uint32_t zdr_uid3 (ZDR *, uid3*);
extern  uint32_t zdr_gid3 (ZDR *, gid3*);
extern  uint32_t zdr_size3 (ZDR *, size3*);
extern  uint32_t zdr_fileid3 (ZDR *, fileid3*);
extern  uint32_t zdr_specdata3 (ZDR *, specdata3*);
extern  uint32_t zdr_nfstime3 (ZDR *, nfstime3*);
extern  uint32_t zdr_fattr3 (ZDR *, fattr3*);
extern  uint32_t zdr_post_op_attr (ZDR *, post_op_attr*);
extern  uint32_t zdr_nfsstat3 (ZDR *, nfsstat3*);
extern  uint32_t zdr_stable_how (ZDR *, stable_how*);
extern  uint32_t zdr_offset3 (ZDR *, offset3*);
extern  uint32_t zdr_count3 (ZDR *, count3*);
extern  uint32_t zdr_wcc_attr (ZDR *, wcc_attr*);
extern  uint32_t zdr_pre_op_attr (ZDR *, pre_op_attr*);
extern  uint32_t zdr_wcc_data (ZDR *, wcc_data*);
extern  uint32_t zdr_WRITE3args (ZDR *, WRITE3args*);
extern  uint32_t zdr_writeverf3 (ZDR *, writeverf3);
extern  uint32_t zdr_WRITE3resok (ZDR *, WRITE3resok*);
extern  uint32_t zdr_WRITE3resfail (ZDR *, WRITE3resfail*);
extern  uint32_t zdr_WRITE3res (ZDR *, WRITE3res*);
extern  uint32_t zdr_LOOKUP3args (ZDR *, LOOKUP3args*);
extern  uint32_t zdr_LOOKUP3resok (ZDR *, LOOKUP3resok*);
extern  uint32_t zdr_LOOKUP3resfail (ZDR *, LOOKUP3resfail*);
extern  uint32_t zdr_LOOKUP3res (ZDR *, LOOKUP3res*);
extern  uint32_t zdr_COMMIT3args (ZDR *, COMMIT3args*);
extern  uint32_t zdr_COMMIT3resok (ZDR *, COMMIT3resok*);
extern  uint32_t zdr_COMMIT3resfail (ZDR *, COMMIT3resfail*);
extern  uint32_t zdr_COMMIT3res (ZDR *, COMMIT3res*);
extern  uint32_t zdr_ACCESS3args (ZDR *, ACCESS3args*);
extern  uint32_t zdr_ACCESS3resok (ZDR *, ACCESS3resok*);
extern  uint32_t zdr_ACCESS3resfail (ZDR *, ACCESS3resfail*);
extern  uint32_t zdr_ACCESS3res (ZDR *, ACCESS3res*);
extern  uint32_t zdr_GETATTR3args (ZDR *, GETATTR3args*);
extern  uint32_t zdr_GETATTR3resok (ZDR *, GETATTR3resok*);
extern  uint32_t zdr_GETATTR3res (ZDR *, GETATTR3res*);
extern  uint32_t zdr_time_how (ZDR *, time_how*);
extern  uint32_t zdr_set_mode3 (ZDR *, set_mode3*);
extern  uint32_t zdr_set_uid3 (ZDR *, set_uid3*);
extern  uint32_t zdr_set_gid3 (ZDR *, set_gid3*);
extern  uint32_t zdr_set_size3 (ZDR *, set_size3*);
extern  uint32_t zdr_set_atime (ZDR *, set_atime*);
extern  uint32_t zdr_set_mtime (ZDR *, set_mtime*);
extern  uint32_t zdr_sattr3 (ZDR *, sattr3*);
extern  uint32_t zdr_createmode3 (ZDR *, createmode3*);
extern  uint32_t zdr_createverf3 (ZDR *, createverf3);
extern  uint32_t zdr_createhow3 (ZDR *, createhow3*);
extern  uint32_t zdr_CREATE3args (ZDR *, CREATE3args*);
extern  uint32_t zdr_post_op_fh3 (ZDR *, post_op_fh3*);
extern  uint32_t zdr_CREATE3resok (ZDR *, CREATE3resok*);
extern  uint32_t zdr_CREATE3resfail (ZDR *, CREATE3resfail*);
extern  uint32_t zdr_CREATE3res (ZDR *, CREATE3res*);
extern  uint32_t zdr_REMOVE3args (ZDR *, REMOVE3args*);
extern  uint32_t zdr_REMOVE3resok (ZDR *, REMOVE3resok*);
extern  uint32_t zdr_REMOVE3resfail (ZDR *, REMOVE3resfail*);
extern  uint32_t zdr_REMOVE3res (ZDR *, REMOVE3res*);
extern  uint32_t zdr_READ3args (ZDR *, READ3args*);
extern  uint32_t zdr_READ3resok (ZDR *, READ3resok*);
extern  uint32_t zdr_READ3resfail (ZDR *, READ3resfail*);
extern  uint32_t zdr_READ3res (ZDR *, READ3res*);
extern  uint32_t zdr_FSINFO3args (ZDR *, FSINFO3args*);
extern  uint32_t zdr_FSINFO3resok (ZDR *, FSINFO3resok*);
extern  uint32_t zdr_FSINFO3resfail (ZDR *, FSINFO3resfail*);
extern  uint32_t zdr_FSINFO3res (ZDR *, FSINFO3res*);
extern  uint32_t zdr_FSSTAT3args (ZDR *, FSSTAT3args*);
extern  uint32_t zdr_FSSTAT3resok (ZDR *, FSSTAT3resok*);
extern  uint32_t zdr_FSSTAT3resfail (ZDR *, FSSTAT3resfail*);
extern  uint32_t zdr_FSSTAT3res (ZDR *, FSSTAT3res*);
extern  uint32_t zdr_PATHCONF3args (ZDR *, PATHCONF3args*);
extern  uint32_t zdr_PATHCONF3resok (ZDR *, PATHCONF3resok*);
extern  uint32_t zdr_PATHCONF3resfail (ZDR *, PATHCONF3resfail*);
extern  uint32_t zdr_PATHCONF3res (ZDR *, PATHCONF3res*);
extern  uint32_t zdr_nfspath3 (ZDR *, nfspath3*);
extern  uint32_t zdr_symlinkdata3 (ZDR *, symlinkdata3*);
extern  uint32_t zdr_SYMLINK3args (ZDR *, SYMLINK3args*);
extern  uint32_t zdr_SYMLINK3resok (ZDR *, SYMLINK3resok*);
extern  uint32_t zdr_SYMLINK3resfail (ZDR *, SYMLINK3resfail*);
extern  uint32_t zdr_SYMLINK3res (ZDR *, SYMLINK3res*);
extern  uint32_t zdr_READLINK3args (ZDR *, READLINK3args*);
extern  uint32_t zdr_READLINK3resok (ZDR *, READLINK3resok*);
extern  uint32_t zdr_READLINK3resfail (ZDR *, READLINK3resfail*);
extern  uint32_t zdr_READLINK3res (ZDR *, READLINK3res*);
extern  uint32_t zdr_devicedata3 (ZDR *, devicedata3*);
extern  uint32_t zdr_mknoddata3 (ZDR *, mknoddata3*);
extern  uint32_t zdr_MKNOD3args (ZDR *, MKNOD3args*);
extern  uint32_t zdr_MKNOD3resok (ZDR *, MKNOD3resok*);
extern  uint32_t zdr_MKNOD3resfail (ZDR *, MKNOD3resfail*);
extern  uint32_t zdr_MKNOD3res (ZDR *, MKNOD3res*);
extern  uint32_t zdr_MKDIR3args (ZDR *, MKDIR3args*);
extern  uint32_t zdr_MKDIR3resok (ZDR *, MKDIR3resok*);
extern  uint32_t zdr_MKDIR3resfail (ZDR *, MKDIR3resfail*);
extern  uint32_t zdr_MKDIR3res (ZDR *, MKDIR3res*);
extern  uint32_t zdr_RMDIR3args (ZDR *, RMDIR3args*);
extern  uint32_t zdr_RMDIR3resok (ZDR *, RMDIR3resok*);
extern  uint32_t zdr_RMDIR3resfail (ZDR *, RMDIR3resfail*);
extern  uint32_t zdr_RMDIR3res (ZDR *, RMDIR3res*);
extern  uint32_t zdr_RENAME3args (ZDR *, RENAME3args*);
extern  uint32_t zdr_RENAME3resok (ZDR *, RENAME3resok*);
extern  uint32_t zdr_RENAME3resfail (ZDR *, RENAME3resfail*);
extern  uint32_t zdr_RENAME3res (ZDR *, RENAME3res*);
extern  uint32_t zdr_READDIRPLUS3args (ZDR *, READDIRPLUS3args*);
extern  uint32_t zdr_entryplus3 (ZDR *, entryplus3*);
extern  uint32_t zdr_dirlistplus3 (ZDR *, dirlistplus3*);
extern  uint32_t zdr_READDIRPLUS3resok (ZDR *, READDIRPLUS3resok*);
extern  uint32_t zdr_READDIRPLUS3resfail (ZDR *, READDIRPLUS3resfail*);
extern  uint32_t zdr_READDIRPLUS3res (ZDR *, READDIRPLUS3res*);
extern  uint32_t zdr_READDIR3args (ZDR *, READDIR3args*);
extern  uint32_t zdr_entry3 (ZDR *, entry3*);
extern  uint32_t zdr_dirlist3 (ZDR *, dirlist3*);
extern  uint32_t zdr_READDIR3resok (ZDR *, READDIR3resok*);
extern  uint32_t zdr_READDIR3resfail (ZDR *, READDIR3resfail*);
extern  uint32_t zdr_READDIR3res (ZDR *, READDIR3res*);
extern  uint32_t zdr_LINK3args (ZDR *, LINK3args*);
extern  uint32_t zdr_LINK3resok (ZDR *, LINK3resok*);
extern  uint32_t zdr_LINK3resfail (ZDR *, LINK3resfail*);
extern  uint32_t zdr_LINK3res (ZDR *, LINK3res*);
extern  uint32_t zdr_sattrguard3 (ZDR *, sattrguard3*);
extern  uint32_t zdr_SETATTR3args (ZDR *, SETATTR3args*);
extern  uint32_t zdr_SETATTR3resok (ZDR *, SETATTR3resok*);
extern  uint32_t zdr_SETATTR3resfail (ZDR *, SETATTR3resfail*);
extern  uint32_t zdr_SETATTR3res (ZDR *, SETATTR3res*);
extern  uint32_t zdr_fhandle2 (ZDR *, fhandle2);
extern  uint32_t zdr_ftype2 (ZDR *, ftype2*);
extern  uint32_t zdr_fattr2 (ZDR *, fattr2*);
extern  uint32_t zdr_sattr2 (ZDR *, sattr2*);
extern  uint32_t zdr_filename2 (ZDR *, filename2*);
extern  uint32_t zdr_path2 (ZDR *, path2*);
extern  uint32_t zdr_nfsdata2 (ZDR *, nfsdata2*);
extern  uint32_t zdr_nfscookie2 (ZDR *, nfscookie2);
extern  uint32_t zdr_entry2 (ZDR *, entry2*);
extern  uint32_t zdr_diropargs2 (ZDR *, diropargs2*);
extern  uint32_t zdr_GETATTR2args (ZDR *, GETATTR2args*);
extern  uint32_t zdr_GETATTR2resok (ZDR *, GETATTR2resok*);
extern  uint32_t zdr_GETATTR2res (ZDR *, GETATTR2res*);
extern  uint32_t zdr_SETATTR2args (ZDR *, SETATTR2args*);
extern  uint32_t zdr_SETATTR2resok (ZDR *, SETATTR2resok*);
extern  uint32_t zdr_SETATTR2res (ZDR *, SETATTR2res*);
extern  uint32_t zdr_LOOKUP2args (ZDR *, LOOKUP2args*);
extern  uint32_t zdr_LOOKUP2resok (ZDR *, LOOKUP2resok*);
extern  uint32_t zdr_LOOKUP2res (ZDR *, LOOKUP2res*);
extern  uint32_t zdr_READLINK2args (ZDR *, READLINK2args*);
extern  uint32_t zdr_READLINK2resok (ZDR *, READLINK2resok*);
extern  uint32_t zdr_READLINK2res (ZDR *, READLINK2res*);
extern  uint32_t zdr_READ2args (ZDR *, READ2args*);
extern  uint32_t zdr_READ2resok (ZDR *, READ2resok*);
extern  uint32_t zdr_READ2res (ZDR *, READ2res*);
extern  uint32_t zdr_WRITE2args (ZDR *, WRITE2args*);
extern  uint32_t zdr_WRITE2resok (ZDR *, WRITE2resok*);
extern  uint32_t zdr_WRITE2res (ZDR *, WRITE2res*);
extern  uint32_t zdr_CREATE2args (ZDR *, CREATE2args*);
extern  uint32_t zdr_CREATE2resok (ZDR *, CREATE2resok*);
extern  uint32_t zdr_CREATE2res (ZDR *, CREATE2res*);
extern  uint32_t zdr_REMOVE2args (ZDR *, REMOVE2args*);
extern  uint32_t zdr_REMOVE2res (ZDR *, REMOVE2res*);
extern  uint32_t zdr_RENAME2args (ZDR *, RENAME2args*);
extern  uint32_t zdr_RENAME2res (ZDR *, RENAME2res*);
extern  uint32_t zdr_LINK2args (ZDR *, LINK2args*);
extern  uint32_t zdr_LINK2res (ZDR *, LINK2res*);
extern  uint32_t zdr_SYMLINK2args (ZDR *, SYMLINK2args*);
extern  uint32_t zdr_SYMLINK2res (ZDR *, SYMLINK2res*);
extern  uint32_t zdr_MKDIR2args (ZDR *, MKDIR2args*);
extern  uint32_t zdr_MKDIR2resok (ZDR *, MKDIR2resok*);
extern  uint32_t zdr_MKDIR2res (ZDR *, MKDIR2res*);
extern  uint32_t zdr_RMDIR2args (ZDR *, RMDIR2args*);
extern  uint32_t zdr_RMDIR2res (ZDR *, RMDIR2res*);
extern  uint32_t zdr_READDIR2args (ZDR *, READDIR2args*);
extern  uint32_t zdr_READDIR2resok (ZDR *, READDIR2resok*);
extern  uint32_t zdr_READDIR2res (ZDR *, READDIR2res*);
extern  uint32_t zdr_STATFS2args (ZDR *, STATFS2args*);
extern  uint32_t zdr_STATFS2resok (ZDR *, STATFS2resok*);
extern  uint32_t zdr_STATFS2res (ZDR *, STATFS2res*);
extern  uint32_t zdr_nfsacl_type (ZDR *, nfsacl_type*);
extern  uint32_t zdr_nfsacl_ace (ZDR *, nfsacl_ace*);
extern  uint32_t zdr_GETACL3args (ZDR *, GETACL3args*);
extern  uint32_t zdr_GETACL3resok (ZDR *, GETACL3resok*);
extern  uint32_t zdr_GETACL3res (ZDR *, GETACL3res*);
extern  uint32_t zdr_SETACL3args (ZDR *, SETACL3args*);
extern  uint32_t zdr_SETACL3resok (ZDR *, SETACL3resok*);
extern  uint32_t zdr_SETACL3res (ZDR *, SETACL3res*);

#else /* K&R C */
extern uint32_t zdr_cookieverf3 ();
extern uint32_t zdr_cookie3 ();
extern uint32_t zdr_nfs_fh3 ();
extern uint32_t zdr_filename3 ();
extern uint32_t zdr_diropargs3 ();
extern uint32_t zdr_ftype3 ();
extern uint32_t zdr_mode3 ();
extern uint32_t zdr_uid3 ();
extern uint32_t zdr_gid3 ();
extern uint32_t zdr_size3 ();
extern uint32_t zdr_fileid3 ();
extern uint32_t zdr_specdata3 ();
extern uint32_t zdr_nfstime3 ();
extern uint32_t zdr_fattr3 ();
extern uint32_t zdr_post_op_attr ();
extern uint32_t zdr_nfsstat3 ();
extern uint32_t zdr_stable_how ();
extern uint32_t zdr_offset3 ();
extern uint32_t zdr_count3 ();
extern uint32_t zdr_wcc_attr ();
extern uint32_t zdr_pre_op_attr ();
extern uint32_t zdr_wcc_data ();
extern uint32_t zdr_WRITE3args ();
extern uint32_t zdr_writeverf3 ();
extern uint32_t zdr_WRITE3resok ();
extern uint32_t zdr_WRITE3resfail ();
extern uint32_t zdr_WRITE3res ();
extern uint32_t zdr_LOOKUP3args ();
extern uint32_t zdr_LOOKUP3resok ();
extern uint32_t zdr_LOOKUP3resfail ();
extern uint32_t zdr_LOOKUP3res ();
extern uint32_t zdr_COMMIT3args ();
extern uint32_t zdr_COMMIT3resok ();
extern uint32_t zdr_COMMIT3resfail ();
extern uint32_t zdr_COMMIT3res ();
extern uint32_t zdr_ACCESS3args ();
extern uint32_t zdr_ACCESS3resok ();
extern uint32_t zdr_ACCESS3resfail ();
extern uint32_t zdr_ACCESS3res ();
extern uint32_t zdr_GETATTR3args ();
extern uint32_t zdr_GETATTR3resok ();
extern uint32_t zdr_GETATTR3res ();
extern uint32_t zdr_time_how ();
extern uint32_t zdr_set_mode3 ();
extern uint32_t zdr_set_uid3 ();
extern uint32_t zdr_set_gid3 ();
extern uint32_t zdr_set_size3 ();
extern uint32_t zdr_set_atime ();
extern uint32_t zdr_set_mtime ();
extern uint32_t zdr_sattr3 ();
extern uint32_t zdr_createmode3 ();
extern uint32_t zdr_createverf3 ();
extern uint32_t zdr_createhow3 ();
extern uint32_t zdr_CREATE3args ();
extern uint32_t zdr_post_op_fh3 ();
extern uint32_t zdr_CREATE3resok ();
extern uint32_t zdr_CREATE3resfail ();
extern uint32_t zdr_CREATE3res ();
extern uint32_t zdr_REMOVE3args ();
extern uint32_t zdr_REMOVE3resok ();
extern uint32_t zdr_REMOVE3resfail ();
extern uint32_t zdr_REMOVE3res ();
extern uint32_t zdr_READ3args ();
extern uint32_t zdr_READ3resok ();
extern uint32_t zdr_READ3resfail ();
extern uint32_t zdr_READ3res ();
extern uint32_t zdr_FSINFO3args ();
extern uint32_t zdr_FSINFO3resok ();
extern uint32_t zdr_FSINFO3resfail ();
extern uint32_t zdr_FSINFO3res ();
extern uint32_t zdr_FSSTAT3args ();
extern uint32_t zdr_FSSTAT3resok ();
extern uint32_t zdr_FSSTAT3resfail ();
extern uint32_t zdr_FSSTAT3res ();
extern uint32_t zdr_PATHCONF3args ();
extern uint32_t zdr_PATHCONF3resok ();
extern uint32_t zdr_PATHCONF3resfail ();
extern uint32_t zdr_PATHCONF3res ();
extern uint32_t zdr_nfspath3 ();
extern uint32_t zdr_symlinkdata3 ();
extern uint32_t zdr_SYMLINK3args ();
extern uint32_t zdr_SYMLINK3resok ();
extern uint32_t zdr_SYMLINK3resfail ();
extern uint32_t zdr_SYMLINK3res ();
extern uint32_t zdr_READLINK3args ();
extern uint32_t zdr_READLINK3resok ();
extern uint32_t zdr_READLINK3resfail ();
extern uint32_t zdr_READLINK3res ();
extern uint32_t zdr_devicedata3 ();
extern uint32_t zdr_mknoddata3 ();
extern uint32_t zdr_MKNOD3args ();
extern uint32_t zdr_MKNOD3resok ();
extern uint32_t zdr_MKNOD3resfail ();
extern uint32_t zdr_MKNOD3res ();
extern uint32_t zdr_MKDIR3args ();
extern uint32_t zdr_MKDIR3resok ();
extern uint32_t zdr_MKDIR3resfail ();
extern uint32_t zdr_MKDIR3res ();
extern uint32_t zdr_RMDIR3args ();
extern uint32_t zdr_RMDIR3resok ();
extern uint32_t zdr_RMDIR3resfail ();
extern uint32_t zdr_RMDIR3res ();
extern uint32_t zdr_RENAME3args ();
extern uint32_t zdr_RENAME3resok ();
extern uint32_t zdr_RENAME3resfail ();
extern uint32_t zdr_RENAME3res ();
extern uint32_t zdr_READDIRPLUS3args ();
extern uint32_t zdr_entryplus3 ();
extern uint32_t zdr_dirlistplus3 ();
extern uint32_t zdr_READDIRPLUS3resok ();
extern uint32_t zdr_READDIRPLUS3resfail ();
extern uint32_t zdr_READDIRPLUS3res ();
extern uint32_t zdr_READDIR3args ();
extern uint32_t zdr_entry3 ();
extern uint32_t zdr_dirlist3 ();
extern uint32_t zdr_READDIR3resok ();
extern uint32_t zdr_READDIR3resfail ();
extern uint32_t zdr_READDIR3res ();
extern uint32_t zdr_LINK3args ();
extern uint32_t zdr_LINK3resok ();
extern uint32_t zdr_LINK3resfail ();
extern uint32_t zdr_LINK3res ();
extern uint32_t zdr_sattrguard3 ();
extern uint32_t zdr_SETATTR3args ();
extern uint32_t zdr_SETATTR3resok ();
extern uint32_t zdr_SETATTR3resfail ();
extern uint32_t zdr_SETATTR3res ();
extern uint32_t zdr_fhandle2 ();
extern uint32_t zdr_ftype2 ();
extern uint32_t zdr_fattr2 ();
extern uint32_t zdr_sattr2 ();
extern uint32_t zdr_filename2 ();
extern uint32_t zdr_path2 ();
extern uint32_t zdr_nfsdata2 ();
extern uint32_t zdr_nfscookie2 ();
extern uint32_t zdr_entry2 ();
extern uint32_t zdr_diropargs2 ();
extern uint32_t zdr_GETATTR2args ();
extern uint32_t zdr_GETATTR2resok ();
extern uint32_t zdr_GETATTR2res ();
extern uint32_t zdr_SETATTR2args ();
extern uint32_t zdr_SETATTR2resok ();
extern uint32_t zdr_SETATTR2res ();
extern uint32_t zdr_LOOKUP2args ();
extern uint32_t zdr_LOOKUP2resok ();
extern uint32_t zdr_LOOKUP2res ();
extern uint32_t zdr_READLINK2args ();
extern uint32_t zdr_READLINK2resok ();
extern uint32_t zdr_READLINK2res ();
extern uint32_t zdr_READ2args ();
extern uint32_t zdr_READ2resok ();
extern uint32_t zdr_READ2res ();
extern uint32_t zdr_WRITE2args ();
extern uint32_t zdr_WRITE2resok ();
extern uint32_t zdr_WRITE2res ();
extern uint32_t zdr_CREATE2args ();
extern uint32_t zdr_CREATE2resok ();
extern uint32_t zdr_CREATE2res ();
extern uint32_t zdr_REMOVE2args ();
extern uint32_t zdr_REMOVE2res ();
extern uint32_t zdr_RENAME2args ();
extern uint32_t zdr_RENAME2res ();
extern uint32_t zdr_LINK2args ();
extern uint32_t zdr_LINK2res ();
extern uint32_t zdr_SYMLINK2args ();
extern uint32_t zdr_SYMLINK2res ();
extern uint32_t zdr_MKDIR2args ();
extern uint32_t zdr_MKDIR2resok ();
extern uint32_t zdr_MKDIR2res ();
extern uint32_t zdr_RMDIR2args ();
extern uint32_t zdr_RMDIR2res ();
extern uint32_t zdr_READDIR2args ();
extern uint32_t zdr_READDIR2resok ();
extern uint32_t zdr_READDIR2res ();
extern uint32_t zdr_STATFS2args ();
extern uint32_t zdr_STATFS2resok ();
extern uint32_t zdr_STATFS2res ();
extern uint32_t zdr_nfsacl_type ();
extern uint32_t zdr_nfsacl_ace ();
extern uint32_t zdr_GETACL3args ();
extern uint32_t zdr_GETACL3resok ();
extern uint32_t zdr_GETACL3res ();
extern uint32_t zdr_SETACL3args ();
extern uint32_t zdr_SETACL3resok ();
extern uint32_t zdr_SETACL3res ();

#endif /* K&R C */

#ifdef __cplusplus
}
#endif

#endif /* !_NFS_H_RPCGEN */