summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/apps.c5
-rw-r--r--apps/apps.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/apps/apps.c b/apps/apps.c
index d911c0f978..969b6b84ed 100644
--- a/apps/apps.c
+++ b/apps/apps.c
@@ -245,6 +245,11 @@ void destroy_ui_method(void)
ui_method = NULL;
}
}
+
+const UI_METHOD *get_ui_method(void)
+{
+ return ui_method;
+}
#endif
int password_callback(char *buf, int bufsiz, int verify, PW_CB_DATA *cb_tmp)
diff --git a/apps/apps.h b/apps/apps.h
index d9f7c08e94..7cdf711706 100644
--- a/apps/apps.h
+++ b/apps/apps.h
@@ -389,6 +389,7 @@ int password_callback(char *buf, int bufsiz, int verify, PW_CB_DATA *cb_data);
int setup_ui_method(void);
void destroy_ui_method(void);
+const UI_METHOD *get_ui_method(void);
int chopup_args(ARGS *arg, char *buf);
# ifdef HEADER_X509_H