Changeset 424cd43 in mainline for uspace/srv/console/gcons.h


Ignore:
Timestamp:
2009-06-03T18:39:12Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8dc12ac
Parents:
b0a91acb
Message:

console server rewrite: use VFS_READ/VFS_WRITE for generic I/O, register separate virtual consoles using device mapper

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/console/gcons.h

    rb0a91acb r424cd43  
    3333 */
    3434
    35 #ifndef _GCONS_H_
    36 #define _GCONS_H_
     35#ifndef GCONS_H_
     36#define GCONS_H_
     37
     38#include <sys/types.h>
    3739
    3840void gcons_init(int phone);
     41
    3942void gcons_redraw_console(void);
    40 void gcons_change_console(int consnum);
    41 void gcons_notify_char(int consnum);
     43void gcons_change_console(size_t index);
     44void gcons_notify_char(size_t index);
    4245void gcons_in_kernel(void);
    43 void gcons_notify_connect(int consnum);
    44 void gcons_notify_disconnect(int consnum);
    45 void gcons_mouse_move(int dx, int dy);
    46 int gcons_mouse_btn(int state);
     46
     47void gcons_notify_connect(size_t index);
     48void gcons_notify_disconnect(size_t index);
     49
     50void gcons_mouse_move(ssize_t dx, ssize_t dy);
     51int gcons_mouse_btn(bool state);
    4752
    4853#endif
Note: See TracChangeset for help on using the changeset viewer.