diff options
Diffstat (limited to 'generator/pamtris/input.h')
-rw-r--r-- | generator/pamtris/input.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/generator/pamtris/input.h b/generator/pamtris/input.h new file mode 100644 index 00000000..d34de3a1 --- /dev/null +++ b/generator/pamtris/input.h @@ -0,0 +1,27 @@ +#ifndef INPUT_H_INCLUDED +#define INPUT_H_INCLUDED + +#include <stdint.h> + +struct boundary_info; +struct framebuffer_info; + +typedef struct { + char * buffer; + size_t length; + uint64_t number; +} Input; + +void +input_init(Input * const inputP); + +void +input_term(Input * const inputP); + +void +input_process_next_command(Input * const inputP, + struct boundary_info * const bdiP, + struct framebuffer_info * const fbiP, + bool * const noMoreCommandsP); + +#endif |