p_delete(&savebuf);
}
-/*
- * Returns:
- * 1 need to redraw the screen and call me again
- * 0 if input was given
- * -1 if abort.
- */
-
-int mutt_enter_string (char *buf, size_t buflen, int y, int x, int flags)
-{
- int rv;
- ENTER_STATE *es = mutt_new_enter_state ();
-
- rv = _mutt_enter_string(buf, buflen, y, x, flags, 0, NULL, NULL, es);
- mutt_free_enter_state (&es);
- return rv;
-}
-
-int _mutt_enter_string (char *buf, size_t buflen, int y, int x,
- int flags, int multiple, char ***files, int *numfiles,
- ENTER_STATE * state)
+int mutt_enter_string (char *buf, size_t buflen, int y, int x,
+ int flags, int multiple, char ***files, int *numfiles,
+ ENTER_STATE * state)
{
int width = COLS - x - 1;
int redraw;