require '_h2ph_pre.ph';

unless(defined(&_HDLCDRV_H)) {
    eval 'sub _HDLCDRV_H () {1;}' unless defined(&_HDLCDRV_H);
    eval 'sub HDLCDRVCTL_GETMODEMPAR () {0;}' unless defined(&HDLCDRVCTL_GETMODEMPAR);
    eval 'sub HDLCDRVCTL_SETMODEMPAR () {1;}' unless defined(&HDLCDRVCTL_SETMODEMPAR);
    eval 'sub HDLCDRVCTL_MODEMPARMASK () {2;}' unless defined(&HDLCDRVCTL_MODEMPARMASK);
    eval 'sub HDLCDRVCTL_GETCHANNELPAR () {10;}' unless defined(&HDLCDRVCTL_GETCHANNELPAR);
    eval 'sub HDLCDRVCTL_SETCHANNELPAR () {11;}' unless defined(&HDLCDRVCTL_SETCHANNELPAR);
    eval 'sub HDLCDRVCTL_OLDGETSTAT () {20;}' unless defined(&HDLCDRVCTL_OLDGETSTAT);
    eval 'sub HDLCDRVCTL_CALIBRATE () {21;}' unless defined(&HDLCDRVCTL_CALIBRATE);
    eval 'sub HDLCDRVCTL_GETSTAT () {22;}' unless defined(&HDLCDRVCTL_GETSTAT);
    eval 'sub HDLCDRVCTL_GETSAMPLES () {30;}' unless defined(&HDLCDRVCTL_GETSAMPLES);
    eval 'sub HDLCDRVCTL_GETBITS () {31;}' unless defined(&HDLCDRVCTL_GETBITS);
    eval 'sub HDLCDRVCTL_GETMODE () {40;}' unless defined(&HDLCDRVCTL_GETMODE);
    eval 'sub HDLCDRVCTL_SETMODE () {41;}' unless defined(&HDLCDRVCTL_SETMODE);
    eval 'sub HDLCDRVCTL_MODELIST () {42;}' unless defined(&HDLCDRVCTL_MODELIST);
    eval 'sub HDLCDRVCTL_DRIVERNAME () {43;}' unless defined(&HDLCDRVCTL_DRIVERNAME);
    eval 'sub HDLCDRV_PARMASK_IOBASE () {(1<<0);}' unless defined(&HDLCDRV_PARMASK_IOBASE);
    eval 'sub HDLCDRV_PARMASK_IRQ () {(1<<1);}' unless defined(&HDLCDRV_PARMASK_IRQ);
    eval 'sub HDLCDRV_PARMASK_DMA () {(1<<2);}' unless defined(&HDLCDRV_PARMASK_DMA);
    eval 'sub HDLCDRV_PARMASK_DMA2 () {(1<<3);}' unless defined(&HDLCDRV_PARMASK_DMA2);
    eval 'sub HDLCDRV_PARMASK_SERIOBASE () {(1<<4);}' unless defined(&HDLCDRV_PARMASK_SERIOBASE);
    eval 'sub HDLCDRV_PARMASK_PARIOBASE () {(1<<5);}' unless defined(&HDLCDRV_PARMASK_PARIOBASE);
    eval 'sub HDLCDRV_PARMASK_MIDIIOBASE () {(1<<6);}' unless defined(&HDLCDRV_PARMASK_MIDIIOBASE);
}
1;
