summaryrefslogtreecommitdiffstats
path: root/src/intrf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/intrf.h')
-rw-r--r--src/intrf.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/intrf.h b/src/intrf.h
index 0559817..56e500e 100644
--- a/src/intrf.h
+++ b/src/intrf.h
@@ -2,7 +2,7 @@
File: intrf.h
- Copyright (C) 1998-2007 Christophe GRENIER <grenier@cgsecurity.org>
+ Copyright (C) 1998-2008 Christophe GRENIER <grenier@cgsecurity.org>
This software is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -20,7 +20,6 @@
*/
-enum buffer_cmd {BUFFER_RESET, BUFFER_ADD, BUFFER_WRITE,BUFFER_SHOW};
typedef enum buffer_cmd buffer_cmd_t;
struct MenuItem
@@ -73,9 +72,6 @@ struct MenuItem
/* '\014' == ^L */
#define key_REDRAWKEY '\014'
-
-/* int aff_buffer(const int cmd, const char *_format, ...) __attribute__ ((format (printf, 2, 3))); */
-int aff_buffer(const buffer_cmd_t cmd, const char *_format, ...);
void aff_CHS(const CHS_t * CHS);
void aff_CHS_buffer(const CHS_t * CHS);
void aff_LBA2CHS(const disk_t *disk_car, const unsigned long int pos_LBA);
@@ -90,7 +86,11 @@ int display_message_aux(const char*_format,...) __attribute__ ((format (printf,
int display_message(const char*msg);
int get_string(char *str, int len, char *def);
void not_implemented(const char *msg);
+void screen_buffer_reset(void);
+int screen_buffer_add(const char *_format, ...) __attribute__ ((format (printf, 1, 2)));
void screen_buffer_to_log(void);
+void screen_buffer_to_interface(void);
+void screen_buffer_to_stdout(void);
int interface_partition_type(disk_t *disk_car, const int verbose, char**current_cmd);
int intrf_no_disk(const char *prog_name);
char *ask_log_location(const char*filename);