require '_h2ph_pre.ph';

unless(defined(&PROT_DEFS)) {
    eval 'sub PROT_DEFS () {1;}' unless defined(&PROT_DEFS);
    require 'krb.ph';
    eval 'sub KRB_SERVICE () {"kerberos-iv";}' unless defined(&KRB_SERVICE);
    eval 'sub KRB_PORT () {750;}' unless defined(&KRB_PORT);
    eval 'sub KRB_PROT_VERSION () {4;}' unless defined(&KRB_PROT_VERSION);
    eval 'sub MAX_PKT_LEN () {1000;}' unless defined(&MAX_PKT_LEN);
    eval 'sub MAX_TXT_LEN () {1000;}' unless defined(&MAX_TXT_LEN);
    if(defined(&DEBUG)) {
    }
    eval 'sub AUTH_MSG_KDC_REQUEST () {(1<<1);}' unless defined(&AUTH_MSG_KDC_REQUEST);
    eval 'sub AUTH_MSG_KDC_REPLY () {(2<<1);}' unless defined(&AUTH_MSG_KDC_REPLY);
    eval 'sub AUTH_MSG_APPL_REQUEST () {(3<<1);}' unless defined(&AUTH_MSG_APPL_REQUEST);
    eval 'sub AUTH_MSG_APPL_REQUEST_MUTUAL () {(4<<1);}' unless defined(&AUTH_MSG_APPL_REQUEST_MUTUAL);
    eval 'sub AUTH_MSG_ERR_REPLY () {(5<<1);}' unless defined(&AUTH_MSG_ERR_REPLY);
    eval 'sub AUTH_MSG_PRIVATE () {(6<<1);}' unless defined(&AUTH_MSG_PRIVATE);
    eval 'sub AUTH_MSG_SAFE () {(7<<1);}' unless defined(&AUTH_MSG_SAFE);
    eval 'sub AUTH_MSG_APPL_ERR () {(8<<1);}' unless defined(&AUTH_MSG_APPL_ERR);
    eval 'sub AUTH_MSG_KDC_FORWARD () {(9<<1);}' unless defined(&AUTH_MSG_KDC_FORWARD);
    eval 'sub AUTH_MSG_KDC_RENEW () {(10<<1);}' unless defined(&AUTH_MSG_KDC_RENEW);
    eval 'sub AUTH_MSG_DIE () {(63<<1);}' unless defined(&AUTH_MSG_DIE);
    eval 'sub KERB_ERR_OK () {0;}' unless defined(&KERB_ERR_OK);
    eval 'sub KERB_ERR_NAME_EXP () {1;}' unless defined(&KERB_ERR_NAME_EXP);
    eval 'sub KERB_ERR_SERVICE_EXP () {2;}' unless defined(&KERB_ERR_SERVICE_EXP);
    eval 'sub KERB_ERR_AUTH_EXP () {3;}' unless defined(&KERB_ERR_AUTH_EXP);
    eval 'sub KERB_ERR_PKT_VER () {4;}' unless defined(&KERB_ERR_PKT_VER);
    eval 'sub KERB_ERR_NAME_MAST_KEY_VER () {5;}' unless defined(&KERB_ERR_NAME_MAST_KEY_VER);
    eval 'sub KERB_ERR_SERV_MAST_KEY_VER () {6;}' unless defined(&KERB_ERR_SERV_MAST_KEY_VER);
    eval 'sub KERB_ERR_BYTE_ORDER () {7;}' unless defined(&KERB_ERR_BYTE_ORDER);
    eval 'sub KERB_ERR_PRINCIPAL_UNKNOWN () {8;}' unless defined(&KERB_ERR_PRINCIPAL_UNKNOWN);
    eval 'sub KERB_ERR_PRINCIPAL_NOT_UNIQUE () {9;}' unless defined(&KERB_ERR_PRINCIPAL_NOT_UNIQUE);
    eval 'sub KERB_ERR_NULL_KEY () {10;}' unless defined(&KERB_ERR_NULL_KEY);
    eval 'sub KERB_ERR_TIMEOUT () {11;}' unless defined(&KERB_ERR_TIMEOUT);
    eval 'sub KRB_SENDAUTH_VERS () {"AUTHV0.1";}' unless defined(&KRB_SENDAUTH_VERS);
}
1;
