| 1 |
#ifndef INPUT_H_INCLUDED |
| 2 |
#define INPUT_H_INCLUDED |
| 3 |
|
| 4 |
#include <stdint.h> |
| 5 |
|
| 6 |
struct boundary_info; |
| 7 |
struct framebuffer_info; |
| 8 |
|
| 9 |
typedef struct { |
| 10 |
char * buffer; |
| 11 |
size_t length; |
| 12 |
uint64_t number; |
| 13 |
} Input; |
| 14 |
|
| 15 |
void |
| 16 |
input_init(Input * const inputP); |
| 17 |
|
| 18 |
void |
| 19 |
input_term(Input * const inputP); |
| 20 |
|
| 21 |
void |
| 22 |
input_process_next_command(Input * const inputP, |
| 23 |
struct boundary_info * const bdiP, |
| 24 |
struct framebuffer_info * const fbiP, |
| 25 |
bool * const noMoreCommandsP); |
| 26 |
|
| 27 |
#endif |