Changeset d31c3ea in mainline for uspace/srv/hid/output/ctl/serial.h


Ignore:
Timestamp:
2024-10-01T11:13:28Z (9 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
6907f26
Parents:
357d9dd
git-author:
Jiri Svoboda <jiri@…> (2024-09-30 19:13:18)
git-committer:
Jiri Svoboda <jiri@…> (2024-10-01 11:13:28)
Message:

Group vt callbacks into a callback structure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/output/ctl/serial.h

    r357d9dd rd31c3ea  
    3838#include <vt/vt100.h>
    3939
    40 extern errno_t serial_init(vt100_putuchar_t, vt100_control_puts_t, vt100_flush_t);
     40typedef void (*serial_putuchar_t)(char32_t);
     41typedef void (*serial_control_puts_t)(const char *);
     42typedef void (*serial_flush_t)(void);
     43
     44extern errno_t serial_init(serial_putuchar_t, serial_control_puts_t,
     45    serial_flush_t);
    4146
    4247#endif
Note: See TracChangeset for help on using the changeset viewer.