require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&DES_MAXLEN)) {
    sub DES_MAXLEN () {	65536;}
}
unless(defined(&DES_QUICKLEN)) {
    sub DES_QUICKLEN () {	16;}
}
if(defined(&HEADER_DES_H)) {
    undef(&ENCRYPT) if defined(&ENCRYPT);
    undef(&DECRYPT) if defined(&DECRYPT);
}
eval("sub ENCRYPT () { 0; }") unless defined(&ENCRYPT);
eval("sub DECRYPT () { 1; }") unless defined(&DECRYPT);
eval("sub CBC () { 0; }") unless defined(&CBC);
eval("sub ECB () { 1; }") unless defined(&ECB);
unless(defined(&des_data)) {
    sub des_data () {	 ($UDES->{UDES_data});}
}
unless(defined(&des_buf)) {
    sub des_buf () {	 ($UDES->{UDES_buf});}
}
unless(defined(&DESIOCBLOCK)) {
    sub DESIOCBLOCK () {	 &_IOWR("d", 6, 'struct desparams');}
}
unless(defined(&DESIOCQUICK)) {
    sub DESIOCQUICK () {	 &_IOWR("d", 7, 'struct desparams');}
}
1;
