From bedc03e69281508ffdb374085225b5ea516c4b13 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Mon, 24 Jun 2013 23:04:44 +0200 Subject: ifpps, flowtop: Move ncurses init and end to common module ncurses (de-)initialization is duplicated across flowtop and ifpps, so move it to an own module and use it from both tools. Signed-off-by: Tobias Klauser --- screen.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 screen.h (limited to 'screen.h') diff --git a/screen.h b/screen.h new file mode 100644 index 0000000..7a647be --- /dev/null +++ b/screen.h @@ -0,0 +1,9 @@ +#ifndef SCREEN_H +#define SCREEN_H + +#include + +extern WINDOW *screen_init(bool israw); +extern void screen_end(void); + +#endif /* SCREEN_H */ -- cgit v1.2.3-54-g00ecf