summaryrefslogtreecommitdiffstats
path: root/src/intrfn.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2012-06-28 08:36:10 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2012-06-28 08:36:10 +0200
commit77fee46b90d40e6aa07a6fdc43a6798216c3c5fa (patch)
tree533ec36cfcedce96d905cbb4b7e49620e62a9867 /src/intrfn.h
parent1c0cddad9b574ce1d1de6a9dca22dcd844c690ec (diff)
move prototypes of function using ncurses from src/intrf.h to src/intrfn.h
Diffstat (limited to 'src/intrfn.h')
-rw-r--r--src/intrfn.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/intrfn.h b/src/intrfn.h
index 581586c..f6cc759 100644
--- a/src/intrfn.h
+++ b/src/intrfn.h
@@ -41,13 +41,19 @@ extern "C" {
void aff_copy(WINDOW *window);
void aff_copy_short(WINDOW *window);
+void aff_LBA2CHS(const disk_t *disk_car, const unsigned long int pos_LBA);
void aff_part(WINDOW *window, const unsigned int newline, const disk_t *disk_car, const partition_t *partition);
+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 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);
+void dump_ncurses(const void *nom_dump, unsigned int lng);
+void not_implemented(const char *msg);
int screen_buffer_display_ext(WINDOW *window, const char *options_org, const struct MenuItem *menuItems, unsigned int *menu);
int screen_buffer_display(WINDOW *window, const char *options_org, const struct MenuItem *menuItems);
+void screen_buffer_to_interface(void);
int wmenuSelect_ext(WINDOW *window, const int yinfo, const int y, const int x, const struct MenuItem *menuItems, const unsigned int itemLength, const char *available, const int menuType, unsigned int *current, int *real_key);
int wmenuSelect(WINDOW *window, const int yinfo, const int y, const int x, const struct MenuItem *menuItems, const unsigned int itemLength, const char *available, const int menuType, const unsigned int menuDefault);
int wmenuSimple(WINDOW *window, const struct MenuItem *menuItems, const unsigned int menuDefault);