Subversion Repositories HelenOS

Rev

Rev 4347 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4347 Rev 4348
Line 25... Line 25...
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
29
/** @addtogroup libc
29
/** @addtogroup libc
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 */
33
 */
34
 
34
 
35
#ifndef LIBC_CONSOLE_H_
35
#ifndef LIBC_CONSOLE_H_
36
#define LIBC_CONSOLE_H_
36
#define LIBC_CONSOLE_H_
37
 
37
 
38
#include <console/style.h>
38
#include <console/style.h>
39
#include <console/color.h>
39
#include <console/color.h>
-
 
40
#include <sys/types.h>
40
#include <bool.h>
41
#include <bool.h>
41
 
42
 
42
extern void console_open(bool);
43
extern int console_open(bool);
43
extern void console_close(void);
44
extern void console_close(void);
44
 
-
 
45
extern int console_phone_get(bool);
-
 
46
extern void console_wait(void);
45
extern void console_wait(void);
47
 
46
 
48
extern void console_clear(void);
47
extern void console_clear(void);
49
extern void console_goto(int, int);
48
extern void console_goto(int, int);
50
extern void console_putchar(int);
49
extern void console_putchar(wchar_t);
51
extern ssize_t console_write(const char *buf, size_t nbyte);
50
extern ssize_t console_write(const char *, size_t);
52
extern void console_putstr(const char *s);
51
extern void console_putstr(const char *);
53
extern void console_flush(void);
52
extern void console_flush(void);
54
 
53
 
55
extern int console_get_size(int *, int *);
54
extern int console_get_size(int *, int *);
56
extern void console_set_style(int);
55
extern void console_set_style(int);
57
extern void console_set_color(int, int, int);
56
extern void console_set_color(int, int, int);
Line 59... Line 58...
59
extern void console_cursor_visibility(int);
58
extern void console_cursor_visibility(int);
60
 
59
 
61
extern void console_kcon_enable(void);
60
extern void console_kcon_enable(void);
62
 
61
 
63
#endif
62
#endif
64
 
63
 
65
/** @}
64
/** @}
66
 */
65
 */