projects
/
polyglot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b984603833b62bc46905c32e95a5b27ce2a07a45
[polyglot.git]
/
gui.h
1
// gui.h
2
3
#ifndef GUI_H
4
#define GUI_H
5
6
// includes
7
8
#include "pipe.h"
9
#include "io.h"
10
11
struct gui_t {
12
#ifndef _WIN32
13
io_t io[1];
14
#else
15
PipeStruct pipeStdin;
16
#endif
17
};
18
19
// variables
20
21
extern gui_t GUI[1];
22
23
// functions
24
25
extern void gui_init(gui_t * gui);
26
extern void gui_send(gui_t * gui, const char format[], ...);
27
extern void gui_get (gui_t * gui, char string[], int size);
28
extern bool gui_get_non_blocking (gui_t * gui, char string[], int size);
29
30
31
#endif