1 |
/* cons.h - Definitions for cons helper and callback functions. |
/* cons.h - Definitions for cons helper and callback functions. |
2 |
Copyright (C) 2002 Free Software Foundation, Inc. |
Copyright (C) 2002, 2003 Free Software Foundation, Inc. |
3 |
Written by Marcus Brinkmann. |
Written by Marcus Brinkmann. |
4 |
|
|
5 |
This file is part of the GNU Hurd. |
This file is part of the GNU Hurd. |
231 |
VCONS. */ |
VCONS. */ |
232 |
error_t cons_vcons_input (vcons_t vcons, char *buf, size_t size); |
error_t cons_vcons_input (vcons_t vcons, char *buf, size_t size); |
233 |
|
|
234 |
|
/* The user must define this function. Clear the existing screen |
235 |
|
matrix and set the size of the screen matrix to the dimension COL x |
236 |
|
ROW. This call will be immediately followed by a call to |
237 |
|
cons_vcons_write that covers the whole new screen matrix. */ |
238 |
|
error_t cons_vcons_set_dimension (vcons_t vcons, |
239 |
|
uint32_t col, uint32_t row); |
240 |
|
); |
241 |
|
|
242 |
typedef enum |
typedef enum |
243 |
{ |
{ |
244 |
CONS_SCROLL_DELTA_LINES, CONS_SCROLL_DELTA_SCREENS, |
CONS_SCROLL_DELTA_LINES, CONS_SCROLL_DELTA_SCREENS, |