diff options
Diffstat (limited to 'crypto/ui/ui_lib.c')
-rw-r--r-- | crypto/ui/ui_lib.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/ui/ui_lib.c b/crypto/ui/ui_lib.c index 5bb0efd7eb..00abeb0e55 100644 --- a/crypto/ui/ui_lib.c +++ b/crypto/ui/ui_lib.c @@ -706,6 +706,14 @@ int (*UI_method_get_writer(UI_METHOD *method))(UI*,UI_STRING*) return NULL; } +int (*UI_method_get_flusher(UI_METHOD *method))(UI*) + { + if (method) + return method->ui_flush; + else + return NULL; + } + int (*UI_method_get_reader(UI_METHOD *method))(UI*,UI_STRING*) { if (method) |