Subversion Repositories HelenOS

Rev

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

Rev 4201 Rev 4296
Line 35... Line 35...
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 void console_open(bool);
43
extern void console_close(void);
44
extern void console_close(void);
44
 
45
 
45
extern int console_phone_get(bool);
46
extern int console_phone_get(bool);
46
extern void console_wait(void);
47
extern void console_wait(void);
47
 
48
 
48
extern void console_clear(void);
49
extern void console_clear(void);
49
extern void console_goto(int, int);
50
extern void console_goto(int, int);
50
extern void console_putchar(int);
51
extern void console_putchar(wchar_t);
51
extern ssize_t console_write(const char *buf, size_t nbyte);
52
extern ssize_t console_write(const char *buf, size_t nbyte);
52
extern void console_putstr(const char *s);
53
extern void console_putstr(const char *s);
53
extern void console_flush(void);
54
extern void console_flush(void);
-
 
55
extern void console_flush_optional(void);
54
 
56
 
55
extern int console_get_size(int *, int *);
57
extern int console_get_size(int *, int *);
56
extern void console_set_style(int);
58
extern void console_set_style(int);
57
extern void console_set_color(int, int, int);
59
extern void console_set_color(int, int, int);
58
extern void console_set_rgb_color(int, int);
60
extern void console_set_rgb_color(int, int);