diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2013-06-24 23:04:44 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2013-06-24 23:14:22 +0200 |
commit | bedc03e69281508ffdb374085225b5ea516c4b13 (patch) | |
tree | 3a1dda0f787c95ab3ad307140341c01658e15f54 /screen.h | |
parent | 0d50f6b5e8f682fcb34bfac8c21c83f1a246b4dc (diff) |
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 <tklauser@distanz.ch>
Diffstat (limited to 'screen.h')
-rw-r--r-- | screen.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 <curses.h> + +extern WINDOW *screen_init(bool israw); +extern void screen_end(void); + +#endif /* SCREEN_H */ |