summaryrefslogtreecommitdiffstats
path: root/src/intrfn.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2012-06-28 08:38:43 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2012-06-28 08:38:43 +0200
commit42acc4c0e8fc117b1783dbf194139b844543f7fe (patch)
treedc37a1f290a194dda4ca8b6000980b257453d9da /src/intrfn.h
parent77fee46b90d40e6aa07a6fdc43a6798216c3c5fa (diff)
TestDisk: If user press enter when asked for partition created unde Vista or later, default to yes
Diffstat (limited to 'src/intrfn.h')
-rw-r--r--src/intrfn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intrfn.h b/src/intrfn.h
index f6cc759..52d9fe9 100644
--- a/src/intrfn.h
+++ b/src/intrfn.h
@@ -46,6 +46,7 @@ void aff_part(WINDOW *window, const unsigned int newline, const disk_t *disk_car
unsigned long long int ask_number(const unsigned long long int val_cur, const unsigned long long int val_min, const unsigned long long int val_max, const char * _format, ...) __attribute__ ((format (printf, 4, 5)));
int ask_YN(WINDOW *window);
int ask_confirmation(const char*_format, ...) __attribute__ ((format (printf, 1, 2)));
+int ask_confirmation_with_default(const int key_default, const char*_format, ...) __attribute__ ((format (printf, 2, 3)));
int check_enter_key_or_s(WINDOW *window);
void dump2(WINDOW *window, const void *dump_1, const void *dump_2, const unsigned int lng);
void dump(WINDOW *window,const void *nom_dump,unsigned int lng);