require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_NFS_PROT_H_RPCGEN)) {
    eval 'sub _NFS_PROT_H_RPCGEN () {1;}' unless defined(&_NFS_PROT_H_RPCGEN);
    eval 'sub RPCGEN_VERSION () {199506;}' unless defined(&RPCGEN_VERSION);
    require 'rpc/rpc.ph';
    eval 'sub NFS_PORT () {2049;}' unless defined(&NFS_PORT);
    eval 'sub NFS_MAXDATA () {8192;}' unless defined(&NFS_MAXDATA);
    eval 'sub NFS_MAXPATHLEN () {1024;}' unless defined(&NFS_MAXPATHLEN);
    eval 'sub NFS_MAXNAMLEN () {255;}' unless defined(&NFS_MAXNAMLEN);
    eval 'sub NFS_FHSIZE () {32;}' unless defined(&NFS_FHSIZE);
    eval 'sub NFS_COOKIESIZE () {4;}' unless defined(&NFS_COOKIESIZE);
    eval 'sub NFS_FIFO_DEV () {-1;}' unless defined(&NFS_FIFO_DEV);
    eval 'sub NFSMODE_FMT () {0170000;}' unless defined(&NFSMODE_FMT);
    eval 'sub NFSMODE_DIR () {0040000;}' unless defined(&NFSMODE_DIR);
    eval 'sub NFSMODE_CHR () {0020000;}' unless defined(&NFSMODE_CHR);
    eval 'sub NFSMODE_BLK () {0060000;}' unless defined(&NFSMODE_BLK);
    eval 'sub NFSMODE_REG () {0100000;}' unless defined(&NFSMODE_REG);
    eval 'sub NFSMODE_LNK () {0120000;}' unless defined(&NFSMODE_LNK);
    eval 'sub NFSMODE_SOCK () {0140000;}' unless defined(&NFSMODE_SOCK);
    eval 'sub NFSMODE_FIFO () {0010000;}' unless defined(&NFSMODE_FIFO);
    eval("sub NFS_OK () { 0; }") unless defined(&NFS_OK);
    eval("sub NFSERR_PERM () { 1; }") unless defined(&NFSERR_PERM);
    eval("sub NFSERR_NOENT () { 2; }") unless defined(&NFSERR_NOENT);
    eval("sub NFSERR_IO () { 5; }") unless defined(&NFSERR_IO);
    eval("sub NFSERR_NXIO () { 6; }") unless defined(&NFSERR_NXIO);
    eval("sub NFSERR_ACCES () { 13; }") unless defined(&NFSERR_ACCES);
    eval("sub NFSERR_EXIST () { 17; }") unless defined(&NFSERR_EXIST);
    eval("sub NFSERR_NODEV () { 19; }") unless defined(&NFSERR_NODEV);
    eval("sub NFSERR_NOTDIR () { 20; }") unless defined(&NFSERR_NOTDIR);
    eval("sub NFSERR_ISDIR () { 21; }") unless defined(&NFSERR_ISDIR);
    eval("sub NFSERR_FBIG () { 27; }") unless defined(&NFSERR_FBIG);
    eval("sub NFSERR_NOSPC () { 28; }") unless defined(&NFSERR_NOSPC);
    eval("sub NFSERR_ROFS () { 30; }") unless defined(&NFSERR_ROFS);
    eval("sub NFSERR_NAMETOOLONG () { 63; }") unless defined(&NFSERR_NAMETOOLONG);
    eval("sub NFSERR_NOTEMPTY () { 66; }") unless defined(&NFSERR_NOTEMPTY);
    eval("sub NFSERR_DQUOT () { 69; }") unless defined(&NFSERR_DQUOT);
    eval("sub NFSERR_STALE () { 70; }") unless defined(&NFSERR_STALE);
    eval("sub NFSERR_WFLUSH () { 99; }") unless defined(&NFSERR_WFLUSH);
    eval("sub NFNON () { 0; }") unless defined(&NFNON);
    eval("sub NFREG () { 1; }") unless defined(&NFREG);
    eval("sub NFDIR () { 2; }") unless defined(&NFDIR);
    eval("sub NFBLK () { 3; }") unless defined(&NFBLK);
    eval("sub NFCHR () { 4; }") unless defined(&NFCHR);
    eval("sub NFLNK () { 5; }") unless defined(&NFLNK);
    eval("sub NFSOCK () { 6; }") unless defined(&NFSOCK);
    eval("sub NFBAD () { 7; }") unless defined(&NFBAD);
    eval("sub NFFIFO () { 8; }") unless defined(&NFFIFO);
    eval 'sub NFS3_FHSIZE () {64;}' unless defined(&NFS3_FHSIZE);
    eval 'sub NFS3_COOKIEVERFSIZE () {8;}' unless defined(&NFS3_COOKIEVERFSIZE);
    eval 'sub NFS3_CREATEVERFSIZE () {8;}' unless defined(&NFS3_CREATEVERFSIZE);
    eval 'sub NFS3_WRITEVERFSIZE () {8;}' unless defined(&NFS3_WRITEVERFSIZE);
    eval("sub NFS3_OK () { 0; }") unless defined(&NFS3_OK);
    eval("sub NFS3ERR_PERM () { 1; }") unless defined(&NFS3ERR_PERM);
    eval("sub NFS3ERR_NOENT () { 2; }") unless defined(&NFS3ERR_NOENT);
    eval("sub NFS3ERR_IO () { 5; }") unless defined(&NFS3ERR_IO);
    eval("sub NFS3ERR_NXIO () { 6; }") unless defined(&NFS3ERR_NXIO);
    eval("sub NFS3ERR_ACCES () { 13; }") unless defined(&NFS3ERR_ACCES);
    eval("sub NFS3ERR_EXIST () { 17; }") unless defined(&NFS3ERR_EXIST);
    eval("sub NFS3ERR_XDEV () { 18; }") unless defined(&NFS3ERR_XDEV);
    eval("sub NFS3ERR_NODEV () { 19; }") unless defined(&NFS3ERR_NODEV);
    eval("sub NFS3ERR_NOTDIR () { 20; }") unless defined(&NFS3ERR_NOTDIR);
    eval("sub NFS3ERR_ISDIR () { 21; }") unless defined(&NFS3ERR_ISDIR);
    eval("sub NFS3ERR_INVAL () { 22; }") unless defined(&NFS3ERR_INVAL);
    eval("sub NFS3ERR_FBIG () { 27; }") unless defined(&NFS3ERR_FBIG);
    eval("sub NFS3ERR_NOSPC () { 28; }") unless defined(&NFS3ERR_NOSPC);
    eval("sub NFS3ERR_ROFS () { 30; }") unless defined(&NFS3ERR_ROFS);
    eval("sub NFS3ERR_MLINK () { 31; }") unless defined(&NFS3ERR_MLINK);
    eval("sub NFS3ERR_NAMETOOLONG () { 63; }") unless defined(&NFS3ERR_NAMETOOLONG);
    eval("sub NFS3ERR_NOTEMPTY () { 66; }") unless defined(&NFS3ERR_NOTEMPTY);
    eval("sub NFS3ERR_DQUOT () { 69; }") unless defined(&NFS3ERR_DQUOT);
    eval("sub NFS3ERR_STALE () { 70; }") unless defined(&NFS3ERR_STALE);
    eval("sub NFS3ERR_REMOTE () { 71; }") unless defined(&NFS3ERR_REMOTE);
    eval("sub NFS3ERR_BADHANDLE () { 10001; }") unless defined(&NFS3ERR_BADHANDLE);
    eval("sub NFS3ERR_NOT_SYNC () { 10002; }") unless defined(&NFS3ERR_NOT_SYNC);
    eval("sub NFS3ERR_BAD_COOKIE () { 10003; }") unless defined(&NFS3ERR_BAD_COOKIE);
    eval("sub NFS3ERR_NOTSUPP () { 10004; }") unless defined(&NFS3ERR_NOTSUPP);
    eval("sub NFS3ERR_TOOSMALL () { 10005; }") unless defined(&NFS3ERR_TOOSMALL);
    eval("sub NFS3ERR_SERVERFAULT () { 10006; }") unless defined(&NFS3ERR_SERVERFAULT);
    eval("sub NFS3ERR_BADTYPE () { 10007; }") unless defined(&NFS3ERR_BADTYPE);
    eval("sub NFS3ERR_JUKEBOX () { 10008; }") unless defined(&NFS3ERR_JUKEBOX);
    eval("sub NF3REG () { 1; }") unless defined(&NF3REG);
    eval("sub NF3DIR () { 2; }") unless defined(&NF3DIR);
    eval("sub NF3BLK () { 3; }") unless defined(&NF3BLK);
    eval("sub NF3CHR () { 4; }") unless defined(&NF3CHR);
    eval("sub NF3LNK () { 5; }") unless defined(&NF3LNK);
    eval("sub NF3SOCK () { 6; }") unless defined(&NF3SOCK);
    eval("sub NF3FIFO () { 7; }") unless defined(&NF3FIFO);
    eval("sub DONT_CHANGE () { 0; }") unless defined(&DONT_CHANGE);
    eval("sub SET_TO_SERVER_TIME () { 1; }") unless defined(&SET_TO_SERVER_TIME);
    eval("sub SET_TO_CLIENT_TIME () { 2; }") unless defined(&SET_TO_CLIENT_TIME);
    eval 'sub ACCESS3_READ () {0x1;}' unless defined(&ACCESS3_READ);
    eval 'sub ACCESS3_LOOKUP () {0x2;}' unless defined(&ACCESS3_LOOKUP);
    eval 'sub ACCESS3_MODIFY () {0x4;}' unless defined(&ACCESS3_MODIFY);
    eval 'sub ACCESS3_EXTEND () {0x8;}' unless defined(&ACCESS3_EXTEND);
    eval 'sub ACCESS3_DELETE () {0x10;}' unless defined(&ACCESS3_DELETE);
    eval 'sub ACCESS3_EXECUTE () {0x20;}' unless defined(&ACCESS3_EXECUTE);
    eval("sub UNSTABLE () { 0; }") unless defined(&UNSTABLE);
    eval("sub DATA_SYNC () { 1; }") unless defined(&DATA_SYNC);
    eval("sub FILE_SYNC () { 2; }") unless defined(&FILE_SYNC);
    eval("sub UNCHECKED () { 0; }") unless defined(&UNCHECKED);
    eval("sub GUARDED () { 1; }") unless defined(&GUARDED);
    eval("sub EXCLUSIVE () { 2; }") unless defined(&EXCLUSIVE);
    eval 'sub FSF3_LINK () {0x1;}' unless defined(&FSF3_LINK);
    eval 'sub FSF3_SYMLINK () {0x2;}' unless defined(&FSF3_SYMLINK);
    eval 'sub FSF3_HOMOGENEOUS () {0x8;}' unless defined(&FSF3_HOMOGENEOUS);
    eval 'sub FSF3_CANSETTIME () {0x10;}' unless defined(&FSF3_CANSETTIME);
    eval 'sub NFS_PROGRAM () {100003;}' unless defined(&NFS_PROGRAM);
    eval 'sub NFS_VERSION () {2;}' unless defined(&NFS_VERSION);
    eval 'sub NFSPROC_NULL () {0;}' unless defined(&NFSPROC_NULL);
    eval 'sub NFSPROC_GETATTR () {1;}' unless defined(&NFSPROC_GETATTR);
    eval 'sub NFSPROC_SETATTR () {2;}' unless defined(&NFSPROC_SETATTR);
    eval 'sub NFSPROC_ROOT () {3;}' unless defined(&NFSPROC_ROOT);
    eval 'sub NFSPROC_LOOKUP () {4;}' unless defined(&NFSPROC_LOOKUP);
    eval 'sub NFSPROC_READLINK () {5;}' unless defined(&NFSPROC_READLINK);
    eval 'sub NFSPROC_READ () {6;}' unless defined(&NFSPROC_READ);
    eval 'sub NFSPROC_WRITECACHE () {7;}' unless defined(&NFSPROC_WRITECACHE);
    eval 'sub NFSPROC_WRITE () {8;}' unless defined(&NFSPROC_WRITE);
    eval 'sub NFSPROC_CREATE () {9;}' unless defined(&NFSPROC_CREATE);
    eval 'sub NFSPROC_REMOVE () {10;}' unless defined(&NFSPROC_REMOVE);
    eval 'sub NFSPROC_RENAME () {11;}' unless defined(&NFSPROC_RENAME);
    eval 'sub NFSPROC_LINK () {12;}' unless defined(&NFSPROC_LINK);
    eval 'sub NFSPROC_SYMLINK () {13;}' unless defined(&NFSPROC_SYMLINK);
    eval 'sub NFSPROC_MKDIR () {14;}' unless defined(&NFSPROC_MKDIR);
    eval 'sub NFSPROC_RMDIR () {15;}' unless defined(&NFSPROC_RMDIR);
    eval 'sub NFSPROC_READDIR () {16;}' unless defined(&NFSPROC_READDIR);
    eval 'sub NFSPROC_STATFS () {17;}' unless defined(&NFSPROC_STATFS);
    eval 'sub NFS_V3 () {3;}' unless defined(&NFS_V3);
    eval 'sub NFSPROC3_NULL () {0;}' unless defined(&NFSPROC3_NULL);
    eval 'sub NFSPROC3_GETATTR () {1;}' unless defined(&NFSPROC3_GETATTR);
    eval 'sub NFSPROC3_SETATTR () {2;}' unless defined(&NFSPROC3_SETATTR);
    eval 'sub NFSPROC3_LOOKUP () {3;}' unless defined(&NFSPROC3_LOOKUP);
    eval 'sub NFSPROC3_ACCESS () {4;}' unless defined(&NFSPROC3_ACCESS);
    eval 'sub NFSPROC3_READLINK () {5;}' unless defined(&NFSPROC3_READLINK);
    eval 'sub NFSPROC3_READ () {6;}' unless defined(&NFSPROC3_READ);
    eval 'sub NFSPROC3_WRITE () {7;}' unless defined(&NFSPROC3_WRITE);
    eval 'sub NFSPROC3_CREATE () {8;}' unless defined(&NFSPROC3_CREATE);
    eval 'sub NFSPROC3_MKDIR () {9;}' unless defined(&NFSPROC3_MKDIR);
    eval 'sub NFSPROC3_SYMLINK () {10;}' unless defined(&NFSPROC3_SYMLINK);
    eval 'sub NFSPROC3_MKNOD () {11;}' unless defined(&NFSPROC3_MKNOD);
    eval 'sub NFSPROC3_REMOVE () {12;}' unless defined(&NFSPROC3_REMOVE);
    eval 'sub NFSPROC3_RMDIR () {13;}' unless defined(&NFSPROC3_RMDIR);
    eval 'sub NFSPROC3_RENAME () {14;}' unless defined(&NFSPROC3_RENAME);
    eval 'sub NFSPROC3_LINK () {15;}' unless defined(&NFSPROC3_LINK);
    eval 'sub NFSPROC3_READDIR () {16;}' unless defined(&NFSPROC3_READDIR);
    eval 'sub NFSPROC3_READDIRPLUS () {17;}' unless defined(&NFSPROC3_READDIRPLUS);
    eval 'sub NFSPROC3_FSSTAT () {18;}' unless defined(&NFSPROC3_FSSTAT);
    eval 'sub NFSPROC3_FSINFO () {19;}' unless defined(&NFSPROC3_FSINFO);
    eval 'sub NFSPROC3_PATHCONF () {20;}' unless defined(&NFSPROC3_PATHCONF);
    eval 'sub NFSPROC3_COMMIT () {21;}' unless defined(&NFSPROC3_COMMIT);
}
1;
