require '_h2ph_pre.ph';

unless(defined(&KERNEL_IRDA_H)) {
    eval 'sub KERNEL_IRDA_H () {1;}' unless defined(&KERNEL_IRDA_H);
    eval 'sub HINT_PNP () {0x1;}' unless defined(&HINT_PNP);
    eval 'sub HINT_PDA () {0x2;}' unless defined(&HINT_PDA);
    eval 'sub HINT_COMPUTER () {0x4;}' unless defined(&HINT_COMPUTER);
    eval 'sub HINT_PRINTER () {0x8;}' unless defined(&HINT_PRINTER);
    eval 'sub HINT_MODEM () {0x10;}' unless defined(&HINT_MODEM);
    eval 'sub HINT_FAX () {0x20;}' unless defined(&HINT_FAX);
    eval 'sub HINT_LAN () {0x40;}' unless defined(&HINT_LAN);
    eval 'sub HINT_EXTENSION () {0x80;}' unless defined(&HINT_EXTENSION);
    eval 'sub HINT_TELEPHONY () {0x1;}' unless defined(&HINT_TELEPHONY);
    eval 'sub HINT_FILE_SERVER () {0x2;}' unless defined(&HINT_FILE_SERVER);
    eval 'sub HINT_COMM () {0x4;}' unless defined(&HINT_COMM);
    eval 'sub HINT_MESSAGE () {0x8;}' unless defined(&HINT_MESSAGE);
    eval 'sub HINT_HTTP () {0x10;}' unless defined(&HINT_HTTP);
    eval 'sub HINT_OBEX () {0x20;}' unless defined(&HINT_OBEX);
    eval 'sub CS_ASCII () {0x;}' unless defined(&CS_ASCII);
    eval 'sub CS_ISO_8859_1 () {0x1;}' unless defined(&CS_ISO_8859_1);
    eval 'sub CS_ISO_8859_2 () {0x2;}' unless defined(&CS_ISO_8859_2);
    eval 'sub CS_ISO_8859_3 () {0x3;}' unless defined(&CS_ISO_8859_3);
    eval 'sub CS_ISO_8859_4 () {0x4;}' unless defined(&CS_ISO_8859_4);
    eval 'sub CS_ISO_8859_5 () {0x5;}' unless defined(&CS_ISO_8859_5);
    eval 'sub CS_ISO_8859_6 () {0x6;}' unless defined(&CS_ISO_8859_6);
    eval 'sub CS_ISO_8859_7 () {0x7;}' unless defined(&CS_ISO_8859_7);
    eval 'sub CS_ISO_8859_8 () {0x8;}' unless defined(&CS_ISO_8859_8);
    eval 'sub CS_ISO_8859_9 () {0x9;}' unless defined(&CS_ISO_8859_9);
    eval 'sub CS_UNICODE () {0xff;}' unless defined(&CS_UNICODE);
    eval("sub IRDA_TEKRAM_DONGLE () { 0; }") unless defined(&IRDA_TEKRAM_DONGLE);
    eval("sub IRDA_ESI_DONGLE () { 1; }") unless defined(&IRDA_ESI_DONGLE);
    eval("sub IRDA_ACTISYS_DONGLE () { 2; }") unless defined(&IRDA_ACTISYS_DONGLE);
    eval("sub IRDA_ACTISYS_PLUS_DONGLE () { 3; }") unless defined(&IRDA_ACTISYS_PLUS_DONGLE);
    eval("sub IRDA_GIRBIL_DONGLE () { 4; }") unless defined(&IRDA_GIRBIL_DONGLE);
    eval("sub IRDA_LITELINK_DONGLE () { 5; }") unless defined(&IRDA_LITELINK_DONGLE);
    eval("sub IRDA_AIRPORT_DONGLE () { 6; }") unless defined(&IRDA_AIRPORT_DONGLE);
    eval("sub IRDA_OLD_BELKIN_DONGLE () { 7; }") unless defined(&IRDA_OLD_BELKIN_DONGLE);
    eval("sub IRDAPROTO_UNITDATA () { 0; }") unless defined(&IRDAPROTO_UNITDATA);
    eval("sub IRDAPROTO_ULTRA () { 1; }") unless defined(&IRDAPROTO_ULTRA);
    eval("sub IRDAPROTO_MAX () { 2; }") unless defined(&IRDAPROTO_MAX);
    eval 'sub SOL_IRLMP () {266;}' unless defined(&SOL_IRLMP);
    eval 'sub SOL_IRTTP () {266;}' unless defined(&SOL_IRTTP);
    eval 'sub IRLMP_ENUMDEVICES () {1;}' unless defined(&IRLMP_ENUMDEVICES);
    eval 'sub IRLMP_IAS_SET () {2;}' unless defined(&IRLMP_IAS_SET);
    eval 'sub IRLMP_IAS_QUERY () {3;}' unless defined(&IRLMP_IAS_QUERY);
    eval 'sub IRLMP_HINTS_SET () {4;}' unless defined(&IRLMP_HINTS_SET);
    eval 'sub IRLMP_QOS_SET () {5;}' unless defined(&IRLMP_QOS_SET);
    eval 'sub IRLMP_QOS_GET () {6;}' unless defined(&IRLMP_QOS_GET);
    eval 'sub IRLMP_MAX_SDU_SIZE () {7;}' unless defined(&IRLMP_MAX_SDU_SIZE);
    eval 'sub IRLMP_IAS_GET () {8;}' unless defined(&IRLMP_IAS_GET);
    eval 'sub IRLMP_IAS_DEL () {9;}' unless defined(&IRLMP_IAS_DEL);
    eval 'sub IRLMP_HINT_MASK_SET () {10;}' unless defined(&IRLMP_HINT_MASK_SET);
    eval 'sub IRLMP_WAITDEVICE () {11;}' unless defined(&IRLMP_WAITDEVICE);
    eval 'sub IRTTP_MAX_SDU_SIZE () { &IRLMP_MAX_SDU_SIZE;}' unless defined(&IRTTP_MAX_SDU_SIZE);
    eval 'sub IAS_MAX_STRING () {256;}' unless defined(&IAS_MAX_STRING);
    eval 'sub IAS_MAX_OCTET_STRING () {1024;}' unless defined(&IAS_MAX_OCTET_STRING);
    eval 'sub IAS_MAX_CLASSNAME () {64;}' unless defined(&IAS_MAX_CLASSNAME);
    eval 'sub IAS_MAX_ATTRIBNAME () {256;}' unless defined(&IAS_MAX_ATTRIBNAME);
    eval 'sub IAS_MISSING () {0;}' unless defined(&IAS_MISSING);
    eval 'sub IAS_INTEGER () {1;}' unless defined(&IAS_INTEGER);
    eval 'sub IAS_OCT_SEQ () {2;}' unless defined(&IAS_OCT_SEQ);
    eval 'sub IAS_STRING () {3;}' unless defined(&IAS_STRING);
    eval 'sub LSAP_ANY () {0xff;}' unless defined(&LSAP_ANY);
    eval 'sub SIOCSDONGLE () {( &SIOCDEVPRIVATE + 0);}' unless defined(&SIOCSDONGLE);
    eval 'sub SIOCGDONGLE () {( &SIOCDEVPRIVATE + 1);}' unless defined(&SIOCGDONGLE);
    eval 'sub SIOCSBANDWIDTH () {( &SIOCDEVPRIVATE + 2);}' unless defined(&SIOCSBANDWIDTH);
    eval 'sub SIOCSMEDIABUSY () {( &SIOCDEVPRIVATE + 3);}' unless defined(&SIOCSMEDIABUSY);
    eval 'sub SIOCGMEDIABUSY () {( &SIOCDEVPRIVATE + 4);}' unless defined(&SIOCGMEDIABUSY);
    eval 'sub SIOCGRECEIVING () {( &SIOCDEVPRIVATE + 5);}' unless defined(&SIOCGRECEIVING);
    eval 'sub SIOCSMODE () {( &SIOCDEVPRIVATE + 6);}' unless defined(&SIOCSMODE);
    eval 'sub SIOCGMODE () {( &SIOCDEVPRIVATE + 7);}' unless defined(&SIOCGMODE);
    eval 'sub SIOCSDTRRTS () {( &SIOCDEVPRIVATE + 8);}' unless defined(&SIOCSDTRRTS);
    eval 'sub SIOCGQOS () {( &SIOCDEVPRIVATE + 9);}' unless defined(&SIOCGQOS);
    eval 'sub IRNAMSIZ () {16;}' unless defined(&IRNAMSIZ);
    eval 'sub ifr_baudrate () { ($ifr_ifru->{ifru_qos}->{baudrate});}' unless defined(&ifr_baudrate);
    eval 'sub ifr_receiving () { ($ifr_ifru->{ifru_receiving});}' unless defined(&ifr_receiving);
    eval 'sub ifr_dongle () { ($ifr_ifru->{ifru_dongle});}' unless defined(&ifr_dongle);
    eval 'sub ifr_mode () { ($ifr_ifru->{ifru_mode});}' unless defined(&ifr_mode);
    eval 'sub ifr_dtr () { ($ifr_ifru->{ifru_line}->{dtr});}' unless defined(&ifr_dtr);
    eval 'sub ifr_rts () { ($ifr_ifru->{ifru_line}->{rts});}' unless defined(&ifr_rts);
}
1;
