require '_h2ph_pre.ph';

unless(defined(&_LINUX_NCP_FS_H)) {
    eval 'sub _LINUX_NCP_FS_H () {1;}' unless defined(&_LINUX_NCP_FS_H);
    require 'linux/fs.ph';
    require 'linux/in.ph';
    require 'linux/types.ph';
    require 'linux/ipx.ph';
    require 'linux/ncp_no.ph';
    eval 'sub NCP_LOCK_LOG () {0;}' unless defined(&NCP_LOCK_LOG);
    eval 'sub NCP_LOCK_SH () {1;}' unless defined(&NCP_LOCK_SH);
    eval 'sub NCP_LOCK_EX () {2;}' unless defined(&NCP_LOCK_EX);
    eval 'sub NCP_LOCK_CLEAR () {256;}' unless defined(&NCP_LOCK_CLEAR);
    eval 'sub NCP_LOCK_DEFAULT_TIMEOUT () {18;}' unless defined(&NCP_LOCK_DEFAULT_TIMEOUT);
    eval 'sub NCP_LOCK_MAX_TIMEOUT () {180;}' unless defined(&NCP_LOCK_MAX_TIMEOUT);
    eval 'sub NCP_AUTH_NONE () {0x;}' unless defined(&NCP_AUTH_NONE);
    eval 'sub NCP_AUTH_BIND () {0x31;}' unless defined(&NCP_AUTH_BIND);
    eval 'sub NCP_AUTH_NDS () {0x32;}' unless defined(&NCP_AUTH_NDS);
    eval 'sub NCP_IOCSNAME_LEN () {20;}' unless defined(&NCP_IOCSNAME_LEN);
    eval 'sub NCP_IOC_NCPREQUEST () { &_IOR(ord(\'n\'), 1, \'struct ncp_ioctl_request\');}' unless defined(&NCP_IOC_NCPREQUEST);
    eval 'sub NCP_IOC_GETMOUNTUID () { &_IOW(ord(\'n\'), 2,  &__kernel_old_uid_t);}' unless defined(&NCP_IOC_GETMOUNTUID);
    eval 'sub NCP_IOC_GETMOUNTUID2 () { &_IOW(ord(\'n\'), 2, \'unsigned long\');}' unless defined(&NCP_IOC_GETMOUNTUID2);
    eval 'sub NCP_IOC_CONN_LOGGED_IN () { &_IO(ord(\'n\'), 3);}' unless defined(&NCP_IOC_CONN_LOGGED_IN);
    eval 'sub NCP_GET_FS_INFO_VERSION () {(1);}' unless defined(&NCP_GET_FS_INFO_VERSION);
    eval 'sub NCP_IOC_GET_FS_INFO () { &_IOWR(ord(\'n\'), 4, \'struct ncp_fs_info\');}' unless defined(&NCP_IOC_GET_FS_INFO);
    eval 'sub NCP_GET_FS_INFO_VERSION_V2 () {(2);}' unless defined(&NCP_GET_FS_INFO_VERSION_V2);
    eval 'sub NCP_IOC_GET_FS_INFO_V2 () { &_IOWR(ord(\'n\'), 4, \'struct ncp_fs_info_v2\');}' unless defined(&NCP_IOC_GET_FS_INFO_V2);
    eval 'sub NCP_IOC_SIGN_INIT () { &_IOR(ord(\'n\'), 5, \'struct ncp_sign_init\');}' unless defined(&NCP_IOC_SIGN_INIT);
    eval 'sub NCP_IOC_SIGN_WANTED () { &_IOR(ord(\'n\'), 6, \'int\');}' unless defined(&NCP_IOC_SIGN_WANTED);
    eval 'sub NCP_IOC_SET_SIGN_WANTED () { &_IOW(ord(\'n\'), 6, \'int\');}' unless defined(&NCP_IOC_SET_SIGN_WANTED);
    eval 'sub NCP_IOC_LOCKUNLOCK () { &_IOR(ord(\'n\'), 7, \'struct ncp_lock_ioctl\');}' unless defined(&NCP_IOC_LOCKUNLOCK);
    eval 'sub NCP_IOC_GETROOT () { &_IOW(ord(\'n\'), 8, \'struct ncp_setroot_ioctl\');}' unless defined(&NCP_IOC_GETROOT);
    eval 'sub NCP_IOC_SETROOT () { &_IOR(ord(\'n\'), 8, \'struct ncp_setroot_ioctl\');}' unless defined(&NCP_IOC_SETROOT);
    eval 'sub NCP_IOC_GETOBJECTNAME () { &_IOWR(ord(\'n\'), 9, \'struct ncp_objectname_ioctl\');}' unless defined(&NCP_IOC_GETOBJECTNAME);
    eval 'sub NCP_IOC_SETOBJECTNAME () { &_IOR(ord(\'n\'), 9, \'struct ncp_objectname_ioctl\');}' unless defined(&NCP_IOC_SETOBJECTNAME);
    eval 'sub NCP_IOC_GETPRIVATEDATA () { &_IOWR(ord(\'n\'), 10, \'struct ncp_privatedata_ioctl\');}' unless defined(&NCP_IOC_GETPRIVATEDATA);
    eval 'sub NCP_IOC_SETPRIVATEDATA () { &_IOR(ord(\'n\'), 10, \'struct ncp_privatedata_ioctl\');}' unless defined(&NCP_IOC_SETPRIVATEDATA);
    eval 'sub NCP_IOC_GETCHARSETS () { &_IOWR(ord(\'n\'), 11, \'struct ncp_nls_ioctl\');}' unless defined(&NCP_IOC_GETCHARSETS);
    eval 'sub NCP_IOC_SETCHARSETS () { &_IOR(ord(\'n\'), 11, \'struct ncp_nls_ioctl\');}' unless defined(&NCP_IOC_SETCHARSETS);
    eval 'sub NCP_IOC_GETDENTRYTTL () { &_IOW(ord(\'n\'), 12,  &__u32);}' unless defined(&NCP_IOC_GETDENTRYTTL);
    eval 'sub NCP_IOC_SETDENTRYTTL () { &_IOR(ord(\'n\'), 12,  &__u32);}' unless defined(&NCP_IOC_SETDENTRYTTL);
    eval 'sub NCP_PACKET_SIZE () {4070;}' unless defined(&NCP_PACKET_SIZE);
    eval 'sub NCP_MAXPATHLEN () {255;}' unless defined(&NCP_MAXPATHLEN);
    eval 'sub NCP_MAXNAMELEN () {14;}' unless defined(&NCP_MAXNAMELEN);
}
1;
