UI_get0_action_string (3)
Leading comments
Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35) Standard preamble: ========================================================================
NAME
UI_STRING, UI_string_types, UI_get_string_type, UI_get_input_flags, UI_get0_output_string, UI_get0_action_string, UI_get0_result_string, UI_get0_test_string, UI_get_result_minsize, UI_get_result_maxsize, UI_set_result - User interface string parsingSYNOPSIS
#include <openssl/ui.h> typedef struct ui_string_st UI_STRING; enum UI_string_types { UIT_NONE = 0, UIT_PROMPT, /* Prompt for a string */ UIT_VERIFY, /* Prompt for a string and verify */ UIT_BOOLEAN, /* Prompt for a yes/no response */ UIT_INFO, /* Send info to the user */ UIT_ERROR /* Send an error message to the user */ }; enum UI_string_types UI_get_string_type(UI_STRING *uis); int UI_get_input_flags(UI_STRING *uis); const char *UI_get0_output_string(UI_STRING *uis); const char *UI_get0_action_string(UI_STRING *uis); const char *UI_get0_result_string(UI_STRING *uis); const char *UI_get0_test_string(UI_STRING *uis); int UI_get_result_minsize(UI_STRING *uis); int UI_get_result_maxsize(UI_STRING *uis); int UI_set_result(UI *ui, UI_STRING *uis, const char *result);
DESCRIPTION
TheUI_get_string_type() is used to retrieve the type of the given
UI_get_input_flags() is used to retrieve the flags associated with the given
UI_get0_output_string() is used to retrieve the actual string to output (prompt, info, error, ...).
UI_get0_action_string() is used to retrieve the action description associated with a
UI_get0_result_string() is used to retrieve the result of a prompt. This is only useful for
UI_get0_test_string() is used to retrieve the string to compare the prompt result with. This is only useful for
UI_get_result_minsize() and UI_get_result_maxsize() are used to retrieve the minimum and maximum required size of the result. This is only useful for
UI_set_result() is used to set the result value of a prompt. For
RETURN VALUES
UI_get_string_type() returns theUI_get_input_flags() returns the
UI_get0_output_string() returns the
UI_get0_action_string() returns the
UI_get0_result_string() returns the
UI_get0_test_string() returns the
UI_get_result_minsize() returns the minimum allowed result size for the
UI_get_result_maxsize() returns the minimum allowed result size for the
UI_set_result() returns 0 on success or when the
SEE ALSO
(3)COPYRIGHT
Copyright 2001-2016 The OpenSSL Project Authors. All Rights Reserved.Licensed under the OpenSSL license (the ``License''). You may not use this file except in compliance with the License. You can obtain a copy in the file