Lines Matching refs:UI

73 /* typedef struct ui_st UI; */
83 UI *UI_new(void);
84 UI *UI_new_method(const UI_METHOD *method);
85 void UI_free(UI *ui);
111 All of the functions in this group take a UI and a prompt string.
130 int UI_add_input_string(UI *ui, const char *prompt, int flags,
132 int UI_dup_input_string(UI *ui, const char *prompt, int flags,
134 int UI_add_verify_string(UI *ui, const char *prompt, int flags,
136 int UI_dup_verify_string(UI *ui, const char *prompt, int flags,
138 int UI_add_input_boolean(UI *ui, const char *prompt, const char *action_desc,
141 int UI_dup_input_boolean(UI *ui, const char *prompt, const char *action_desc,
144 int UI_add_info_string(UI *ui, const char *text);
145 int UI_dup_info_string(UI *ui, const char *text);
146 int UI_add_error_string(UI *ui, const char *text);
147 int UI_dup_error_string(UI *ui, const char *text);
155 one input in each UI being marked with this flag, or the application
160 UI won't look at those, but will pass them on to the method routines. They
161 must use higher bits so they don't get confused with the UI bits above.
188 char *UI_construct_prompt(UI *ui_method,
201 void *UI_add_user_data(UI *ui, void *user_data);
203 void *UI_get0_user_data(UI *ui);
206 const char *UI_get0_result(UI *ui, int i);
209 int UI_process(UI *ui);
213 be used to get information from a UI. */
214 int UI_ctrl(UI *ui, int cmd, long i, void *p, void (*f)(void));
232 int UI_set_ex_data(UI *r,int idx,void *arg);
233 void *UI_get_ex_data(UI *r, int idx);
238 const UI_METHOD *UI_get_method(UI *ui);
239 const UI_METHOD *UI_set_method(UI *ui, const UI_METHOD *meth);
281 them back into the UI strings.
283 All method functions take a UI as argument. Additionally, the writer and
308 int UI_method_set_opener(UI_METHOD *method, int (*opener)(UI *ui));
309 int UI_method_set_writer(UI_METHOD *method, int (*writer)(UI *ui, UI_STRING *uis));
310 int UI_method_set_flusher(UI_METHOD *method, int (*flusher)(UI *ui));
311 int UI_method_set_reader(UI_METHOD *method, int (*reader)(UI *ui, UI_STRING *uis));
312 int UI_method_set_closer(UI_METHOD *method, int (*closer)(UI *ui));
313 int UI_method_set_prompt_constructor(UI_METHOD *method, char *(*prompt_constructor)(UI* ui, const char* object_desc, const char* object_name));
314 int (*UI_method_get_opener(UI_METHOD *method))(UI*);
315 int (*UI_method_get_writer(UI_METHOD *method))(UI*,UI_STRING*);
316 int (*UI_method_get_flusher(UI_METHOD *method))(UI*);
317 int (*UI_method_get_reader(UI_METHOD *method))(UI*,UI_STRING*);
318 int (*UI_method_get_closer(UI_METHOD *method))(UI*);
319 char * (*UI_method_get_prompt_constructor(UI_METHOD *method))(UI*, const char*, const char*);
341 int UI_set_result(UI *ui, UI_STRING *uis, const char *result);
355 /* Error codes for the UI functions. */