require '_h2ph_pre.ph';

no warnings qw(redefine misc);

require 'sys/ioccom.ph';
eval 'sub WTQICMD () { &_IO(ord(\'W\'), 0);}' unless defined(&WTQICMD);
eval 'sub QIC_ERASE () {0x22;}' unless defined(&QIC_ERASE);
eval 'sub QIC_RETENS () {0x24;}' unless defined(&QIC_RETENS);
eval 'sub QIC_RDDATA () {0x80;}' unless defined(&QIC_RDDATA);
eval 'sub QIC_READFM () {0xa0;}' unless defined(&QIC_READFM);
eval 'sub QIC_WRTDATA () {0x40;}' unless defined(&QIC_WRTDATA);
eval 'sub QIC_WRITEFM () {0x60;}' unless defined(&QIC_WRITEFM);
eval 'sub QIC_RDSTAT () {0xc0;}' unless defined(&QIC_RDSTAT);
eval 'sub QIC_REWIND () {0x21;}' unless defined(&QIC_REWIND);
eval 'sub QIC_FMT11 () {0x26;}' unless defined(&QIC_FMT11);
eval 'sub QIC_FMT24 () {0x27;}' unless defined(&QIC_FMT24);
eval 'sub QIC_FMT120 () {0x28;}' unless defined(&QIC_FMT120);
eval 'sub QIC_FMT150 () {0x29;}' unless defined(&QIC_FMT150);
eval 'sub QIC_FMT300 () {0x2a;}' unless defined(&QIC_FMT300);
eval 'sub QIC_FMT600 () {0x2b;}' unless defined(&QIC_FMT600);
eval 'sub TPINUSE () {0x1;}' unless defined(&TPINUSE);
eval 'sub TPREAD () {0x2;}' unless defined(&TPREAD);
eval 'sub TPWRITE () {0x4;}' unless defined(&TPWRITE);
eval 'sub TPSTART () {0x8;}' unless defined(&TPSTART);
eval 'sub TPRMARK () {0x10;}' unless defined(&TPRMARK);
eval 'sub TPWMARK () {0x20;}' unless defined(&TPWMARK);
eval 'sub TPREW () {0x40;}' unless defined(&TPREW);
eval 'sub TPEXCEP () {0x80;}' unless defined(&TPEXCEP);
eval 'sub TPVOL () {0x100;}' unless defined(&TPVOL);
eval 'sub TPWO () {0x200;}' unless defined(&TPWO);
eval 'sub TPRO () {0x400;}' unless defined(&TPRO);
eval 'sub TPWANY () {0x800;}' unless defined(&TPWANY);
eval 'sub TPRANY () {0x1000;}' unless defined(&TPRANY);
eval 'sub TPWP () {0x2000;}' unless defined(&TPWP);
eval 'sub TPTIMER () {0x4000;}' unless defined(&TPTIMER);
eval 'sub TPACTIVE () {0x8000;}' unless defined(&TPACTIVE);
eval 'sub TP_FIL () {0x1;}' unless defined(&TP_FIL);
eval 'sub TP_BNL () {0x2;}' unless defined(&TP_BNL);
eval 'sub TP_UDA () {0x4;}' unless defined(&TP_UDA);
eval 'sub TP_EOM () {0x8;}' unless defined(&TP_EOM);
eval 'sub TP_WRP () {0x10;}' unless defined(&TP_WRP);
eval 'sub TP_USL () {0x20;}' unless defined(&TP_USL);
eval 'sub TP_CNI () {0x40;}' unless defined(&TP_CNI);
eval 'sub TP_ST0 () {0x80;}' unless defined(&TP_ST0);
eval 'sub TP_ST0MASK () {0xff;}' unless defined(&TP_ST0MASK);
eval 'sub TP_POR () {0x100;}' unless defined(&TP_POR);
eval 'sub TP_ERM () {0x200;}' unless defined(&TP_ERM);
eval 'sub TP_BPE () {0x400;}' unless defined(&TP_BPE);
eval 'sub TP_BOM () {0x800;}' unless defined(&TP_BOM);
eval 'sub TP_MBD () {0x1000;}' unless defined(&TP_MBD);
eval 'sub TP_NDT () {0x2000;}' unless defined(&TP_NDT);
eval 'sub TP_ILL () {0x4000;}' unless defined(&TP_ILL);
eval 'sub TP_ST1 () {0x8000;}' unless defined(&TP_ST1);
eval 'sub TP_ST1MASK () {0xff00;}' unless defined(&TP_ST1MASK);
eval 'sub WTDS_BITS () {"\\20\\1inuse\\2read\\3write\\4start\\5rmark\\6wmark\\7rew\\10excep\\11vol\\12wo\\13ro\\14wany\\15rany\\16wp\\17timer\\20active";}' unless defined(&WTDS_BITS);
eval 'sub WTER_BITS () {"\\20\\1eof\\2bnl\\3uda\\4eom\\5wrp\\6usl\\7cni\\11por\\12erm\\13bpe\\14bom\\15mbd\\16ndt\\17ill";}' unless defined(&WTER_BITS);
eval 'sub WT_BSIZE () {0100;}' unless defined(&WT_BSIZE);
eval 'sub WT_DENSEL () {0070;}' unless defined(&WT_DENSEL);
eval 'sub WT_DENSDFLT () {0000;}' unless defined(&WT_DENSDFLT);
eval 'sub WT_QIC11 () {0010;}' unless defined(&WT_QIC11);
eval 'sub WT_QIC24 () {0020;}' unless defined(&WT_QIC24);
eval 'sub WT_QIC120 () {0030;}' unless defined(&WT_QIC120);
eval 'sub WT_QIC150 () {0040;}' unless defined(&WT_QIC150);
eval 'sub WT_QIC300 () {0050;}' unless defined(&WT_QIC300);
eval 'sub WT_QIC600 () {0060;}' unless defined(&WT_QIC600);
1;
