require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&__kadm5_privatex_h__)) {
    eval 'sub __kadm5_privatex_h__ () {1;}' unless defined(&__kadm5_privatex_h__);
    eval("sub kadm_get () { 0; }") unless defined(&kadm_get);
    eval("sub kadm_delete () { 1; }") unless defined(&kadm_delete);
    eval("sub kadm_create () { 2; }") unless defined(&kadm_create);
    eval("sub kadm_rename () { 3; }") unless defined(&kadm_rename);
    eval("sub kadm_chpass () { 4; }") unless defined(&kadm_chpass);
    eval("sub kadm_modify () { 5; }") unless defined(&kadm_modify);
    eval("sub kadm_randkey () { 6; }") unless defined(&kadm_randkey);
    eval("sub kadm_get_privs () { 7; }") unless defined(&kadm_get_privs);
    eval("sub kadm_get_princs () { 8; }") unless defined(&kadm_get_princs);
    eval("sub kadm_chpass_with_key () { 9; }") unless defined(&kadm_chpass_with_key);
    eval("sub kadm_nop () { 10; }") unless defined(&kadm_nop);
    eval 'sub KADMIN_APPL_VERSION () {"KADM0.1";}' unless defined(&KADMIN_APPL_VERSION);
    eval 'sub KADMIN_OLD_APPL_VERSION () {"KADM0.0";}' unless defined(&KADMIN_OLD_APPL_VERSION);
    eval 'sub KADM5_LOG_SIGNAL () { &HDB_DB_DIR "/signal";}' unless defined(&KADM5_LOG_SIGNAL);
    require 'kadm5-private.ph';
}
1;
