require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&__HDB_H__)) {
    eval 'sub __HDB_H__ () {1;}' unless defined(&__HDB_H__);
    require 'hdb_err.ph';
    require 'hdb_asn1.ph';
    eval("sub HDB_RLOCK () { 0; }") unless defined(&HDB_RLOCK);
    eval("sub HDB_WLOCK () { 1; }") unless defined(&HDB_WLOCK);
    eval 'sub HDB_F_DECRYPT () {1;}' unless defined(&HDB_F_DECRYPT);
    eval 'sub HDB_F_REPLACE () {2;}' unless defined(&HDB_F_REPLACE);
    eval 'sub HDB_KU_MKEY () {0x484442;}' unless defined(&HDB_KU_MKEY);
    eval 'sub HDB_INTERFACE_VERSION () {1;}' unless defined(&HDB_INTERFACE_VERSION);
    eval 'sub HDB_DB_DIR () {"/var/heimdal";}' unless defined(&HDB_DB_DIR);
    eval 'sub HDB_DEFAULT_DB () { &HDB_DB_DIR "/heimdal";}' unless defined(&HDB_DEFAULT_DB);
    eval 'sub HDB_DB_FORMAT_ENTRY () {"hdb/db-format";}' unless defined(&HDB_DB_FORMAT_ENTRY);
    require 'hdb-protos.ph';
}
1;
