aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/ChangeLog5
-rw-r--r--include/util.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 76b585d1a..01a57e26a 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-23 David Shaw <[email protected]>
+
+ * util.h: New function answer_is_yes_no_default() to give a
+ default answer.
+
2002-04-22 Stefan Bellon <[email protected]>
* util.h [__riscos__]: Removed riscos_open, riscos_fopen and
diff --git a/include/util.h b/include/util.h
index ab94cf697..0d90c7e95 100644
--- a/include/util.h
+++ b/include/util.h
@@ -164,6 +164,7 @@ void print_string( FILE *fp, const byte *p, size_t n, int delim );
void print_utf8_string( FILE *fp, const byte *p, size_t n );
void print_utf8_string2( FILE *fp, const byte *p, size_t n, int delim);
char *make_printable_string( const byte *p, size_t n, int delim );
+int answer_is_yes_no_default( const char *s, int def_answer );
int answer_is_yes( const char *s );
int answer_is_yes_no_quit( const char *s );