summaryrefslogtreecommitdiff
path: root/src/io.h
blob: c774b6ad802f958808c9f2b899c78e537af6998d (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 cmumble_context;

int
cmumble_io_init(struct cmumble_context *ctx);

int
cmumble_io_fini(struct cmumble_context *ctx);

#endif /* _IO_H_ */