Sortix cross-volatile manual
This manual documents Sortix cross-volatile. You can instead view this document in the latest official manual.
NAME
UI_new, UI_new_method, UI_free, UI_add_input_string, UI_dup_input_string, UI_add_verify_string, UI_dup_verify_string, UI_add_input_boolean, UI_dup_input_boolean, UI_add_info_string, UI_dup_info_string, UI_add_error_string, UI_dup_error_string, UI_construct_prompt, UI_add_user_data, UI_get0_user_data, UI_get0_result, UI_process, UI_ctrl, UI_set_default_method, UI_get_default_method, UI_get_method, UI_set_method, UI_OpenSSL, UI_null — New User InterfaceSYNOPSIS
#include <openssl/ui.h>UI_new(void);
UI_new_method(const UI_METHOD *method);
UI_free(UI *ui);
UI_add_input_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize);
UI_dup_input_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize);
UI_add_verify_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize, const char *test_buf);
UI_dup_verify_string(UI *ui, const char *prompt, int flags, char *result_buf, int minsize, int maxsize, const char *test_buf);
UI_add_input_boolean(UI *ui, const char *prompt, const char *action_desc, const char *ok_chars, const char *cancel_chars, int flags, char *result_buf);
UI_dup_input_boolean(UI *ui, const char *prompt, const char *action_desc, const char *ok_chars, const char *cancel_chars, int flags, char *result_buf);
UI_add_info_string(UI *ui, const char *text);
UI_dup_info_string(UI *ui, const char *text);
UI_add_error_string(UI *ui, const char *text);
UI_dup_error_string(UI *ui, const char *text);
#define UI_INPUT_FLAG_ECHO 0x01
#define UI_INPUT_FLAG_DEFAULT_PWD 0x02
UI_construct_prompt(UI *ui_method, const char *object_desc, const char *object_name);
UI_add_user_data(UI *ui, void *user_data);
UI_get0_user_data(UI *ui);
UI_get0_result(UI *ui, int i);
UI_process(UI *ui);
UI_ctrl(UI *ui, int cmd, long i, void *p, void (*f)());
#define UI_CTRL_IS_REDOABLE 2
UI_set_default_method(const UI_METHOD *meth);
UI_get_default_method(void);
UI_get_method(UI *ui);
UI_set_method(UI *ui, const UI_METHOD *meth);
UI_OpenSSL(void);
UI_null(void);