Changeset e273e9e in mainline for uspace/app/terminal/terminal.h


Ignore:
Timestamp:
2024-10-03T18:48:48Z (8 days ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
5132379
Parents:
b2c9e42c
Message:

Move link out of cons_event_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/terminal/terminal.h

    rb2c9e42c re273e9e  
    11/*
    2  * Copyright (c) 2023 Jiri Svoboda
     2 * Copyright (c) 2024 Jiri Svoboda
    33 * Copyright (c) 2012 Petr Koupy
    44 * All rights reserved.
     
    4646#include <gfx/coord.h>
    4747#include <io/con_srv.h>
     48#include <io/cons_event.h>
    4849#include <loc.h>
    4950#include <stdatomic.h>
     
    102103} terminal_t;
    103104
     105/** Terminal event */
     106typedef struct {
     107        /** Link to list of events */
     108        link_t link;
     109        /** Console event */
     110        cons_event_t ev;
     111} terminal_event_t;
     112
    104113extern errno_t terminal_create(const char *, sysarg_t, sysarg_t,
    105114    terminal_flags_t, const char *, terminal_t **);
Note: See TracChangeset for help on using the changeset viewer.