Home | History | Annotate | Download | only in ui

Lines Matching refs:method

76 UI *UI_new_method(const UI_METHOD *method)
86 if (method == NULL)
89 ret->meth=method;
631 /* BIG FSCKING WARNING!!!! If you use this on a statically allocated method
641 int UI_method_set_opener(UI_METHOD *method, int (*opener)(UI *ui))
643 if (method)
645 method->ui_open_session = opener;
652 int UI_method_set_writer(UI_METHOD *method, int (*writer)(UI *ui, UI_STRING *uis))
654 if (method)
656 method->ui_write_string = writer;
663 int UI_method_set_flusher(UI_METHOD *method, int (*flusher)(UI *ui))
665 if (method)
667 method->ui_flush = flusher;
674 int UI_method_set_reader(UI_METHOD *method, int (*reader)(UI *ui, UI_STRING *uis))
676 if (method)
678 method->ui_read_string = reader;
685 int UI_method_set_closer(UI_METHOD *method, int (*closer)(UI *ui))
687 if (method)
689 method->ui_close_session = closer;
696 int (*UI_method_get_opener(UI_METHOD *method))(UI*)
698 if (method)
699 return method->ui_open_session;
704 int (*UI_method_get_writer(UI_METHOD *method))(UI*,UI_STRING*)
706 if (method)
707 return method->ui_write_string;
712 int (*UI_method_get_flusher(UI_METHOD *method))(UI*)
714 if (method)
715 return method->ui_flush;
720 int (*UI_method_get_reader(UI_METHOD *method))(UI*,UI_STRING*)
722 if (method)
723 return method->ui_read_string;
728 int (*UI_method_get_closer(UI_METHOD *method))(UI*)
730 if (method)
731 return method->ui_close_session;