Home | History | Annotate | Download | only in ui

Lines Matching refs:ui_method

69 static const UI_METHOD *default_UI_meth=NULL;
76 UI *UI_new_method(const UI_METHOD *method)
593 void UI_set_default_method(const UI_METHOD *meth)
598 const UI_METHOD *UI_get_default_method(void)
607 const UI_METHOD *UI_get_method(UI *ui)
612 const UI_METHOD *UI_set_method(UI *ui, const UI_METHOD *meth)
619 UI_METHOD *UI_create_method(char *name)
621 UI_METHOD *ui_method = (UI_METHOD *)OPENSSL_malloc(sizeof(UI_METHOD));
623 if (ui_method)
625 memset(ui_method, 0, sizeof(*ui_method));
626 ui_method->name = BUF_strdup(name);
628 return ui_method;
634 void UI_destroy_method(UI_METHOD *ui_method)
636 OPENSSL_free(ui_method->name);
637 ui_method->name = NULL;
638 OPENSSL_free(ui_method);
641 int UI_method_set_opener(UI_METHOD *method, int (*opener)(UI *ui))
652 int UI_method_set_writer(UI_METHOD *method, int (*writer)(UI *ui, UI_STRING *uis))
663 int UI_method_set_flusher(UI_METHOD *method, int (*flusher)(UI *ui))
674 int UI_method_set_reader(UI_METHOD *method, int (*reader)(UI *ui, UI_STRING *uis))
685 int UI_method_set_closer(UI_METHOD *method, int (*closer)(UI *ui))
696 int UI_method_set_prompt_constructor(UI_METHOD *method, char *(*prompt_constructor)(UI* ui, const char* object_desc, const char* object_name))
707 int (*UI_method_get_opener(UI_METHOD *method))(UI*)
715 int (*UI_method_get_writer(UI_METHOD *method))(UI*,UI_STRING*)
723 int (*UI_method_get_flusher(UI_METHOD *method))(UI*)
731 int (*UI_method_get_reader(UI_METHOD *method))(UI*,UI_STRING*)
739 int (*UI_method_get_closer(UI_METHOD *method))(UI*)
747 char* (*UI_method_get_prompt_constructor(UI_METHOD *method))(UI*, const char*, const char*)