12345678910111213141516171819202122 |
- #ifndef __IO_H__
- #define __IO_H__
- #include <stdio.h>
- #include <stdbool.h>
- typedef enum invocation_type {
- SCRIPTED = 0,
- PIPE
- } invocation_type;
- struct arguments {
- invocation_type mode;
- FILE *ist;
- };
- void getline_wrapper(struct arguments *args);
- void no_read(struct arguments *args);
- extern bool break_print_loop;
- void sigint_handler(int sig);
- #endif // __IO_H__
|