require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&_SYS_CHIO_H_)) {
    eval 'sub _SYS_CHIO_H_ () {1;}' unless defined(&_SYS_CHIO_H_);
    eval 'sub CHET_MT () {0;}' unless defined(&CHET_MT);
    eval 'sub CHET_ST () {1;}' unless defined(&CHET_ST);
    eval 'sub CHET_IE () {2;}' unless defined(&CHET_IE);
    eval 'sub CHET_DT () {3;}' unless defined(&CHET_DT);
    eval 'sub CH_VOLTAG_MAXLEN () {32;}' unless defined(&CH_VOLTAG_MAXLEN);
    eval 'sub CM_INVERT () {0x1;}' unless defined(&CM_INVERT);
    eval 'sub CE_INVERT1 () {0x1;}' unless defined(&CE_INVERT1);
    eval 'sub CE_INVERT2 () {0x2;}' unless defined(&CE_INVERT2);
    eval 'sub CP_INVERT () {0x1;}' unless defined(&CP_INVERT);
    eval 'sub CESR_VOLTAGS () {0x1;}' unless defined(&CESR_VOLTAGS);
    eval 'sub CESTATUS_FULL () {0x1;}' unless defined(&CESTATUS_FULL);
    eval 'sub CESTATUS_IMPEXP () {0x2;}' unless defined(&CESTATUS_IMPEXP);
    eval 'sub CESTATUS_EXCEPT () {0x4;}' unless defined(&CESTATUS_EXCEPT);
    eval 'sub CESTATUS_ACCESS () {0x8;}' unless defined(&CESTATUS_ACCESS);
    eval 'sub CESTATUS_EXENAB () {0x10;}' unless defined(&CESTATUS_EXENAB);
    eval 'sub CESTATUS_INENAB () {0x20;}' unless defined(&CESTATUS_INENAB);
    eval 'sub CESTATUS_PICKER_MASK () {0x5;}' unless defined(&CESTATUS_PICKER_MASK);
    eval 'sub CESTATUS_SLOT_MASK () {0xc;}' unless defined(&CESTATUS_SLOT_MASK);
    eval 'sub CESTATUS_PORTAL_MASK () {0x3f;}' unless defined(&CESTATUS_PORTAL_MASK);
    eval 'sub CESTATUS_DRIVE_MASK () {0xc;}' unless defined(&CESTATUS_DRIVE_MASK);
    eval 'sub CESTATUS_BITS () {"\\20\\6INEAB\\5EXENAB\\4ACCESS\\3EXCEPT\\2IMPEXP\\1FULL";}' unless defined(&CESTATUS_BITS);
    eval 'sub CHIOMOVE () { &_IOW(ord(\'c\'), 0x41, \'struct changer_move\');}' unless defined(&CHIOMOVE);
    eval 'sub CHIOEXCHANGE () { &_IOW(ord(\'c\'), 0x42, \'struct changer_exchange\');}' unless defined(&CHIOEXCHANGE);
    eval 'sub CHIOPOSITION () { &_IOW(ord(\'c\'), 0x43, \'struct changer_position\');}' unless defined(&CHIOPOSITION);
    eval 'sub CHIOGPICKER () { &_IOR(ord(\'c\'), 0x44, \'int\');}' unless defined(&CHIOGPICKER);
    eval 'sub CHIOSPICKER () { &_IOW(ord(\'c\'), 0x45, \'int\');}' unless defined(&CHIOSPICKER);
    eval 'sub CHIOGPARAMS () { &_IOR(ord(\'c\'), 0x46, \'struct changer_params\');}' unless defined(&CHIOGPARAMS);
    eval 'sub CHIOGSTATUS () { &_IOW(ord(\'c\'), 0x48, \'struct changer_element_status_request\');}' unless defined(&CHIOGSTATUS);
}
1;
