Lines Matching refs:method

23 UI *UI_new_method(const UI_METHOD *method)  in UI_new_method()  argument
39 if (method == NULL) in UI_new_method()
40 method = UI_get_default_method(); in UI_new_method()
41 if (method == NULL) in UI_new_method()
42 method = UI_null(); in UI_new_method()
43 ret->meth = method; in UI_new_method()
631 int UI_method_set_opener(UI_METHOD *method, int (*opener) (UI *ui)) in UI_method_set_opener() argument
633 if (method != NULL) { in UI_method_set_opener()
634 method->ui_open_session = opener; in UI_method_set_opener()
640 int UI_method_set_writer(UI_METHOD *method, in UI_method_set_writer() argument
643 if (method != NULL) { in UI_method_set_writer()
644 method->ui_write_string = writer; in UI_method_set_writer()
650 int UI_method_set_flusher(UI_METHOD *method, int (*flusher) (UI *ui)) in UI_method_set_flusher() argument
652 if (method != NULL) { in UI_method_set_flusher()
653 method->ui_flush = flusher; in UI_method_set_flusher()
659 int UI_method_set_reader(UI_METHOD *method, in UI_method_set_reader() argument
662 if (method != NULL) { in UI_method_set_reader()
663 method->ui_read_string = reader; in UI_method_set_reader()
669 int UI_method_set_closer(UI_METHOD *method, int (*closer) (UI *ui)) in UI_method_set_closer() argument
671 if (method != NULL) { in UI_method_set_closer()
672 method->ui_close_session = closer; in UI_method_set_closer()
678 int UI_method_set_data_duplicator(UI_METHOD *method, in UI_method_set_data_duplicator() argument
682 if (method != NULL) { in UI_method_set_data_duplicator()
683 method->ui_duplicate_data = duplicator; in UI_method_set_data_duplicator()
684 method->ui_destroy_data = destructor; in UI_method_set_data_duplicator()
690 int UI_method_set_prompt_constructor(UI_METHOD *method, in UI_method_set_prompt_constructor() argument
695 if (method != NULL) { in UI_method_set_prompt_constructor()
696 method->ui_construct_prompt = prompt_constructor; in UI_method_set_prompt_constructor()
702 int UI_method_set_ex_data(UI_METHOD *method, int idx, void *data) in UI_method_set_ex_data() argument
704 return CRYPTO_set_ex_data(&method->ex_data, idx, data); in UI_method_set_ex_data()
707 int (*UI_method_get_opener(const UI_METHOD *method)) (UI *) in UI_method_get_opener() argument
709 if (method != NULL) in UI_method_get_opener()
710 return method->ui_open_session; in UI_method_get_opener()
714 int (*UI_method_get_writer(const UI_METHOD *method)) (UI *, UI_STRING *) in UI_method_get_writer() argument
716 if (method != NULL) in UI_method_get_writer()
717 return method->ui_write_string; in UI_method_get_writer()
721 int (*UI_method_get_flusher(const UI_METHOD *method)) (UI *) in UI_method_get_flusher() argument
723 if (method != NULL) in UI_method_get_flusher()
724 return method->ui_flush; in UI_method_get_flusher()
728 int (*UI_method_get_reader(const UI_METHOD *method)) (UI *, UI_STRING *) in UI_method_get_reader() argument
730 if (method != NULL) in UI_method_get_reader()
731 return method->ui_read_string; in UI_method_get_reader()
735 int (*UI_method_get_closer(const UI_METHOD *method)) (UI *) in UI_method_get_closer() argument
737 if (method != NULL) in UI_method_get_closer()
738 return method->ui_close_session; in UI_method_get_closer()
742 char *(*UI_method_get_prompt_constructor(const UI_METHOD *method)) in UI_method_get_prompt_constructor() argument
745 if (method != NULL) in UI_method_get_prompt_constructor()
746 return method->ui_construct_prompt; in UI_method_get_prompt_constructor()
750 void *(*UI_method_get_data_duplicator(const UI_METHOD *method)) (UI *, void *) in UI_method_get_data_duplicator() argument
752 if (method != NULL) in UI_method_get_data_duplicator()
753 return method->ui_duplicate_data; in UI_method_get_data_duplicator()
757 void (*UI_method_get_data_destructor(const UI_METHOD *method)) (UI *, void *) in UI_method_get_data_destructor() argument
759 if (method != NULL) in UI_method_get_data_destructor()
760 return method->ui_destroy_data; in UI_method_get_data_destructor()
764 const void *UI_method_get_ex_data(const UI_METHOD *method, int idx) in UI_method_get_ex_data() argument
766 return CRYPTO_get_ex_data(&method->ex_data, idx); in UI_method_get_ex_data()