Changeset bbc6277 in mainline for uspace/srv/hid/output/proto/vt100.h


Ignore:
Timestamp:
2017-11-30T17:00:09Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b5abaf7
Parents:
7f345cd0
Message:

Chardev output needs buffering.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/output/proto/vt100.h

    r7f345cd0 rbbc6277  
    3737typedef void (* vt100_putchar_t)(wchar_t ch);
    3838typedef void (* vt100_control_puts_t)(const char *str);
     39typedef void (* vt100_flush_t)(void);
    3940
    4041typedef struct {
     
    4849        vt100_putchar_t putchar;
    4950        vt100_control_puts_t control_puts;
     51        vt100_flush_t flush;
    5052} vt100_state_t;
    5153
    5254extern vt100_state_t *vt100_state_create(sysarg_t, sysarg_t, vt100_putchar_t,
    53     vt100_control_puts_t);
     55    vt100_control_puts_t, vt100_flush_t);
    5456extern void vt100_state_destroy(vt100_state_t *);
    5557
     
    6264extern void vt100_cursor_visibility(vt100_state_t *, bool);
    6365extern void vt100_putchar(vt100_state_t *, wchar_t);
     66extern void vt100_flush(vt100_state_t *);
    6467
    6568#endif
Note: See TracChangeset for help on using the changeset viewer.