require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_NTFS_NTFS_INODE_H_)) {
    eval 'sub _NTFS_NTFS_INODE_H_ () {1;}' unless defined(&_NTFS_NTFS_INODE_H_);
    require 'miscfs/genfs/genfs_node.ph';
    eval 'sub IN_ACCESS () {0x1;}' unless defined(&IN_ACCESS);
    eval 'sub IN_CHANGE () {0x2;}' unless defined(&IN_CHANGE);
    eval 'sub IN_EXLOCK () {0x4;}' unless defined(&IN_EXLOCK);
    eval 'sub IN_LOCKED () {0x8;}' unless defined(&IN_LOCKED);
    eval 'sub IN_LWAIT () {0x10;}' unless defined(&IN_LWAIT);
    eval 'sub IN_MODIFIED () {0x20;}' unless defined(&IN_MODIFIED);
    eval 'sub IN_RENAME () {0x40;}' unless defined(&IN_RENAME);
    eval 'sub IN_SHLOCK () {0x80;}' unless defined(&IN_SHLOCK);
    eval 'sub IN_UPDATE () {0x100;}' unless defined(&IN_UPDATE);
    eval 'sub IN_WANTED () {0x200;}' unless defined(&IN_WANTED);
    eval 'sub IN_RECURSE () {0x400;}' unless defined(&IN_RECURSE);
    eval 'sub IN_HASHED () {0x800;}' unless defined(&IN_HASHED);
    eval 'sub IN_LOADED () {0x8000;}' unless defined(&IN_LOADED);
    eval 'sub IN_PRELOADED () {0x4000;}' unless defined(&IN_PRELOADED);
    eval 'sub NTKEY_SIZE {
        my($attrlen) = @_;
	    eval q(($sizeof{\'struct ntkey\'} + ($attrlen)));
    }' unless defined(&NTKEY_SIZE);
    eval 'sub f_ino () { ($f_key->{k_ino});}' unless defined(&f_ino);
    eval 'sub f_attrtype () { ($f_key->{k_attrtype});}' unless defined(&f_attrtype);
    eval 'sub f_attrname () { ($f_key->{k_attrname});}' unless defined(&f_attrname);
    if(defined(&notyet)) {
    }
}
1;
