require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_DEV_BLUETOOTH_BTDEV_H_)) {
    eval 'sub _DEV_BLUETOOTH_BTDEV_H_ () {1;}' unless defined(&_DEV_BLUETOOTH_BTDEV_H_);
    require 'sys/ioccom.ph';
    eval 'sub BTDEV_ATTACH () { &_IOW(ord(\'b\'), 14, \'struct plistref\');}' unless defined(&BTDEV_ATTACH);
    eval 'sub BTDEV_DETACH () { &_IOW(ord(\'b\'), 15, \'struct plistref\');}' unless defined(&BTDEV_DETACH);
    eval 'sub BTDEVvendor () {"vendor-id";}' unless defined(&BTDEVvendor);
    eval 'sub BTDEVproduct () {"product-id";}' unless defined(&BTDEVproduct);
    eval 'sub BTDEVtype () {"device-type";}' unless defined(&BTDEVtype);
    eval 'sub BTDEVladdr () {"local-bdaddr";}' unless defined(&BTDEVladdr);
    eval 'sub BTDEVraddr () {"remote-bdaddr";}' unless defined(&BTDEVraddr);
    eval 'sub BTDEVservice () {"service-name";}' unless defined(&BTDEVservice);
    eval 'sub BTDEVmode () {"link-mode";}' unless defined(&BTDEVmode);
    eval 'sub BTDEVauth () {"auth";}' unless defined(&BTDEVauth);
    eval 'sub BTDEVencrypt () {"encrypt";}' unless defined(&BTDEVencrypt);
    eval 'sub BTDEVsecure () {"secure";}' unless defined(&BTDEVsecure);
}
1;
