require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_SYS_CDIO_H_)) {
    eval 'sub _SYS_CDIO_H_ () {1;}' unless defined(&_SYS_CDIO_H_);
    require 'sys/types.ph';
    require 'sys/ioccom.ph';
    if((defined(&_BYTE_ORDER) ? &_BYTE_ORDER : 0) == (defined(&_LITTLE_ENDIAN) ? &_LITTLE_ENDIAN : 0)) {
    }
    if((defined(&_BYTE_ORDER) ? &_BYTE_ORDER : 0) == (defined(&_BIG_ENDIAN) ? &_BIG_ENDIAN : 0)) {
    }
    eval 'sub CD_AS_AUDIO_INVALID () {0x;}' unless defined(&CD_AS_AUDIO_INVALID);
    eval 'sub CD_AS_PLAY_IN_PROGRESS () {0x11;}' unless defined(&CD_AS_PLAY_IN_PROGRESS);
    eval 'sub CD_AS_PLAY_PAUSED () {0x12;}' unless defined(&CD_AS_PLAY_PAUSED);
    eval 'sub CD_AS_PLAY_COMPLETED () {0x13;}' unless defined(&CD_AS_PLAY_COMPLETED);
    eval 'sub CD_AS_PLAY_ERROR () {0x14;}' unless defined(&CD_AS_PLAY_ERROR);
    eval 'sub CD_AS_NO_STATUS () {0x15;}' unless defined(&CD_AS_NO_STATUS);
    if((defined(&_BYTE_ORDER) ? &_BYTE_ORDER : 0) == (defined(&_LITTLE_ENDIAN) ? &_LITTLE_ENDIAN : 0)) {
    }
    if((defined(&_BYTE_ORDER) ? &_BYTE_ORDER : 0) == (defined(&_BIG_ENDIAN) ? &_BIG_ENDIAN : 0)) {
    }
    if((defined(&_BYTE_ORDER) ? &_BYTE_ORDER : 0) == (defined(&_LITTLE_ENDIAN) ? &_LITTLE_ENDIAN : 0)) {
    }
    if((defined(&_BYTE_ORDER) ? &_BYTE_ORDER : 0) == (defined(&_BIG_ENDIAN) ? &_BIG_ENDIAN : 0)) {
    }
    if((defined(&_BYTE_ORDER) ? &_BYTE_ORDER : 0) == (defined(&_LITTLE_ENDIAN) ? &_LITTLE_ENDIAN : 0)) {
    }
    if((defined(&_BYTE_ORDER) ? &_BYTE_ORDER : 0) == (defined(&_BIG_ENDIAN) ? &_BIG_ENDIAN : 0)) {
    }
    if((defined(&_BYTE_ORDER) ? &_BYTE_ORDER : 0) == (defined(&_LITTLE_ENDIAN) ? &_LITTLE_ENDIAN : 0)) {
    }
    if((defined(&_BYTE_ORDER) ? &_BYTE_ORDER : 0) == (defined(&_BIG_ENDIAN) ? &_BIG_ENDIAN : 0)) {
    }
    if((defined(&_BYTE_ORDER) ? &_BYTE_ORDER : 0) == (defined(&_LITTLE_ENDIAN) ? &_LITTLE_ENDIAN : 0)) {
    }
    if((defined(&_BYTE_ORDER) ? &_BYTE_ORDER : 0) == (defined(&_BIG_ENDIAN) ? &_BIG_ENDIAN : 0)) {
    }
    if((defined(&_BYTE_ORDER) ? &_BYTE_ORDER : 0) == (defined(&_LITTLE_ENDIAN) ? &_LITTLE_ENDIAN : 0)) {
    }
    if((defined(&_BYTE_ORDER) ? &_BYTE_ORDER : 0) == (defined(&_BIG_ENDIAN) ? &_BIG_ENDIAN : 0)) {
    }
    eval 'sub CDIOCPLAYTRACKS () { &_IOW(ord(\'c\'), 1, \'struct ioc_play_track\');}' unless defined(&CDIOCPLAYTRACKS);
    eval 'sub CDIOCPLAYBLOCKS () { &_IOW(ord(\'c\'), 2, \'struct ioc_play_blocks\');}' unless defined(&CDIOCPLAYBLOCKS);
    eval 'sub CD_LBA_FORMAT () {1;}' unless defined(&CD_LBA_FORMAT);
    eval 'sub CD_MSF_FORMAT () {2;}' unless defined(&CD_MSF_FORMAT);
    eval 'sub CD_SUBQ_DATA () {0;}' unless defined(&CD_SUBQ_DATA);
    eval 'sub CD_CURRENT_POSITION () {1;}' unless defined(&CD_CURRENT_POSITION);
    eval 'sub CD_MEDIA_CATALOG () {2;}' unless defined(&CD_MEDIA_CATALOG);
    eval 'sub CD_TRACK_INFO () {3;}' unless defined(&CD_TRACK_INFO);
    eval 'sub CDIOCREADSUBCHANNEL () { &_IOWR(ord(\'c\'), 3, \'struct ioc_read_subchannel\');}' unless defined(&CDIOCREADSUBCHANNEL);
    eval 'sub CDIOREADTOCHEADER () { &_IOR(ord(\'c\'), 4, \'struct ioc_toc_header\');}' unless defined(&CDIOREADTOCHEADER);
    eval 'sub CD_TRACK_LEADOUT () {0xaa;}' unless defined(&CD_TRACK_LEADOUT);
    eval 'sub CDIOREADTOCENTRIES () { &_IOWR(ord(\'c\'), 5, \'struct ioc_read_toc_entry\');}' unless defined(&CDIOREADTOCENTRIES);
    eval 'sub CDIOREADTOCENTRYS () { &CDIOREADTOCENTRIES;}' unless defined(&CDIOREADTOCENTRYS);
    eval 'sub CDIOREADMSADDR () { &_IOWR(ord(\'c\'), 6, \'int\');}' unless defined(&CDIOREADMSADDR);
    eval 'sub CDIOCSETPATCH () { &_IOW(ord(\'c\'), 9, \'struct ioc_patch\');}' unless defined(&CDIOCSETPATCH);
    eval 'sub CDIOCGETVOL () { &_IOR(ord(\'c\'), 10, \'struct ioc_vol\');}' unless defined(&CDIOCGETVOL);
    eval 'sub CDIOCSETVOL () { &_IOW(ord(\'c\'), 11, \'struct ioc_vol\');}' unless defined(&CDIOCSETVOL);
    eval 'sub CDIOCSETMONO () { &_IO(ord(\'c\'), 12);}' unless defined(&CDIOCSETMONO);
    eval 'sub CDIOCSETSTEREO () { &_IO(ord(\'c\'), 13);}' unless defined(&CDIOCSETSTEREO);
    eval 'sub CDIOCSETMUTE () { &_IO(ord(\'c\'), 14);}' unless defined(&CDIOCSETMUTE);
    eval 'sub CDIOCSETLEFT () { &_IO(ord(\'c\'), 15);}' unless defined(&CDIOCSETLEFT);
    eval 'sub CDIOCSETRIGHT () { &_IO(ord(\'c\'), 16);}' unless defined(&CDIOCSETRIGHT);
    eval 'sub CDIOCSETDEBUG () { &_IO(ord(\'c\'), 17);}' unless defined(&CDIOCSETDEBUG);
    eval 'sub CDIOCCLRDEBUG () { &_IO(ord(\'c\'), 18);}' unless defined(&CDIOCCLRDEBUG);
    eval 'sub CDIOCPAUSE () { &_IO(ord(\'c\'), 19);}' unless defined(&CDIOCPAUSE);
    eval 'sub CDIOCRESUME () { &_IO(ord(\'c\'), 20);}' unless defined(&CDIOCRESUME);
    eval 'sub CDIOCRESET () { &_IO(ord(\'c\'), 21);}' unless defined(&CDIOCRESET);
    eval 'sub CDIOCSTART () { &_IO(ord(\'c\'), 22);}' unless defined(&CDIOCSTART);
    eval 'sub CDIOCSTOP () { &_IO(ord(\'c\'), 23);}' unless defined(&CDIOCSTOP);
    eval 'sub CDIOCEJECT () { &_IO(ord(\'c\'), 24);}' unless defined(&CDIOCEJECT);
    eval 'sub CDIOCALLOW () { &_IO(ord(\'c\'), 25);}' unless defined(&CDIOCALLOW);
    eval 'sub CDIOCPREVENT () { &_IO(ord(\'c\'), 26);}' unless defined(&CDIOCPREVENT);
    eval 'sub CDIOCCLOSE () { &_IO(ord(\'c\'), 27);}' unless defined(&CDIOCCLOSE);
    eval 'sub CDIOCSETCDDA () { &_IOW(ord(\'c\'), 28, \'int\');}' unless defined(&CDIOCSETCDDA);
    eval 'sub CDIOCPLAYMSF () { &_IOW(ord(\'c\'), 25, \'struct ioc_play_msf\');}' unless defined(&CDIOCPLAYMSF);
    eval 'sub CD_LU_ABORT () {0x1;}' unless defined(&CD_LU_ABORT);
    eval 'sub CD_LU_UNLOAD () {0x2;}' unless defined(&CD_LU_UNLOAD);
    eval 'sub CD_LU_LOAD () {0x3;}' unless defined(&CD_LU_LOAD);
    eval 'sub CDIOCLOADUNLOAD () { &_IOW(ord(\'c\'), 26, \'struct ioc_load_unload\');}' unless defined(&CDIOCLOADUNLOAD);
    eval 'sub DVD_READ_STRUCT () { &_IOWR(ord(\'d\'), 0, \'union dvd_struct\');}' unless defined(&DVD_READ_STRUCT);
    eval 'sub DVD_WRITE_STRUCT () { &_IOWR(ord(\'d\'), 1, \'union dvd_struct\');}' unless defined(&DVD_WRITE_STRUCT);
    eval 'sub DVD_AUTH () { &_IOWR(ord(\'d\'), 2, \'union dvd_authinfo\');}' unless defined(&DVD_AUTH);
    eval 'sub GPCMD_READ_DVD_STRUCTURE () {0xad;}' unless defined(&GPCMD_READ_DVD_STRUCTURE);
    eval 'sub GPCMD_SEND_DVD_STRUCTURE () {0xad;}' unless defined(&GPCMD_SEND_DVD_STRUCTURE);
    eval 'sub GPCMD_REPORT_KEY () {0xa4;}' unless defined(&GPCMD_REPORT_KEY);
    eval 'sub GPCMD_SEND_KEY () {0xa3;}' unless defined(&GPCMD_SEND_KEY);
    eval 'sub DVD_STRUCT_PHYSICAL () {0x;}' unless defined(&DVD_STRUCT_PHYSICAL);
    eval 'sub DVD_STRUCT_COPYRIGHT () {0x1;}' unless defined(&DVD_STRUCT_COPYRIGHT);
    eval 'sub DVD_STRUCT_DISCKEY () {0x2;}' unless defined(&DVD_STRUCT_DISCKEY);
    eval 'sub DVD_STRUCT_BCA () {0x3;}' unless defined(&DVD_STRUCT_BCA);
    eval 'sub DVD_STRUCT_MANUFACT () {0x4;}' unless defined(&DVD_STRUCT_MANUFACT);
    eval 'sub DVD_LU_SEND_AGID () {0;}' unless defined(&DVD_LU_SEND_AGID);
    eval 'sub DVD_HOST_SEND_CHALLENGE () {1;}' unless defined(&DVD_HOST_SEND_CHALLENGE);
    eval 'sub DVD_LU_SEND_KEY1 () {2;}' unless defined(&DVD_LU_SEND_KEY1);
    eval 'sub DVD_LU_SEND_CHALLENGE () {3;}' unless defined(&DVD_LU_SEND_CHALLENGE);
    eval 'sub DVD_HOST_SEND_KEY2 () {4;}' unless defined(&DVD_HOST_SEND_KEY2);
    eval 'sub DVD_AUTH_ESTABLISHED () {5;}' unless defined(&DVD_AUTH_ESTABLISHED);
    eval 'sub DVD_AUTH_FAILURE () {6;}' unless defined(&DVD_AUTH_FAILURE);
    eval 'sub DVD_LU_SEND_TITLE_KEY () {7;}' unless defined(&DVD_LU_SEND_TITLE_KEY);
    eval 'sub DVD_LU_SEND_ASF () {8;}' unless defined(&DVD_LU_SEND_ASF);
    eval 'sub DVD_INVALIDATE_AGID () {9;}' unless defined(&DVD_INVALIDATE_AGID);
    eval 'sub DVD_LU_SEND_RPC_STATE () {10;}' unless defined(&DVD_LU_SEND_RPC_STATE);
    eval 'sub DVD_HOST_SEND_RPC_STATE () {11;}' unless defined(&DVD_HOST_SEND_RPC_STATE);
    if(0) {
    }
    eval 'sub DVD_KEY_SIZE () {5;}' unless defined(&DVD_KEY_SIZE);
    eval 'sub DVD_CHALLENGE_SIZE () {10;}' unless defined(&DVD_CHALLENGE_SIZE);
    eval 'sub DVD_CPM_NO_COPYRIGHT () {0;}' unless defined(&DVD_CPM_NO_COPYRIGHT);
    eval 'sub DVD_CPM_COPYRIGHTED () {1;}' unless defined(&DVD_CPM_COPYRIGHTED);
    eval 'sub DVD_CP_SEC_NONE () {0;}' unless defined(&DVD_CP_SEC_NONE);
    eval 'sub DVD_CP_SEC_EXIST () {1;}' unless defined(&DVD_CP_SEC_EXIST);
    eval 'sub DVD_CGMS_UNRESTRICTED () {0;}' unless defined(&DVD_CGMS_UNRESTRICTED);
    eval 'sub DVD_CGMS_SINGLE () {2;}' unless defined(&DVD_CGMS_SINGLE);
    eval 'sub DVD_CGMS_RESTRICTED () {3;}' unless defined(&DVD_CGMS_RESTRICTED);
}
1;
