summaryrefslogtreecommitdiff
path: root/src/io.h
blob: 2f48df702a620a7040329b2f7764e7ed867a3467 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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_ */