require '_h2ph_pre.ph';

unless(defined(&_DDB_DB_SYM_)) {
    eval 'sub _DDB_DB_SYM_ () {1;}' unless defined(&_DDB_DB_SYM_);
    require 'sys/queue.ph';
    eval 'sub DB_SYM_NULL () {(0);}' unless defined(&DB_SYM_NULL);
    eval 'sub DB_STGY_ANY () {0;}' unless defined(&DB_STGY_ANY);
    eval 'sub DB_STGY_XTRN () {1;}' unless defined(&DB_STGY_XTRN);
    eval 'sub DB_STGY_PROC () {2;}' unless defined(&DB_STGY_PROC);
    eval 'sub db_find_sym_and_offset {
        local($val,$namep,$offp) = @_;
	    eval q( &db_symbol_values( &db_search_symbol($val, &DB_STGY_ANY,$offp),$namep,0));
    }' unless defined(&db_find_sym_and_offset);
    eval 'sub db_find_xtrn_sym_and_offset {
        local($val,$namep,$offp) = @_;
	    eval q( &db_symbol_values( &db_search_symbol($val, &DB_STGY_XTRN,$offp),$namep,0));
    }' unless defined(&db_find_xtrn_sym_and_offset);
}
1;
