require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&HEADER_UI_H)) {
    eval 'sub HEADER_UI_H () {1;}' unless defined(&HEADER_UI_H);
    require 'openssl/crypto.ph';
    require 'openssl/safestack.ph';
    if(defined(&__cplusplus)) {
    }
    eval 'sub UI_INPUT_FLAG_ECHO () {0x1;}' unless defined(&UI_INPUT_FLAG_ECHO);
    eval 'sub UI_INPUT_FLAG_DEFAULT_PWD () {0x2;}' unless defined(&UI_INPUT_FLAG_DEFAULT_PWD);
    eval 'sub UI_INPUT_FLAG_USER_BASE () {16;}' unless defined(&UI_INPUT_FLAG_USER_BASE);
    eval 'sub UI_CTRL_PRINT_ERRORS () {1;}' unless defined(&UI_CTRL_PRINT_ERRORS);
    eval 'sub UI_CTRL_IS_REDOABLE () {2;}' unless defined(&UI_CTRL_IS_REDOABLE);
    eval 'sub UI_set_app_data {
        my($s,$arg) = @_;
	    eval q( &UI_set_ex_data($s,0,$arg));
    }' unless defined(&UI_set_app_data);
    eval 'sub UI_get_app_data {
        my($s) = @_;
	    eval q( &UI_get_ex_data($s,0));
    }' unless defined(&UI_get_app_data);
    eval("sub UIT_NONE () { 0; }") unless defined(&UIT_NONE);
    eval("sub UIT_PROMPT () { 1; }") unless defined(&UIT_PROMPT);
    eval("sub UIT_VERIFY () { 2; }") unless defined(&UIT_VERIFY);
    eval("sub UIT_BOOLEAN () { 3; }") unless defined(&UIT_BOOLEAN);
    eval("sub UIT_INFO () { 4; }") unless defined(&UIT_INFO);
    eval("sub UIT_ERROR () { 5; }") unless defined(&UIT_ERROR);
    eval 'sub UI_F_GENERAL_ALLOCATE_BOOLEAN () {108;}' unless defined(&UI_F_GENERAL_ALLOCATE_BOOLEAN);
    eval 'sub UI_F_GENERAL_ALLOCATE_PROMPT () {109;}' unless defined(&UI_F_GENERAL_ALLOCATE_PROMPT);
    eval 'sub UI_F_GENERAL_ALLOCATE_STRING () {100;}' unless defined(&UI_F_GENERAL_ALLOCATE_STRING);
    eval 'sub UI_F_UI_CTRL () {111;}' unless defined(&UI_F_UI_CTRL);
    eval 'sub UI_F_UI_DUP_ERROR_STRING () {101;}' unless defined(&UI_F_UI_DUP_ERROR_STRING);
    eval 'sub UI_F_UI_DUP_INFO_STRING () {102;}' unless defined(&UI_F_UI_DUP_INFO_STRING);
    eval 'sub UI_F_UI_DUP_INPUT_BOOLEAN () {110;}' unless defined(&UI_F_UI_DUP_INPUT_BOOLEAN);
    eval 'sub UI_F_UI_DUP_INPUT_STRING () {103;}' unless defined(&UI_F_UI_DUP_INPUT_STRING);
    eval 'sub UI_F_UI_DUP_VERIFY_STRING () {106;}' unless defined(&UI_F_UI_DUP_VERIFY_STRING);
    eval 'sub UI_F_UI_GET0_RESULT () {107;}' unless defined(&UI_F_UI_GET0_RESULT);
    eval 'sub UI_F_UI_NEW_METHOD () {104;}' unless defined(&UI_F_UI_NEW_METHOD);
    eval 'sub UI_F_UI_SET_RESULT () {105;}' unless defined(&UI_F_UI_SET_RESULT);
    eval 'sub UI_R_COMMON_OK_AND_CANCEL_CHARACTERS () {104;}' unless defined(&UI_R_COMMON_OK_AND_CANCEL_CHARACTERS);
    eval 'sub UI_R_INDEX_TOO_LARGE () {102;}' unless defined(&UI_R_INDEX_TOO_LARGE);
    eval 'sub UI_R_INDEX_TOO_SMALL () {103;}' unless defined(&UI_R_INDEX_TOO_SMALL);
    eval 'sub UI_R_NO_RESULT_BUFFER () {105;}' unless defined(&UI_R_NO_RESULT_BUFFER);
    eval 'sub UI_R_RESULT_TOO_LARGE () {100;}' unless defined(&UI_R_RESULT_TOO_LARGE);
    eval 'sub UI_R_RESULT_TOO_SMALL () {101;}' unless defined(&UI_R_RESULT_TOO_SMALL);
    eval 'sub UI_R_UNKNOWN_CONTROL_COMMAND () {106;}' unless defined(&UI_R_UNKNOWN_CONTROL_COMMAND);
    if(defined(&__cplusplus)) {
    }
}
1;
