require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&URIO_SEND_COMMAND)) {
    sub URIO_SEND_COMMAND () {	 &_IOWR(ord('U'), 200, 'struct urio_command');}
}
unless(defined(&URIO_RECV_COMMAND)) {
    sub URIO_RECV_COMMAND () {	 &_IOWR(ord('U'), 201, 'struct urio_command');}
}
unless(defined(&URIO_DIR_OUT)) {
    sub URIO_DIR_OUT () {	0x;}
}
unless(defined(&URIO_DIR_IN)) {
    sub URIO_DIR_IN () {	0x1;}
}
unless(defined(&__KERNEL__)) {
    eval 'sub RIO_DIR_OUT () { &URIO_DIR_OUT;}' unless defined(&RIO_DIR_OUT);
    eval 'sub RIO_DIR_IN () { &URIO_DIR_IN;}' unless defined(&RIO_DIR_IN);
    eval 'sub RIO_SEND_COMMAND () { &URIO_SEND_COMMAND;}' unless defined(&RIO_SEND_COMMAND);
    eval 'sub RIO_RECV_COMMAND () { &URIO_RECV_COMMAND;}' unless defined(&RIO_RECV_COMMAND);
    eval 'sub RioCommand () { &urio_command;}' unless defined(&RioCommand);
}
1;
