libbarrelfish: Adjust libbarrelfish to new terminal API and remove old API.
[barrelfish] / include / barrelfish / terminal.h
1 /**
2  * \file
3  * \brief Terminal emulator.
4  */
5
6 /*
7  * Copyright (c) 2007, 2008, 2012, ETH Zurich.
8  * All rights reserved.
9  *
10  * This file is distributed under the terms in the attached LICENSE file.
11  * If you do not find this file, copies can be found by writing to:
12  * ETH Zurich D-INFK, CAB F.78, Universitaetstr. 6, CH-8092 Zurich,
13  * Attn: Systems Group.
14  */
15
16 #ifndef BARRELFISH_TERMINAL_H
17 #define BARRELFISH_TERMINAL_H
18
19 #include <sys/cdefs.h>
20
21 __BEGIN_DECLS
22
23 size_t terminal_write(const char *data, size_t length);
24 size_t terminal_read(char *data, size_t count);
25
26 errval_t terminal_init(void);
27 void terminal_exit(void);
28
29 __END_DECLS
30
31 #endif // BARRELFISH_TERMINAL_H