Lines Matching refs:UI

42 UI *UI_new(void);
43 UI *UI_new_method(const UI_METHOD *method);
44 void UI_free(UI *ui);
70 All of the functions in this group take a UI and a prompt string.
89 int UI_add_input_string(UI *ui, const char *prompt, int flags,
91 int UI_dup_input_string(UI *ui, const char *prompt, int flags,
93 int UI_add_verify_string(UI *ui, const char *prompt, int flags,
96 int UI_dup_verify_string(UI *ui, const char *prompt, int flags,
99 int UI_add_input_boolean(UI *ui, const char *prompt, const char *action_desc,
102 int UI_dup_input_boolean(UI *ui, const char *prompt, const char *action_desc,
105 int UI_add_info_string(UI *ui, const char *text);
106 int UI_dup_info_string(UI *ui, const char *text);
107 int UI_add_error_string(UI *ui, const char *text);
108 int UI_dup_error_string(UI *ui, const char *text);
117 * each UI being marked with this flag, or the application might get
124 * UI won't look at those, but will pass them on to the method routines. They
125 * must use higher bits so they don't get confused with the UI bits above.
152 char *UI_construct_prompt(UI *ui_method,
166 void *UI_add_user_data(UI *ui, void *user_data);
172 int UI_dup_user_data(UI *ui, void *user_data);
174 void *UI_get0_user_data(UI *ui);
177 const char *UI_get0_result(UI *ui, int i);
178 int UI_get_result_length(UI *ui, int i);
181 int UI_process(UI *ui);
186 * used to get information from a UI.
188 int UI_ctrl(UI *ui, int cmd, long i, void *p, void (*f) (void));
210 int UI_set_ex_data(UI *r, int idx, void *arg);
211 void *UI_get_ex_data(UI *r, int idx);
216 const UI_METHOD *UI_get_method(UI *ui);
217 const UI_METHOD *UI_set_method(UI *ui, const UI_METHOD *meth);
269 them back into the UI strings.
271 All method functions take a UI as argument. Additionally, the writer and
298 int UI_method_set_opener(UI_METHOD *method, int (*opener) (UI *ui));
300 int (*writer) (UI *ui, UI_STRING *uis));
301 int UI_method_set_flusher(UI_METHOD *method, int (*flusher) (UI *ui));
303 int (*reader) (UI *ui, UI_STRING *uis));
304 int UI_method_set_closer(UI_METHOD *method, int (*closer) (UI *ui));
306 void *(*duplicator) (UI *ui, void *ui_data),
307 void (*destructor)(UI *ui, void *ui_data));
309 char *(*prompt_constructor) (UI *ui,
315 int (*UI_method_get_opener(const UI_METHOD *method)) (UI *);
316 int (*UI_method_get_writer(const UI_METHOD *method)) (UI *, UI_STRING *);
317 int (*UI_method_get_flusher(const UI_METHOD *method)) (UI *);
318 int (*UI_method_get_reader(const UI_METHOD *method)) (UI *, UI_STRING *);
319 int (*UI_method_get_closer(const UI_METHOD *method)) (UI *);
321 (UI *, const char *, const char *);
322 void *(*UI_method_get_data_duplicator(const UI_METHOD *method)) (UI *, void *);
323 void (*UI_method_get_data_destructor(const UI_METHOD *method)) (UI *, void *);
354 int UI_set_result(UI *ui, UI_STRING *uis, const char *result);
355 int UI_set_result_ex(UI *ui, UI_STRING *uis, const char *result, int len);