Changeset ebb1489 in mainline for uspace/srv/hid/remcons/remcons.h


Ignore:
Timestamp:
2024-10-13T08:23:40Z (2 months ago)
Author:
GitHub <noreply@…>
Children:
0472cf17
Parents:
2a0c827c (diff), b3b79981 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
boba-buba <120932204+boba-buba@…> (2024-10-13 08:23:40)
git-committer:
GitHub <noreply@…> (2024-10-13 08:23:40)
Message:

Merge branch 'HelenOS:master' into topic/packet-capture

File:
1 edited

Legend:

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

    r2a0c827c rebb1489  
    11/*
     2 * Copyright (c) 2024 Jiri Svoboda
    23 * Copyright (c) 2012 Vojtech Horky
    34 * All rights reserved.
     
    3637#define REMCONS_H_
    3738
     39#include <adt/list.h>
     40#include <io/cons_event.h>
     41#include <stdbool.h>
     42#include <vt/vt100.h>
     43#include "user.h"
     44
    3845#define NAME       "remcons"
    3946#define NAMESPACE  "term"
     47
     48/** Remote console */
     49typedef struct {
     50        telnet_user_t *user;    /**< telnet user */
     51        vt100_t *vt;            /**< virtual terminal driver */
     52        bool enable_ctl;        /**< enable escape control sequences */
     53        bool enable_rgb;        /**< enable RGB color setting */
     54        sysarg_t ucols;         /**< number of columns in user buffer */
     55        sysarg_t urows;         /**< number of rows in user buffer */
     56        charfield_t *ubuf;      /**< user buffer */
     57        bool curs_visible;      /**< cursor is visible */
     58
     59        /** List of remcons_event_t. */
     60        list_t in_events;
     61} remcons_t;
     62
     63/** Remote console event */
     64typedef struct {
     65        link_t link;            /**< link to list of events */
     66        cons_event_t cev;       /**< console event */
     67} remcons_event_t;
    4068
    4169#endif
Note: See TracChangeset for help on using the changeset viewer.