File: gui.h

package info (click to toggle)
polyglot 2.0.4%2Bgit20210322-1
  • links: PTS
  • area: main
  • in suites: bookworm, trixie
  • size: 1,284 kB
  • sloc: ansic: 10,443; sh: 3,711; makefile: 18
file content (29 lines) | stat: -rw-r--r-- 421 bytes parent folder | download | duplicates (7)
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