diff options
Diffstat (limited to 'src/io.h')
-rw-r--r-- | src/io.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/io.h b/src/io.h new file mode 100644 index 0000000..2f48df7 --- /dev/null +++ b/src/io.h @@ -0,0 +1,21 @@ +#ifndef _IO_H_ +#define _IO_H_ + +#include <glib.h> +#include <termios.h> + +struct cmumble_io { + GIOChannel *input_channel; + + struct termios term; +}; + +struct context; + +int +cmumble_io_init(struct context *ctx); + +int +cmumble_io_fini(struct context *ctx); + +#endif /* _IO_H_ */ |