aboutsummaryrefslogtreecommitdiff
path: root/src/dialog.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialog.hh')
-rw-r--r--src/dialog.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dialog.hh b/src/dialog.hh
index 17c326cb..d82eb0cc 100644
--- a/src/dialog.hh
+++ b/src/dialog.hh
@@ -5,12 +5,16 @@
extern "C" {
#endif /* __cplusplus */
+typedef void (*UserPasswordCB)(const char *user, const char *password,
+ void *vp);
+
void a_Dialog_msg(const char *msg);
int a_Dialog_choice3(const char *msg,
const char *b0, const char *b1, const char *b2);
int a_Dialog_choice5(const char *QuestionTxt,
const char *alt1, const char *alt2, const char *alt3,
const char *alt4, const char *alt5);
+int a_Dialog_user_password(const char *message, UserPasswordCB cb, void *vp);
const char *a_Dialog_input(const char *msg);
const char *a_Dialog_passwd(const char *msg);
const char *a_Dialog_save_file(const char *msg,