Changeset c23a1fe in mainline for uspace/srv/hid/remcons/user.h


Ignore:
Timestamp:
2024-09-26T22:24:43Z (2 weeks ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
89e5c0c7
Parents:
09f41d3
Message:

Remote console mapping

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/remcons/user.h

    r09f41d3 rc23a1fe  
    4444
    4545#define BUFFER_SIZE 32
     46#define SEND_BUF_SIZE 512
    4647
    4748/** Representation of a connected (human) user. */
     
    6768        size_t socket_buffer_len;
    6869        size_t socket_buffer_pos;
     70        char send_buf[SEND_BUF_SIZE];
     71        size_t send_buf_used;
    6972
    7073        /** Task id of the launched application. */
     
    8184        /** Y position of the cursor. */
    8285        int cursor_y;
     86        /** Total number of columns */
     87        unsigned cols;
    8388        /** Total number of rows */
    84         int rows;
     89        unsigned rows;
    8590} telnet_user_t;
    8691
     
    9398extern errno_t telnet_user_get_next_keyboard_event(telnet_user_t *, kbd_event_t *);
    9499extern errno_t telnet_user_send_data(telnet_user_t *, const char *, size_t);
     100extern errno_t telnet_user_flush(telnet_user_t *);
    95101extern errno_t telnet_user_recv(telnet_user_t *, void *, size_t, size_t *);
    96102extern void telnet_user_update_cursor_x(telnet_user_t *, int);
Note: See TracChangeset for help on using the changeset viewer.