]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/l4con/server/src/srv.h
Update
[l4.git] / l4 / pkg / l4con / server / src / srv.h
1 /**
2  * \file
3  * \brief       header file
4  *
5  * \date        Oct 2008
6  * \author      Adam Lackorzynski <adam@os.inf.tu-dresden.de>
7  */
8 /*
9  * (c) 2008-2009 Author(s)
10  *     economic rights: Technische Universität Dresden (Germany)
11  *
12  * This file is part of TUD:OS and distributed under the terms of the
13  * GNU General Public License 2.
14  * Please see the COPYING-GPL-2 file for details.
15  */
16
17 #pragma once
18
19 EXTERN_C_BEGIN
20
21 #include <l4/input/libinput.h>
22
23 int server_loop(void);
24
25 long con_if_open_component(short vfbmode);
26 long con_vc_direct_update_component(struct l4con_vc *vc,
27                                     const l4con_pslim_rect_t *rect);
28 long con_vc_close_component(struct l4con_vc *vc);
29 long
30 con_vc_pslim_fill_component(struct l4con_vc *vc,
31                             const l4con_pslim_rect_t *rect,
32                             l4con_pslim_color_t color);
33
34 long
35 con_vc_pslim_copy_component(struct l4con_vc *vc,
36                             const l4con_pslim_rect_t *rect,
37                             l4_int16_t dx, l4_int16_t dy);
38
39 long
40 con_vc_puts_component(struct l4con_vc *vc,
41                       const char *s,
42                       int len,
43                       short x,
44                       short y,
45                       l4con_pslim_color_t fg_color,
46                       l4con_pslim_color_t bg_color);
47 long
48 con_vc_puts_scale_component(struct l4con_vc *vc,
49                             const char *s,
50                             int len,
51                             short x,
52                             short y,
53                             l4con_pslim_color_t fg_color,
54                             l4con_pslim_color_t bg_color,
55                             short scale_x,
56                             short scale_y);
57
58 void fill_out_info(struct l4con_vc *vc);
59 void create_event(struct l4con_vc *vc);
60
61 void send_event_client(struct l4con_vc *vc, struct l4input *ev);
62
63 void periodic_work(void);
64
65 EXTERN_C_END