Lines Matching refs:UI

54 UI *UI_new(void);
55 UI *UI_new_method(const UI_METHOD *method);
56 void UI_free(UI *ui);
82 All of the functions in this group take a UI and a prompt string.
101 int UI_add_input_string(UI *ui, const char *prompt, int flags,
103 int UI_dup_input_string(UI *ui, const char *prompt, int flags,
105 int UI_add_verify_string(UI *ui, const char *prompt, int flags,
108 int UI_dup_verify_string(UI *ui, const char *prompt, int flags,
111 int UI_add_input_boolean(UI *ui, const char *prompt, const char *action_desc,
114 int UI_dup_input_boolean(UI *ui, const char *prompt, const char *action_desc,
117 int UI_add_info_string(UI *ui, const char *text);
118 int UI_dup_info_string(UI *ui, const char *text);
119 int UI_add_error_string(UI *ui, const char *text);
120 int UI_dup_error_string(UI *ui, const char *text);
129 * each UI being marked with this flag, or the application might get
136 * UI won't look at those, but will pass them on to the method routines. They
137 * must use higher bits so they don't get confused with the UI bits above.
165 char *UI_construct_prompt(UI *ui_method,
179 void *UI_add_user_data(UI *ui, void *user_data);
185 int UI_dup_user_data(UI *ui, void *user_data);
187 void *UI_get0_user_data(UI *ui);
190 const char *UI_get0_result(UI *ui, int i);
191 int UI_get_result_length(UI *ui, int i);
194 int UI_process(UI *ui);
199 * used to get information from a UI.
201 int UI_ctrl(UI *ui, int cmd, long i, void *p, void (*f) (void));
223 int UI_set_ex_data(UI *r, int idx, void *arg);
224 void *UI_get_ex_data(const UI *r, int idx);
229 const UI_METHOD *UI_get_method(UI *ui);
230 const UI_METHOD *UI_set_method(UI *ui, const UI_METHOD *meth);
282 them back into the UI strings.
284 All method functions take a UI as argument. Additionally, the writer and
314 int UI_method_set_opener(UI_METHOD *method, int (*opener) (UI *ui));
316 int (*writer) (UI *ui, UI_STRING *uis));
317 int UI_method_set_flusher(UI_METHOD *method, int (*flusher) (UI *ui));
319 int (*reader) (UI *ui, UI_STRING *uis));
320 int UI_method_set_closer(UI_METHOD *method, int (*closer) (UI *ui));
322 void *(*duplicator) (UI *ui, void *ui_data),
323 void (*destructor)(UI *ui, void *ui_data));
325 char *(*prompt_constructor) (UI *ui,
331 int (*UI_method_get_opener(const UI_METHOD *method)) (UI *);
332 int (*UI_method_get_writer(const UI_METHOD *method)) (UI *, UI_STRING *);
333 int (*UI_method_get_flusher(const UI_METHOD *method)) (UI *);
334 int (*UI_method_get_reader(const UI_METHOD *method)) (UI *, UI_STRING *);
335 int (*UI_method_get_closer(const UI_METHOD *method)) (UI *);
337 (UI *, const char *, const char *);
338 void *(*UI_method_get_data_duplicator(const UI_METHOD *method)) (UI *, void *);
339 void (*UI_method_get_data_destructor(const UI_METHOD *method)) (UI *, void *);
370 int UI_set_result(UI *ui, UI_STRING *uis, const char *result);
371 int UI_set_result_ex(UI *ui, UI_STRING *uis, const char *result, int len);