1 // gui.h 2 3 #ifndef GUI_H 4 #define GUI_H 5 6 // includes 7 8 #include "pipex.h" 9 #include "io.h" 10 11 // types 12 13 typedef struct { 14 pipex_t pipex[1]; 15 } gui_t; 16 17 // variables 18 19 extern gui_t GUI[1]; 20 21 // functions 22 23 extern void gui_init(gui_t * gui); 24 extern void gui_send(gui_t * gui, const char *format, ...); 25 extern void gui_get (gui_t * gui, char *string); 26 extern bool gui_get_non_blocking (gui_t * gui, char *string); 27 28 29 #endif 30