summaryrefslogtreecommitdiffstats
path: root/src/intrfn.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-01-14 22:13:47 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-01-14 22:13:47 +0100
commit1650fe5b8b6cea638c280df13605aea816718a00 (patch)
treefed11bd9361236aba47157d859607c109db05814 /src/intrfn.h
parent56e1c29b2c0614b0b3230946d72e1eaf37618bcc (diff)
Split ncurses text interface from functions
Diffstat (limited to 'src/intrfn.h')
-rw-r--r--src/intrfn.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/intrfn.h b/src/intrfn.h
index e72330b..603d5b1 100644
--- a/src/intrfn.h
+++ b/src/intrfn.h
@@ -20,6 +20,10 @@
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifdef HAVE_NCURSES
#ifdef HAVE_NCURSES_H
#include <ncurses.h>
@@ -46,4 +50,13 @@ int wmenuSelect(WINDOW *window, const int yinfo, int y, int x, const struct Menu
int wmenuSimple(WINDOW *window, const struct MenuItem *menuItems, unsigned int menuDefault);
int start_ncurses(const char *prog_name, const char *real_prog_name);
int end_ncurses(void);
+int interface_partition_type_ncurses(disk_t *disk_car);
+int vaff_txt(int line, WINDOW *window, const char *_format, va_list ap) __attribute__((format(printf, 3, 0)));
+char *ask_log_location(const char*filename);
+#endif
+
+void display_message(const char*msg);
+
+#ifdef __cplusplus
+} /* closing brace for extern "C" */
#endif