Create the long-awaited console.c, and move the common routines out
[u/mdw/putty] / putty.h
diff --git a/putty.h b/putty.h
index b59703a..baa55ff 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -591,4 +591,12 @@ const char *wc_error(int value);
 int wc_match(const char *wildcard, const char *target);
 int wc_unescape(char *output, const char *wildcard);
 
+/*
+ * Exports from console.c (that aren't equivalents to things in
+ * windlg.c).
+ */
+extern int console_batch_mode;
+extern char *console_password;
+int console_get_line(const char *prompt, char *str, int maxlen, int is_pw);
+
 #endif