diff --git a/src/wreadln.h b/src/wreadln.h
index 72ef411c4402a034ab3c000c3c1e22c734ad7bb8..d448f4119bd71e105597f160cc3ab57c3b2b360f 100644 (file)
--- a/src/wreadln.h
+++ b/src/wreadln.h
/* Note, wreadln calls curs_set() and noecho(), to enable cursor and
* disable echo. wreadln will not restore these settings when exiting! */
gchar *wreadln(WINDOW *w, /* the curses window to use */
- gchar *prompt, /* the prompt string or NULL */
- gchar *initial_value, /* initial value or NULL for a empty line
+ const gchar *prompt, /* the prompt string or NULL */
+ const gchar *initial_value, /* initial value or NULL for a empty line
* (char *) -1 = get value from history */
gint x1, /* the maximum x position or 0 */
GList **history, /* a pointer to a history list or NULL */
GCompletion *gcmp /* a GCompletion structure or NULL */
);
+gchar *
+wreadln_masked(WINDOW *w,
+ const gchar *prompt,
+ const gchar *initial_value,
+ gint x1,
+ GList **history,
+ GCompletion *gcmp);
#endif