Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
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 — OpenSSL user interface string parsingSYNOPSIS
#include <openssl/ui.h>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);
UI_get_input_flags(UI_STRING *uis);
UI_get0_output_string(UI_STRING *uis);
UI_get0_action_string(UI_STRING *uis);
UI_get0_result_string(UI_STRING *uis);
UI_get0_test_string(UI_STRING *uis);
UI_get_result_minsize(UI_STRING *uis);
UI_get_result_maxsize(UI_STRING *uis);
UI_set_result(UI *ui, UI_STRING *uis, const char *result);