require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&GSSAPI_H_)) {
    eval 'sub GSSAPI_H_ () {1;}' unless defined(&GSSAPI_H_);
    require 'stddef.ph';
    require 'krb5-types.ph';
    eval 'sub GSS_C_DELEG_FLAG () {1;}' unless defined(&GSS_C_DELEG_FLAG);
    eval 'sub GSS_C_MUTUAL_FLAG () {2;}' unless defined(&GSS_C_MUTUAL_FLAG);
    eval 'sub GSS_C_REPLAY_FLAG () {4;}' unless defined(&GSS_C_REPLAY_FLAG);
    eval 'sub GSS_C_SEQUENCE_FLAG () {8;}' unless defined(&GSS_C_SEQUENCE_FLAG);
    eval 'sub GSS_C_CONF_FLAG () {16;}' unless defined(&GSS_C_CONF_FLAG);
    eval 'sub GSS_C_INTEG_FLAG () {32;}' unless defined(&GSS_C_INTEG_FLAG);
    eval 'sub GSS_C_ANON_FLAG () {64;}' unless defined(&GSS_C_ANON_FLAG);
    eval 'sub GSS_C_PROT_READY_FLAG () {128;}' unless defined(&GSS_C_PROT_READY_FLAG);
    eval 'sub GSS_C_TRANS_FLAG () {256;}' unless defined(&GSS_C_TRANS_FLAG);
    eval 'sub GSS_C_BOTH () {0;}' unless defined(&GSS_C_BOTH);
    eval 'sub GSS_C_INITIATE () {1;}' unless defined(&GSS_C_INITIATE);
    eval 'sub GSS_C_ACCEPT () {2;}' unless defined(&GSS_C_ACCEPT);
    eval 'sub GSS_C_GSS_CODE () {1;}' unless defined(&GSS_C_GSS_CODE);
    eval 'sub GSS_C_MECH_CODE () {2;}' unless defined(&GSS_C_MECH_CODE);
    eval 'sub GSS_C_AF_UNSPEC () {0;}' unless defined(&GSS_C_AF_UNSPEC);
    eval 'sub GSS_C_AF_LOCAL () {1;}' unless defined(&GSS_C_AF_LOCAL);
    eval 'sub GSS_C_AF_INET () {2;}' unless defined(&GSS_C_AF_INET);
    eval 'sub GSS_C_AF_IMPLINK () {3;}' unless defined(&GSS_C_AF_IMPLINK);
    eval 'sub GSS_C_AF_PUP () {4;}' unless defined(&GSS_C_AF_PUP);
    eval 'sub GSS_C_AF_CHAOS () {5;}' unless defined(&GSS_C_AF_CHAOS);
    eval 'sub GSS_C_AF_NS () {6;}' unless defined(&GSS_C_AF_NS);
    eval 'sub GSS_C_AF_NBS () {7;}' unless defined(&GSS_C_AF_NBS);
    eval 'sub GSS_C_AF_ECMA () {8;}' unless defined(&GSS_C_AF_ECMA);
    eval 'sub GSS_C_AF_DATAKIT () {9;}' unless defined(&GSS_C_AF_DATAKIT);
    eval 'sub GSS_C_AF_CCITT () {10;}' unless defined(&GSS_C_AF_CCITT);
    eval 'sub GSS_C_AF_SNA () {11;}' unless defined(&GSS_C_AF_SNA);
    eval 'sub GSS_C_AF_DECnet () {12;}' unless defined(&GSS_C_AF_DECnet);
    eval 'sub GSS_C_AF_DLI () {13;}' unless defined(&GSS_C_AF_DLI);
    eval 'sub GSS_C_AF_LAT () {14;}' unless defined(&GSS_C_AF_LAT);
    eval 'sub GSS_C_AF_HYLINK () {15;}' unless defined(&GSS_C_AF_HYLINK);
    eval 'sub GSS_C_AF_APPLETALK () {16;}' unless defined(&GSS_C_AF_APPLETALK);
    eval 'sub GSS_C_AF_BSC () {17;}' unless defined(&GSS_C_AF_BSC);
    eval 'sub GSS_C_AF_DSS () {18;}' unless defined(&GSS_C_AF_DSS);
    eval 'sub GSS_C_AF_OSI () {19;}' unless defined(&GSS_C_AF_OSI);
    eval 'sub GSS_C_AF_X25 () {21;}' unless defined(&GSS_C_AF_X25);
    eval 'sub GSS_C_AF_INET6 () {24;}' unless defined(&GSS_C_AF_INET6);
    eval 'sub GSS_C_AF_NULLADDR () {255;}' unless defined(&GSS_C_AF_NULLADDR);
    eval 'sub GSS_C_NO_NAME () {(( &gss_name_t) 0);}' unless defined(&GSS_C_NO_NAME);
    eval 'sub GSS_C_NO_BUFFER () {(( &gss_buffer_t) 0);}' unless defined(&GSS_C_NO_BUFFER);
    eval 'sub GSS_C_NO_OID () {(( &gss_OID) 0);}' unless defined(&GSS_C_NO_OID);
    eval 'sub GSS_C_NO_OID_SET () {(( &gss_OID_set) 0);}' unless defined(&GSS_C_NO_OID_SET);
    eval 'sub GSS_C_NO_CONTEXT () {(( &gss_ctx_id_t) 0);}' unless defined(&GSS_C_NO_CONTEXT);
    eval 'sub GSS_C_NO_CREDENTIAL () {(( &gss_cred_id_t) 0);}' unless defined(&GSS_C_NO_CREDENTIAL);
    eval 'sub GSS_C_NO_CHANNEL_BINDINGS () {(( &gss_channel_bindings_t) 0);}' unless defined(&GSS_C_NO_CHANNEL_BINDINGS);
    eval 'sub GSS_C_EMPTY_BUFFER () {{0,  &NULL};}' unless defined(&GSS_C_EMPTY_BUFFER);
    eval 'sub GSS_C_NULL_OID () { &GSS_C_NO_OID;}' unless defined(&GSS_C_NULL_OID);
    eval 'sub GSS_C_NULL_OID_SET () { &GSS_C_NO_OID_SET;}' unless defined(&GSS_C_NULL_OID_SET);
    eval 'sub GSS_C_QOP_DEFAULT () {0;}' unless defined(&GSS_C_QOP_DEFAULT);
    eval 'sub GSS_KRB5_CONF_C_QOP_DES () {0x100;}' unless defined(&GSS_KRB5_CONF_C_QOP_DES);
    eval 'sub GSS_KRB5_CONF_C_QOP_DES3_KD () {0x200;}' unless defined(&GSS_KRB5_CONF_C_QOP_DES3_KD);
    eval 'sub GSS_C_INDEFINITE () {0xffffffff;}' unless defined(&GSS_C_INDEFINITE);
    if(defined(&__cplusplus)) {
    }
    eval 'sub gss_mech_krb5 () { &GSS_KRB5_MECHANISM;}' unless defined(&gss_mech_krb5);
    eval 'sub gss_krb5_nt_general_name () { &GSS_KRB5_NT_PRINCIPAL_NAME;}' unless defined(&gss_krb5_nt_general_name);
    eval 'sub GSS_S_COMPLETE () {0;}' unless defined(&GSS_S_COMPLETE);
    eval 'sub GSS_C_CALLING_ERROR_OFFSET () {24;}' unless defined(&GSS_C_CALLING_ERROR_OFFSET);
    eval 'sub GSS_C_ROUTINE_ERROR_OFFSET () {16;}' unless defined(&GSS_C_ROUTINE_ERROR_OFFSET);
    eval 'sub GSS_C_SUPPLEMENTARY_OFFSET () {0;}' unless defined(&GSS_C_SUPPLEMENTARY_OFFSET);
    eval 'sub GSS_C_CALLING_ERROR_MASK () {0377;}' unless defined(&GSS_C_CALLING_ERROR_MASK);
    eval 'sub GSS_C_ROUTINE_ERROR_MASK () {0377;}' unless defined(&GSS_C_ROUTINE_ERROR_MASK);
    eval 'sub GSS_C_SUPPLEMENTARY_MASK () {0177777;}' unless defined(&GSS_C_SUPPLEMENTARY_MASK);
    eval 'sub GSS_CALLING_ERROR {
        my($x) = @_;
	    eval q(($x & ( &GSS_C_CALLING_ERROR_MASK <<  &GSS_C_CALLING_ERROR_OFFSET)));
    }' unless defined(&GSS_CALLING_ERROR);
    eval 'sub GSS_ROUTINE_ERROR {
        my($x) = @_;
	    eval q(($x & ( &GSS_C_ROUTINE_ERROR_MASK <<  &GSS_C_ROUTINE_ERROR_OFFSET)));
    }' unless defined(&GSS_ROUTINE_ERROR);
    eval 'sub GSS_SUPPLEMENTARY_INFO {
        my($x) = @_;
	    eval q(($x & ( &GSS_C_SUPPLEMENTARY_MASK <<  &GSS_C_SUPPLEMENTARY_OFFSET)));
    }' unless defined(&GSS_SUPPLEMENTARY_INFO);
    eval 'sub GSS_ERROR {
        my($x) = @_;
	    eval q(($x & (( &GSS_C_CALLING_ERROR_MASK <<  &GSS_C_CALLING_ERROR_OFFSET) | ( &GSS_C_ROUTINE_ERROR_MASK <<  &GSS_C_ROUTINE_ERROR_OFFSET))));
    }' unless defined(&GSS_ERROR);
    eval 'sub GSS_S_CALL_INACCESSIBLE_READ () {(1 <<  &GSS_C_CALLING_ERROR_OFFSET);}' unless defined(&GSS_S_CALL_INACCESSIBLE_READ);
    eval 'sub GSS_S_CALL_INACCESSIBLE_WRITE () {(2 <<  &GSS_C_CALLING_ERROR_OFFSET);}' unless defined(&GSS_S_CALL_INACCESSIBLE_WRITE);
    eval 'sub GSS_S_CALL_BAD_STRUCTURE () {(3 <<  &GSS_C_CALLING_ERROR_OFFSET);}' unless defined(&GSS_S_CALL_BAD_STRUCTURE);
    eval 'sub GSS_S_BAD_MECH () {(1 <<  &GSS_C_ROUTINE_ERROR_OFFSET);}' unless defined(&GSS_S_BAD_MECH);
    eval 'sub GSS_S_BAD_NAME () {(2 <<  &GSS_C_ROUTINE_ERROR_OFFSET);}' unless defined(&GSS_S_BAD_NAME);
    eval 'sub GSS_S_BAD_NAMETYPE () {(3 <<  &GSS_C_ROUTINE_ERROR_OFFSET);}' unless defined(&GSS_S_BAD_NAMETYPE);
    eval 'sub GSS_S_BAD_BINDINGS () {(4 <<  &GSS_C_ROUTINE_ERROR_OFFSET);}' unless defined(&GSS_S_BAD_BINDINGS);
    eval 'sub GSS_S_BAD_STATUS () {(5 <<  &GSS_C_ROUTINE_ERROR_OFFSET);}' unless defined(&GSS_S_BAD_STATUS);
    eval 'sub GSS_S_BAD_SIG () {(6 <<  &GSS_C_ROUTINE_ERROR_OFFSET);}' unless defined(&GSS_S_BAD_SIG);
    eval 'sub GSS_S_BAD_MIC () { &GSS_S_BAD_SIG;}' unless defined(&GSS_S_BAD_MIC);
    eval 'sub GSS_S_NO_CRED () {(7 <<  &GSS_C_ROUTINE_ERROR_OFFSET);}' unless defined(&GSS_S_NO_CRED);
    eval 'sub GSS_S_NO_CONTEXT () {(8 <<  &GSS_C_ROUTINE_ERROR_OFFSET);}' unless defined(&GSS_S_NO_CONTEXT);
    eval 'sub GSS_S_DEFECTIVE_TOKEN () {(9 <<  &GSS_C_ROUTINE_ERROR_OFFSET);}' unless defined(&GSS_S_DEFECTIVE_TOKEN);
    eval 'sub GSS_S_DEFECTIVE_CREDENTIAL () {(10 <<  &GSS_C_ROUTINE_ERROR_OFFSET);}' unless defined(&GSS_S_DEFECTIVE_CREDENTIAL);
    eval 'sub GSS_S_CREDENTIALS_EXPIRED () {(11 <<  &GSS_C_ROUTINE_ERROR_OFFSET);}' unless defined(&GSS_S_CREDENTIALS_EXPIRED);
    eval 'sub GSS_S_CONTEXT_EXPIRED () {(12 <<  &GSS_C_ROUTINE_ERROR_OFFSET);}' unless defined(&GSS_S_CONTEXT_EXPIRED);
    eval 'sub GSS_S_FAILURE () {(13 <<  &GSS_C_ROUTINE_ERROR_OFFSET);}' unless defined(&GSS_S_FAILURE);
    eval 'sub GSS_S_BAD_QOP () {(14 <<  &GSS_C_ROUTINE_ERROR_OFFSET);}' unless defined(&GSS_S_BAD_QOP);
    eval 'sub GSS_S_UNAUTHORIZED () {(15 <<  &GSS_C_ROUTINE_ERROR_OFFSET);}' unless defined(&GSS_S_UNAUTHORIZED);
    eval 'sub GSS_S_UNAVAILABLE () {(16 <<  &GSS_C_ROUTINE_ERROR_OFFSET);}' unless defined(&GSS_S_UNAVAILABLE);
    eval 'sub GSS_S_DUPLICATE_ELEMENT () {(17 <<  &GSS_C_ROUTINE_ERROR_OFFSET);}' unless defined(&GSS_S_DUPLICATE_ELEMENT);
    eval 'sub GSS_S_NAME_NOT_MN () {(18 <<  &GSS_C_ROUTINE_ERROR_OFFSET);}' unless defined(&GSS_S_NAME_NOT_MN);
    eval 'sub GSS_S_CONTINUE_NEEDED () {(1 << ( &GSS_C_SUPPLEMENTARY_OFFSET + 0));}' unless defined(&GSS_S_CONTINUE_NEEDED);
    eval 'sub GSS_S_DUPLICATE_TOKEN () {(1 << ( &GSS_C_SUPPLEMENTARY_OFFSET + 1));}' unless defined(&GSS_S_DUPLICATE_TOKEN);
    eval 'sub GSS_S_OLD_TOKEN () {(1 << ( &GSS_C_SUPPLEMENTARY_OFFSET + 2));}' unless defined(&GSS_S_OLD_TOKEN);
    eval 'sub GSS_S_UNSEQ_TOKEN () {(1 << ( &GSS_C_SUPPLEMENTARY_OFFSET + 3));}' unless defined(&GSS_S_UNSEQ_TOKEN);
    eval 'sub GSS_S_GAP_TOKEN () {(1 << ( &GSS_C_SUPPLEMENTARY_OFFSET + 4));}' unless defined(&GSS_S_GAP_TOKEN);
    eval 'sub GSS_KRB5_S_G_BAD_SERVICE_NAME () {1;}' unless defined(&GSS_KRB5_S_G_BAD_SERVICE_NAME);
    eval 'sub GSS_KRB5_S_G_BAD_STRING_UID () {2;}' unless defined(&GSS_KRB5_S_G_BAD_STRING_UID);
    eval 'sub GSS_KRB5_S_G_NOUSER () {3;}' unless defined(&GSS_KRB5_S_G_NOUSER);
    eval 'sub GSS_KRB5_S_G_VALIDATE_FAILED () {4;}' unless defined(&GSS_KRB5_S_G_VALIDATE_FAILED);
    eval 'sub GSS_KRB5_S_G_BUFFER_ALLOC () {5;}' unless defined(&GSS_KRB5_S_G_BUFFER_ALLOC);
    eval 'sub GSS_KRB5_S_G_BAD_MSG_CTX () {6;}' unless defined(&GSS_KRB5_S_G_BAD_MSG_CTX);
    eval 'sub GSS_KRB5_S_G_WRONG_SIZE () {7;}' unless defined(&GSS_KRB5_S_G_WRONG_SIZE);
    eval 'sub GSS_KRB5_S_G_BAD_USAGE () {8;}' unless defined(&GSS_KRB5_S_G_BAD_USAGE);
    eval 'sub GSS_KRB5_S_G_UNKNOWN_QOP () {9;}' unless defined(&GSS_KRB5_S_G_UNKNOWN_QOP);
    eval 'sub GSS_KRB5_S_KG_CCACHE_NOMATCH () {10;}' unless defined(&GSS_KRB5_S_KG_CCACHE_NOMATCH);
    eval 'sub GSS_KRB5_S_KG_KEYTAB_NOMATCH () {11;}' unless defined(&GSS_KRB5_S_KG_KEYTAB_NOMATCH);
    eval 'sub GSS_KRB5_S_KG_TGT_MISSING () {12;}' unless defined(&GSS_KRB5_S_KG_TGT_MISSING);
    eval 'sub GSS_KRB5_S_KG_NO_SUBKEY () {13;}' unless defined(&GSS_KRB5_S_KG_NO_SUBKEY);
    eval 'sub GSS_KRB5_S_KG_CONTEXT_ESTABLISHED () {14;}' unless defined(&GSS_KRB5_S_KG_CONTEXT_ESTABLISHED);
    eval 'sub GSS_KRB5_S_KG_BAD_SIGN_TYPE () {15;}' unless defined(&GSS_KRB5_S_KG_BAD_SIGN_TYPE);
    eval 'sub GSS_KRB5_S_KG_BAD_LENGTH () {16;}' unless defined(&GSS_KRB5_S_KG_BAD_LENGTH);
    eval 'sub GSS_KRB5_S_KG_CTX_INCOMPLETE () {17;}' unless defined(&GSS_KRB5_S_KG_CTX_INCOMPLETE);
    eval 'sub GSS_C_KRB5_COMPAT_DES3_MIC () {1;}' unless defined(&GSS_C_KRB5_COMPAT_DES3_MIC);
    if(defined(&__cplusplus)) {
    }
}
1;
