require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_SYS_MOUNT_H_)) {
    eval 'sub _SYS_MOUNT_H_ () {1;}' unless defined(&_SYS_MOUNT_H_);
    require 'sys/cdefs.ph';
    unless(defined(&_KERNEL)) {
	require 'sys/ucred.ph';
    }
    require 'sys/queue.ph';
    require 'sys/rwlock.ph';
    eval 'sub MAXFIDSZ () {16;}' unless defined(&MAXFIDSZ);
    eval 'sub ISOFSMNT_NORRIP () {0x1;}' unless defined(&ISOFSMNT_NORRIP);
    eval 'sub ISOFSMNT_GENS () {0x2;}' unless defined(&ISOFSMNT_GENS);
    eval 'sub ISOFSMNT_EXTATT () {0x4;}' unless defined(&ISOFSMNT_EXTATT);
    eval 'sub ISOFSMNT_NOJOLIET () {0x8;}' unless defined(&ISOFSMNT_NOJOLIET);
    eval 'sub NFS_ARGSVERSION () {4;}' unless defined(&NFS_ARGSVERSION);
    unless(defined(&_KERNEL)) {
	eval 'sub NFSMNT_RESVPORT () {0x;}' unless defined(&NFSMNT_RESVPORT);
    }
    eval 'sub NFSMNT_SOFT () {0x1;}' unless defined(&NFSMNT_SOFT);
    eval 'sub NFSMNT_WSIZE () {0x2;}' unless defined(&NFSMNT_WSIZE);
    eval 'sub NFSMNT_RSIZE () {0x4;}' unless defined(&NFSMNT_RSIZE);
    eval 'sub NFSMNT_TIMEO () {0x8;}' unless defined(&NFSMNT_TIMEO);
    eval 'sub NFSMNT_RETRANS () {0x10;}' unless defined(&NFSMNT_RETRANS);
    eval 'sub NFSMNT_MAXGRPS () {0x20;}' unless defined(&NFSMNT_MAXGRPS);
    eval 'sub NFSMNT_INT () {0x40;}' unless defined(&NFSMNT_INT);
    eval 'sub NFSMNT_NOCONN () {0x80;}' unless defined(&NFSMNT_NOCONN);
    eval 'sub NFSMNT_NQNFS () {0x100;}' unless defined(&NFSMNT_NQNFS);
    eval 'sub NFSMNT_NFSV3 () {0x200;}' unless defined(&NFSMNT_NFSV3);
    eval 'sub NFSMNT_KERB () {0x400;}' unless defined(&NFSMNT_KERB);
    eval 'sub NFSMNT_DUMBTIMR () {0x800;}' unless defined(&NFSMNT_DUMBTIMR);
    eval 'sub NFSMNT_LEASETERM () {0x1000;}' unless defined(&NFSMNT_LEASETERM);
    eval 'sub NFSMNT_READAHEAD () {0x2000;}' unless defined(&NFSMNT_READAHEAD);
    eval 'sub NFSMNT_DEADTHRESH () {0x4000;}' unless defined(&NFSMNT_DEADTHRESH);
    if(defined(&_KERNEL)) {
	eval 'sub NFSMNT_NOAC () {0x8000;}' unless defined(&NFSMNT_NOAC);
    }
    eval 'sub NFSMNT_RDIRPLUS () {0x10000;}' unless defined(&NFSMNT_RDIRPLUS);
    eval 'sub NFSMNT_READDIRSIZE () {0x20000;}' unless defined(&NFSMNT_READDIRSIZE);
    eval 'sub NFSMNT_ACREGMIN () {0x40000;}' unless defined(&NFSMNT_ACREGMIN);
    eval 'sub NFSMNT_ACREGMAX () {0x80000;}' unless defined(&NFSMNT_ACREGMAX);
    eval 'sub NFSMNT_ACDIRMIN () {0x100000;}' unless defined(&NFSMNT_ACDIRMIN);
    eval 'sub NFSMNT_ACDIRMAX () {0x200000;}' unless defined(&NFSMNT_ACDIRMAX);
    eval 'sub NFSMNT_INTERNAL () {0xfffc0000;}' unless defined(&NFSMNT_INTERNAL);
    eval 'sub NFSMNT_HASWRITEVERF () {0x40000;}' unless defined(&NFSMNT_HASWRITEVERF);
    eval 'sub NFSMNT_GOTPATHCONF () {0x80000;}' unless defined(&NFSMNT_GOTPATHCONF);
    eval 'sub NFSMNT_GOTFSINFO () {0x100000;}' unless defined(&NFSMNT_GOTFSINFO);
    eval 'sub NFSMNT_MNTD () {0x200000;}' unless defined(&NFSMNT_MNTD);
    eval 'sub NFSMNT_DISMINPROG () {0x400000;}' unless defined(&NFSMNT_DISMINPROG);
    eval 'sub NFSMNT_DISMNT () {0x800000;}' unless defined(&NFSMNT_DISMNT);
    eval 'sub NFSMNT_SNDLOCK () {0x1000000;}' unless defined(&NFSMNT_SNDLOCK);
    eval 'sub NFSMNT_WANTSND () {0x2000000;}' unless defined(&NFSMNT_WANTSND);
    eval 'sub NFSMNT_RCVLOCK () {0x4000000;}' unless defined(&NFSMNT_RCVLOCK);
    eval 'sub NFSMNT_WANTRCV () {0x8000000;}' unless defined(&NFSMNT_WANTRCV);
    eval 'sub NFSMNT_WAITAUTH () {0x10000000;}' unless defined(&NFSMNT_WAITAUTH);
    eval 'sub NFSMNT_HASAUTH () {0x20000000;}' unless defined(&NFSMNT_HASAUTH);
    eval 'sub NFSMNT_WANTAUTH () {0x40000000;}' unless defined(&NFSMNT_WANTAUTH);
    eval 'sub NFSMNT_AUTHERR () {0x80000000;}' unless defined(&NFSMNT_AUTHERR);
    eval 'sub MSDOSFSMNT_SHORTNAME () {0x1;}' unless defined(&MSDOSFSMNT_SHORTNAME);
    eval 'sub MSDOSFSMNT_LONGNAME () {0x2;}' unless defined(&MSDOSFSMNT_LONGNAME);
    eval 'sub MSDOSFSMNT_NOWIN95 () {0x4;}' unless defined(&MSDOSFSMNT_NOWIN95);
    eval 'sub MSDOSFSMNT_ALLOWDIRX () {0x10;}' unless defined(&MSDOSFSMNT_ALLOWDIRX);
    eval 'sub NTFS_MFLAG_CASEINS () {0x1;}' unless defined(&NTFS_MFLAG_CASEINS);
    eval 'sub NTFS_MFLAG_ALLNAMES () {0x2;}' unless defined(&NTFS_MFLAG_ALLNAMES);
    eval 'sub PROCFS_ARGSVERSION () {1;}' unless defined(&PROCFS_ARGSVERSION);
    eval 'sub PROCFSMNT_LINUXCOMPAT () {0x1;}' unless defined(&PROCFSMNT_LINUXCOMPAT);
    eval 'sub MFSNAMELEN () {16;}' unless defined(&MFSNAMELEN);
    eval 'sub MNAMELEN () {90;}' unless defined(&MNAMELEN);
    eval 'sub MOUNT_FFS () {"ffs";}' unless defined(&MOUNT_FFS);
    eval 'sub MOUNT_FFS2 () {"ffs2";}' unless defined(&MOUNT_FFS2);
    eval 'sub MOUNT_UFS () { &MOUNT_FFS;}' unless defined(&MOUNT_UFS);
    eval 'sub MOUNT_NFS () {"nfs";}' unless defined(&MOUNT_NFS);
    eval 'sub MOUNT_MFS () {"mfs";}' unless defined(&MOUNT_MFS);
    eval 'sub MOUNT_MSDOS () {"msdos";}' unless defined(&MOUNT_MSDOS);
    eval 'sub MOUNT_PORTAL () {"portal";}' unless defined(&MOUNT_PORTAL);
    eval 'sub MOUNT_PROCFS () {"procfs";}' unless defined(&MOUNT_PROCFS);
    eval 'sub MOUNT_AFS () {"afs";}' unless defined(&MOUNT_AFS);
    eval 'sub MOUNT_CD9660 () {"cd9660";}' unless defined(&MOUNT_CD9660);
    eval 'sub MOUNT_ADOSFS () {"adosfs";}' unless defined(&MOUNT_ADOSFS);
    eval 'sub MOUNT_EXT2FS () {"ext2fs";}' unless defined(&MOUNT_EXT2FS);
    eval 'sub MOUNT_NCPFS () {"ncpfs";}' unless defined(&MOUNT_NCPFS);
    eval 'sub MOUNT_XFS () {"xfs";}' unless defined(&MOUNT_XFS);
    eval 'sub MOUNT_NTFS () {"ntfs";}' unless defined(&MOUNT_NTFS);
    eval 'sub MOUNT_UDF () {"udf";}' unless defined(&MOUNT_UDF);
    eval 'sub MNT_RDONLY () {0x1;}' unless defined(&MNT_RDONLY);
    eval 'sub MNT_SYNCHRONOUS () {0x2;}' unless defined(&MNT_SYNCHRONOUS);
    eval 'sub MNT_NOEXEC () {0x4;}' unless defined(&MNT_NOEXEC);
    eval 'sub MNT_NOSUID () {0x8;}' unless defined(&MNT_NOSUID);
    eval 'sub MNT_NODEV () {0x10;}' unless defined(&MNT_NODEV);
    eval 'sub MNT_ASYNC () {0x40;}' unless defined(&MNT_ASYNC);
    eval 'sub MNT_EXRDONLY () {0x80;}' unless defined(&MNT_EXRDONLY);
    eval 'sub MNT_EXPORTED () {0x100;}' unless defined(&MNT_EXPORTED);
    eval 'sub MNT_DEFEXPORTED () {0x200;}' unless defined(&MNT_DEFEXPORTED);
    eval 'sub MNT_EXPORTANON () {0x400;}' unless defined(&MNT_EXPORTANON);
    eval 'sub MNT_EXKERB () {0x800;}' unless defined(&MNT_EXKERB);
    eval 'sub MNT_LOCAL () {0x1000;}' unless defined(&MNT_LOCAL);
    eval 'sub MNT_QUOTA () {0x2000;}' unless defined(&MNT_QUOTA);
    eval 'sub MNT_ROOTFS () {0x4000;}' unless defined(&MNT_ROOTFS);
    eval 'sub MNT_NOATIME () {0x8000;}' unless defined(&MNT_NOATIME);
    eval 'sub MNT_VISFLAGMASK () {0x400ffff;}' unless defined(&MNT_VISFLAGMASK);
    eval 'sub MNT_BITS () {"\\010\\001RDONLY\\002SYNCHRONOUS\\003NOEXEC\\004NOSUID\\005NODEV" "\\007ASYNC\\010EXRDONLY\\011EXPORTED\\012DEFEXPORTED\\013EXPORTANON" "\\014EXKERB\\015LOCAL\\016QUOTA\\017ROOTFS";}' unless defined(&MNT_BITS);
    eval 'sub MNT_UPDATE () {0x10000;}' unless defined(&MNT_UPDATE);
    eval 'sub MNT_DELEXPORT () {0x20000;}' unless defined(&MNT_DELEXPORT);
    eval 'sub MNT_RELOAD () {0x40000;}' unless defined(&MNT_RELOAD);
    eval 'sub MNT_FORCE () {0x80000;}' unless defined(&MNT_FORCE);
    eval 'sub MNT_WANTRDWR () {0x2000000;}' unless defined(&MNT_WANTRDWR);
    eval 'sub MNT_SOFTDEP () {0x4000000;}' unless defined(&MNT_SOFTDEP);
    eval 'sub MNT_DOOMED () {0x8000000;}' unless defined(&MNT_DOOMED);
    eval 'sub VFS_GENERIC () {0;}' unless defined(&VFS_GENERIC);
    eval 'sub VFS_MAXTYPENUM () {1;}' unless defined(&VFS_MAXTYPENUM);
    eval 'sub VFS_CONF () {2;}' unless defined(&VFS_CONF);
    eval 'sub CTL_VFSGENCTL_NAMES () {{ { 0, 0}, { "maxtypenum",  &CTLTYPE_INT }, { "conf",  &CTLTYPE_NODE } };}' unless defined(&CTL_VFSGENCTL_NAMES);
    if(defined(&_KERNEL)) {
	if(defined(&__STDC__)) {
	}
	eval 'sub VFS_MOUNT {
	    my($MP, $PATH, $DATA, $NDP, $P) = @_;
    	    eval q((*($MP)-> ($mnt_op->{vfs_mount}))($MP, $PATH, $DATA, $NDP, $P));
	}' unless defined(&VFS_MOUNT);
	eval 'sub VFS_START {
	    my($MP, $FLAGS, $P) = @_;
    	    eval q((*($MP)-> ($mnt_op->{vfs_start}))($MP, $FLAGS, $P));
	}' unless defined(&VFS_START);
	eval 'sub VFS_UNMOUNT {
	    my($MP, $FORCE, $P) = @_;
    	    eval q((*($MP)-> ($mnt_op->{vfs_unmount}))($MP, $FORCE, $P));
	}' unless defined(&VFS_UNMOUNT);
	eval 'sub VFS_ROOT {
	    my($MP, $VPP) = @_;
    	    eval q((*($MP)-> ($mnt_op->{vfs_root}))($MP, $VPP));
	}' unless defined(&VFS_ROOT);
	eval 'sub VFS_QUOTACTL {
	    my($MP,$C,$U,$A,$P) = @_;
    	    eval q((*($MP)-> ($mnt_op->{vfs_quotactl}))($MP, $C, $U, $A, $P));
	}' unless defined(&VFS_QUOTACTL);
	eval 'sub VFS_STATFS {
	    my($MP, $SBP, $P) = @_;
    	    eval q((*($MP)-> ($mnt_op->{vfs_statfs}))($MP, $SBP, $P));
	}' unless defined(&VFS_STATFS);
	eval 'sub VFS_SYNC {
	    my($MP, $WAIT, $C, $P) = @_;
    	    eval q((*($MP)-> ($mnt_op->{vfs_sync}))($MP, $WAIT, $C, $P));
	}' unless defined(&VFS_SYNC);
	eval 'sub VFS_VGET {
	    my($MP, $INO, $VPP) = @_;
    	    eval q((*($MP)-> ($mnt_op->{vfs_vget}))($MP, $INO, $VPP));
	}' unless defined(&VFS_VGET);
	eval 'sub VFS_FHTOVP {
	    my($MP, $FIDP, $VPP) = @_;
    	    eval q((*($MP)-> ($mnt_op->{vfs_fhtovp}))($MP, $FIDP, $VPP));
	}' unless defined(&VFS_FHTOVP);
	eval 'sub VFS_VPTOFH {
	    my($VP, $FIDP) = @_;
    	    eval q((*($VP)-> ($v_mount->{mnt_op}->{vfs_vptofh}))($VP, $FIDP));
	}' unless defined(&VFS_VPTOFH);
	eval 'sub VFS_CHECKEXP {
	    my($MP, $NAM, $EXFLG, $CRED) = @_;
    	    eval q((*($MP)-> ($mnt_op->{vfs_checkexp}))($MP, $NAM, $EXFLG, $CRED));
	}' unless defined(&VFS_CHECKEXP);
    }
    eval 'sub MNT_WAIT () {1;}' unless defined(&MNT_WAIT);
    eval 'sub MNT_NOWAIT () {2;}' unless defined(&MNT_NOWAIT);
    eval 'sub MNT_LAZY () {3;}' unless defined(&MNT_LAZY);
    if(defined(&_KERNEL)) {
	require 'net/radix.ph';
	require 'sys/socket.ph';
    }
    if(defined(&_KERNEL)) {
	eval 'sub VB_READ () {0x1;}' unless defined(&VB_READ);
	eval 'sub VB_WRITE () {0x2;}' unless defined(&VB_WRITE);
	eval 'sub VB_NOWAIT () {0x4;}' unless defined(&VB_NOWAIT);
	eval 'sub VB_WAIT () {0x8;}' unless defined(&VB_WAIT);
	if(defined(&DEBUG)) {
	}
    } else {
	unless(defined(&_SYS_STAT_H_)) {
	}
	if((defined(&__BSD_VISIBLE) ? &__BSD_VISIBLE : 0)) {
	}
    }
}
1;
