File: gui.h

package info (click to toggle)
polyglot 2.0.1%2Bgit20140926-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,228 kB
  • ctags: 1,163
  • sloc: ansic: 10,416; sh: 994; makefile: 18
file content (29 lines) | stat: -rw-r--r-- 421 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// gui.h

#ifndef GUI_H
#define GUI_H

// includes

#include "pipex.h"
#include "io.h"

// types

typedef struct {
    pipex_t pipex[1];
} gui_t;

// variables

extern gui_t GUI[1];

// functions

extern void gui_init(gui_t * gui);
extern void gui_send(gui_t * gui, const char *format, ...);
extern void gui_get        (gui_t * gui, char *string); 
extern bool gui_get_non_blocking (gui_t * gui, char *string); 


#endif